Skip to content
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

Parser error reported for computed element constructors in XPath steps #216

Open
willsthompson opened this issue Apr 19, 2017 · 0 comments
Labels

Comments

@willsthompson
Copy link

Direct element constructors are handled correctly in XPath expressions:

<a><x>test</x></a>/x/node()/<a>{ . }</a>

But an error is generated for equivalent expressions using computed element constructors, except for those at the beginning of an expression. Here, the first pair of nested element constructors are handled, but the one in the last step generates a parser error:

element a { element x { 'test' }}/x/node()/element a { . }
@ligasgr ligasgr added the bug label Nov 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants