Details
-
Improvement
-
Status: Confirmed
-
Medium
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Our XML restreaming for anyxml nodes emits namespace declarations as they are encountered in the source. While this works, it can also lead to namespaces being emitted multiple times, as anyxml nodes are inherently emitted as in the context of a document - hence the namespace may already be properly bound.
Improve namespace declaration forwarding so that it does not emit a namespace declaration if the prefix is already properly bound.
Attachments
Gerrit Reviews
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 82248,10 | Do not re-emit namespaces | master | yangtools | Status: NEW | 0 | -1 |