Description
The YANGTOOLS-960/YANGTOOLS-961 migration failed to separate out metadata from plain XML attributes, potentially polluting metadata.
A much cleaner solution is possible, though, by allowing yang-data-codec-xml exposing a specialized NormalizedNodeStreamWriterExtension, which will handle XML attributes in their native format – including namespace declaration, but omitting anything that matches a metadata annotation. Define the extension and implement in both in inbound and outbound directions.
Attachments
Issue Links
- blocks
-
NETCONF-856 Integrate message-id and other NETCONF attributes
-
- Confirmed
-
-
YANGTOOLS-981 Allow XML codec to operate in strict metadata mode
-
- Confirmed
-
- is duplicated by
-
YANGTOOLS-1527 Incorrect XML attribute namespace
-
- Resolved
-