Skip to content

Sort RESTCONF payload tree before optimized XPath evaluation. Fixed issue 679#680

Closed
devibinoy wants to merge 1 commit into
clicon:masterfrom
devibinoy:restconf-patch-xpath-lookup-679
Closed

Sort RESTCONF payload tree before optimized XPath evaluation. Fixed issue 679#680
devibinoy wants to merge 1 commit into
clicon:masterfrom
devibinoy:restconf-patch-xpath-lookup-679

Conversation

@devibinoy

@devibinoy devibinoy commented Jun 22, 2026

Copy link
Copy Markdown

Optimized XPath lookup may operate on a freshly parsed PATCH payload before its children are sorted according to YANG ordering.

Sort the temporary payload tree before evaluating XPath expressions to ensure optimized list lookups work correctly.

@olofhagsand

Copy link
Copy Markdown
Member

Pushed a slight modification patch instead, including a regression test,
closing this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants