-
-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDF images and Windows paths #502
Comments
Why is life so complicated? :-) I'll take a look. |
Quick and dirty hack, replace colon with semicolon. So the problematic function would read:
It is a dirty workaround. With literally no time to consider other implications. Just in case it helps. |
I don't know how many users deploy the colon for image selection. This would break existing code, of course. Not sure how many people are using this feature. |
The colon syntax is no good. See #502
The syntax is now as in XTS (filename, optional page number, optional PDF box, optional unit) - no colons anymore. I'll close this issue and thank you as always for the valuable feedback! |
Many thanks for the new implemented syntax. |
@pgundlach,
this comes from #500, this XPath function is problematic in Windows:
I use drag and drop to a
.bat
file in Windows, which provides the full path for$pdfdoc
.It took me a while to realize that full paths in Windows include
:
, such as inc:\Users\name\Desktop\a.pdf
.So the previous XPath function complains about not being able to find image
C
.Sorry, but I don't know how to avoid the colon here. Using URI (either
file://
orhttps://
) would have the same problem.Could you take a look at this? (I wonder whether a syntax such as the one described in speedata/xts#10 (comment) would make sense here.)
Many thanks for your help.
The text was updated successfully, but these errors were encountered: