Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node.namespaceURI should never be undefined #108

Open
micschro opened this issue Jan 12, 2015 · 0 comments
Open

node.namespaceURI should never be undefined #108

micschro opened this issue Jan 12, 2015 · 0 comments

Comments

@micschro
Copy link

It seems the namespaceURI property of attribute nodes that use the default namespace is always undefined.
The spec states that it should be null instead:

The namespace URI of this node, or null if it is unspecified.

http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-NodeNSname

This is a problem for us because it breaks our equals check for xml names (which compares the tagname and namespace).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant