QName data type: default namespace

In Schema Part 2 section 3.2.18, it is clear that the lexical space of QName
allows the prefix to be omitted. But it isn't clear what this means in terms
of the mapping to the value space. It's not really clear that the value
space allows names that are in no namespace; and even if it were clear, it's
not stated whether a lexical QName containing no prefix should be regarded
as being in the default namespace or in no namespace.

(In XSLT, a QName-valued attribute with no prefix is considered to represent
a name that is in no namespace. In XML Schema, however, the rules appear to
be context-dependent.)

Michael Kay

Received on Wednesday, 17 July 2002 08:55:01 UTC