- From: Michael Kay <mike@saxonica.com>
- Date: Mon, 3 Apr 2006 13:10:11 +0100
- To: "'Bryan Rasmussen'" <BRS@itst.dk>, <xmlschema-dev@w3.org>
No, because form=qualified means "in the target namespace if there is one, or in the non-namespace if there isn't". The schema spec (like XSLT) generally treats the set-of-names-in-no-namespace in the same way as a namespace, despite the perverse insistence of the Namespaces Rec that this set of names is not a namespace at all. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: xmlschema-dev-request@w3.org > [mailto:xmlschema-dev-request@w3.org] On Behalf Of Bryan Rasmussen > Sent: 03 April 2006 12:27 > To: xmlschema-dev@w3.org > Subject: no targetNamespace, elementFormDefault qualified > > > Hi, > > Given that "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" thus there is no namespace > to make up the > namespace part of the QName if one has a blank namespace, > shouldn't a schema > with no targetNamespace and a declaration of > elementFormDefault qualified > raise errors? I'm asking because I just encountered a schema with this > structure, and it bugs me. > > > Cheers, > Bryan > >
Received on Monday, 3 April 2006 12:10:27 UTC