Bug #3048
closed![Author: Michael Kay](https://www.gravatar.com/avatar/db6526d63053f09b62e52c2da8b2230a?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
![Assignee: Michael Kay](https://www.gravatar.com/avatar/db6526d63053f09b62e52c2da8b2230a?rating=PG&size=22&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
NodeOverNodeInfo 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 over 7 years ago
Unit tests nativetests/TestXQueryDOM/testNamespaceUndeclaration(10|11) added.
Updated by O'Neil Delpratt over 7 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 about 7 years ago
- Fix Committed on Branch trunk added
- Fix Committed on Branch deleted (
9.8)
Please register to edit this issue