Actions
Bug #3048
closedNodeOverNodeInfo interface exposes namespace undeclarations
Start date:
2016-11-28
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.7
Fix Committed on Branch:
9.7, trunk
Fixed in Maintenance Release:
Platforms:
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.
Please register to edit this issue
Actions