[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

SV: no targetNamespace, elementFormDefault qualified

From: Bryan Rasmussen <BRS@itst.dk>
Date: Tue, 4 Apr 2006 10:39:30 +0200
Message-ID: <A2DF252098C9AD4B9781453BE4C5422B562C63@excw2k301.koncern.local>
To: <lists@jeffrafter.com>
Cc: "Michael Kay" <mike@saxonica.com>, <xmlschema-dev@w3.org>
xml elementformdefault qualified

Hmm, "" as an URI fragment would come out to be what? A same-document
reference? I guess what is being said then with an empty namespace is that
the namespace of the document is the document itself. The meaning of the
resource is contained within the resource, a hermetic namespace. 

Despite Hermeticism being deprecated I still find it a useful, or at least
interesting, concept.  

Cheers,
Bryan Rasmussen

-----Oprindelig meddelelse-----
Fra: Jeff Rafter [mailto:lists@jeffrafter.com]
Sendt: 3. april 2006 20:12
Til: Bryan Rasmussen
Cc: Michael Kay; xmlschema-dev@w3.org
Emne: Re: SV: no targetNamespace, elementFormDefault qualified


I think that (at least according to the NS rec) it is a real URI, but it 
is explicitly disallowed. What I mean by disallowed I don't know-- I 
don't remember if it is a conformance requirement or not.

errata NE09 http://www.w3.org/XML/xml-names-19990114-errata#NE09

Cheers,
Jeff Rafter

Bryan Rasmussen wrote:
> Well, it's also problematic because as an empty string it's not a real URI
is
> it, not even a relative URI. Oh well, it's not my schema, so I probably
> shouldn't worry. :)
> 
> Cheers,
> Bryan Rasmussen
> 
> -----Oprindelig meddelelse-----
> Fra: Michael Kay [mailto:mike@saxonica.com]
> Sendt: 3. april 2006 14:35
> Til: Bryan Rasmussen; xmlschema-dev@w3.org
> Emne: RE: no targetNamespace, elementFormDefault qualified
> 
> 
> 
>>Should there be an
>>xmlns:blank="" perhaps to actively qualify the non-namespace qualified
>>elements? 
> 
> 
> I've always thought it should be possible to assign a prefix to the
> non-namespace, but XML 1.1 instead decided to use the above syntax for a
> "namespace undeclaration": it causes the prefix "blank" to go out of scope
> entirely, so it can't be used for anything.
> 
> Michael Kay
> http://www.saxonica.com/
> 
> 
> 
> 
Received on Tuesday, 4 April 2006 08:41:05 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.