XML Namespaces and Unprefixed Attributes

The normal interpretation used by XPath and other specs is that an unprefixed attribute is in no namespace.

There are language lawyers who will insist that the namespaces spec doesn’t say that. It says that an unprefixed attribute is in whatever namespace the designer of the vocabulary says it is in. But this interpretation isn’t very useful in practice; it’s what the tools do that matters.

Leave a Comment