-
Notifications
You must be signed in to change notification settings - Fork 0
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
Doesn’t distinguish PathExpr from PrimaryExpr #3
Comments
I think the heart of the problem is that XIA’s grammar starts at
This may be a major change ... |
Actually, to my huge surprise, I can simply change the The XPath 1.0 spec is so much shorter than the Ada LRM; but I suppose it shouldn’t be a surprise that there are deeply serious implications of apparently innocuous phrasings! |
Fixed in release 1.3.0. |
(quoting from XSLT Programmer’s Reference, Michael Kay, Wrox Press, 2000 page 387):
//section/para[1]
returns allpara
elements that are the firstpara
child of asection
parent.(//section/para)[1]
returns the first element in the document that is apara
child of asection
parent.XIA treats the first case as the second, and finds the second case syntactically incorrect.
The text was updated successfully, but these errors were encountered: