Actions
Bug #5756
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)
SaplingElement 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