Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
5.1.0.4, 5.1.0.5
-
None
Description
Element.attribute(String name, String value) passes null to Element.attribute(String namespace, String name, String value). The attribute stores the empty string for elements in the global namespace so there is never a match, and thus the new attribute is appended to the chain.
Perhaps there should be a Document.GLOBAL_NAMESPACE_URI constant?
Attachments
Issue Links
- relates to
-
TAP5-708 Element.forceAttribute uses the element's namespace to match the attribute.
- Resolved