-
Notifications
You must be signed in to change notification settings - Fork 69
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
Issue with bare axis names (XPath 1.0) #54
Comments
@achernavin22 please supply yang spec (or part of it - is that ietf-ipsec@2016-03-09.yang?) and preferably action leading to the error? (eg a configuration or cli commands). |
YANG spec:
Can be reproduced having this in your clispec file (try to TAB or execute the command):
|
Confirmed: "If you have a node in your scheme that has a name of one of the axes, it leads to an invalid path." |
This is fixed for axis-names. However, I think there may be other corner-cases since https://www.w3.org/TR/xpath-10 is somewhat tricky in this respect. |
If you have a node in your scheme that has a name of one of
the axes, it leads to an invalid path. For instance, for the
child
axis:Sorry, I don't have the exact error now but it was something like this:
At the same time, this path is considered as valid:
Both "child" and "proposals" are lists.
The text was updated successfully, but these errors were encountered: