Skip to content

refactor(xml-codec): centralize recursive child deserialization - #51

Open
Deepya1502 wants to merge 2 commits into
yang-central:mainfrom
Deepya1502:work/xml-recursive-child-deserialization
Open

Deepya1502 wants to merge 2 commits into
yang-central:mainfrom
Deepya1502:work/xml-recursive-child-deserialization

Conversation

@Deepya1502

Copy link
Copy Markdown
Contributor

Summary

  • Move XML child traversal out of YangDataDocumentXmlCodec into a shared XML data-codec helper without creating a new document codec per container.
  • Preserve config filtering, anydata resolver propagation, and validation records while traversing nested containers and lists.
  • Extend nested-container tests to cover separate keyed-list entries and nested keyless-list entries.

This is independent of anydata strictness and follows up the XML recursion review on #50.

Validation

  • mvn -q -pl yangkit-data-xml-codec -am -Dtest=XmlCodecBasicTest,XmlCodecComprehensiveTest -Dsurefire.failIfNoSpecifiedTests=false test

Move recursive child traversal into the XML data codec helper while preserving document-level filtering, resolver propagation, and validation records. Cover nested containers in keyed and keyless list entries.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…lization

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant