Actions
Bug #5756
closedSaplingElement has incorrect NamespaceMap, resulting in spurious `xmlns=""`
Start date:
2022-12-06
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
10, 11, trunk
Fix Committed on Branch:
10, 11, trunk
Description
When a SaplingElement
is created, with a no-namespace element name, it is given a NamespaceMap
containing the namespace binding xmlns=""
. As the documentation for class NamespaceMap
makes clear, the map should never contain any namespace undeclarations.
The consequence is that when the SaplingElement
is serialised, a spurious xmlns=""
may appear in the serialised output.
The SaplingElement
is used in the implementation of the sql:query extension instruction, and the bug manifests itself as incorrect output for test case sql-005.
Please register to edit this issue
Actions