> But is there anything in the namespace spec that says that the URL for a
> namespace cannot be empty? I didn't see anything that said that, which is
> why I provided a real URL for the global namespace to map to. Personally I
> think that they should have provided one, since its not true that they
> aren't in any namespace. They are in the global namespace, which is a well
> defined namespace that's treated as a separate entity.

>From the namespace spec:

A default namespace is considered to apply to the element where it is
declared (if that element has no namespace prefix), and to all elements with
no prefix within the content of that element. If the URI reference in a
default namespace declaration is empty, then unprefixed elements in the
scope of the declaration are not considered to be in any namespace. Note
that default namespaces do not apply directly to attributes.


There is no such thing as a global namespace. Any elements and attributes
that are not in a namespace should have a URI of "" (the zero length
string).

David Cleary
Progress Software


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to