Bug #3048
closedNodeOverNodeInfo interface exposes namespace undeclarations
100%
Description
The NodeOverNodeInfo interface, which gives a DOM view of a Saxon XDM tree, exposes namespace undeclarations in the underlying tree (which occur very frequently especially in XQuery results, because of the way element constructors in XQuery work). DOM applications may be unable to cope with namespace undeclarations. It is probably best to exclude them except when XML1.1 is enabled in the Configuration.
A patch is being applied to DOMAttributeMap that excludes namespace undeclarations (specifically, bindings of a non-empty prefix to an empty uri) from the attributes returned for any element.
Updated by Michael Kay almost 8 years ago
Unit tests nativetests/TestXQueryDOM/testNamespaceUndeclaration(10|11) added.
Updated by O'Neil Delpratt almost 8 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in Maintenance Release 9.7.0.13 added
Bug fix applied in the Saxon 9.7.0.13 maintenance release.
Updated by O'Neil Delpratt over 7 years ago
- Fix Committed on Branch trunk added
- Fix Committed on Branch deleted (
9.8)
Please register to edit this issue