- From: Boris Kolpackov <boris@codesynthesis.com>
- Date: Fri, 31 Aug 2007 08:32:38 +0200
- To: Rich Adili <Rich.Adili@xata.com>
- Cc: xmlschema-dev@w3.org
Hi Rich,
Rich Adili <Rich.Adili@xata.com> writes:
> <xs:schema xmlns=""...
>
> Is this legal? What are the implications of using an empty string?
Yes, this is legal. This construct "unbinds" the default namespace-
prefix association. It does not make much sense in the root element
of an XML document thought. But something like this makes perfect
sense:
<foo xmlns="foons"> <!-- now all unqualified elements are in foons -->
<bar xmlns="">
<baz/> <!-- baz is not in a namespace -->
</bar>
</foo>
Boris
--
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding
Received on Friday, 31 August 2007 06:38:03 UTC