-
Bug
-
Resolution: Unresolved
-
P3
-
8
W3 specs states that empty strings can not be used as a namespace names [1], but Element.setAttributeNS() wrongly allows it.
org.w3c.org.Element#setAttributeNS should honor this requirement by throwing NAMESPACE_ERR DomException [2]
[1] https://www.w3.org/TR/xml-names/#iri-use
[2] https://docs.oracle.com/javase/8/docs/api/org/w3c/dom/Element.html#setAttributeNS-java.lang.String-java.lang.String-java.lang.String-
org.w3c.org.Element#setAttributeNS should honor this requirement by throwing NAMESPACE_ERR DomException [2]
[1] https://www.w3.org/TR/xml-names/#iri-use
[2] https://docs.oracle.com/javase/8/docs/api/org/w3c/dom/Element.html#setAttributeNS-java.lang.String-java.lang.String-java.lang.String-