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
Cannot get child using XPATH #414
Comments
I have recreated the problem. |
The two cases above:
The two cases are quite different, where (1) is in fact a bug, while (2) follows RFC6241 Issue (1) is a larger issue that requires some restructuring of the xmldb code + default values and is not an easy fix.
Issue (2), RFC 6241 Section 8.9.1 says:
which clixon interprets as YANG keys must be included "to identify the subtree". |
@olofhagsand may I ask you what is the status of the fix for this? |
The refactoring necessary for this was initially planned for 6.2, but has now been pushed to 6.3. Refactoring of netconf input code was made before. |
@olofhagsand Can I inquire about the status of the fix? It was scheduled for 6.3, but from what I can observe, it was not incorporated into the release. |
Hm, it says it is fixed, and there is a patch, changelog entry and
testcases.
But it is not closed, which it should be (I will close it).
Do you see it not fixed in some way?
--Olof
…On 2023-07-30 17:44, Dmitry Grinberg wrote:
@olofhagsand <https://github.com/olofhagsand> Can I inquire about the
status of the fix? It was scheduled for 6.3, but from what I can
observe, it was not incorporated into the release.
—
Reply to this email directly, view it on GitHub
<#414 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGD65IS2CPOUPXU4GDK3HDXSZ6NHANCNFSM6AAAAAAUMZHE7A>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
This bug prevents us from merging #415. |
@dima1308 @olofhagsand Looks like this bug has not been fixed (#415 fails still, due to this bug) |
@dima1308 @shmuelhazan . On closer inspection, this refers to a refactoring that has not been made yet. Thus issue (1) above still remains and is not fixed. |
When I execute the following query:
I get the following response:
Now, I'm only trying to get a list of interface names using the following query:
I got the expected result:
Next, I am trying to get interfaces with
alias='myeth2'
:I received the following result, as expected (we have one interface matching the condition):
And now, I'm trying to get only the name of the interface matching the same condition as above:
I got an empty response - which is not expected since the previous query returns one record matching the condition:
if I change the query as shown below, I got both values:
name
andalias
in the response:The request:
The response:
In this case, I expect to get output that will only include
alias
We use CLIXON from Jan 20, 2023, hash: b3dcee9
To summarize, I saw two issues:
Please see attached yang models we use: yang.zip
The text was updated successfully, but these errors were encountered: