[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Namespaces 1.1
Richard, thanks for mentioning it. Looking at it -- I'm not convinced that allowing IRI references is a good idea. There is existing code out there that assumes that every namespace name in an XML document can be represented as a URI. With a IRI containing non-ASCII characters, this is not true anymore. Translating to a URI will not work because - namespace identity is defined on a char-by-char basis, so the resulting URI does *not* identify the same namespace and - for a recipient of a "down-transformed" IRI there's no way to know it originally used IRI syntax (so there'll be problems round-tripping them). This is *not* an academic argument -- our WebDAV server implementation relies on the fact that WebDAV properties are identified by URIs, and will reject those which do not conform to the URI syntax. So when at some point of time the WebDAV WG will have to decide about what do to with XML 1.1, it may have to restrict the set a legal namespace names to URIs. To satisfy I18N requirements (which I *do* understand), wouldn't it make more sense to state that the characters in a namespace URI, when un-escaped, SHOULD map to valid UTF-8 octet sequences (possibly normalized)? Julian -- <green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760 > -----Original Message----- > From: Richard Tobin [mailto:richard@c...] > Sent: Thursday, September 26, 2002 6:15 PM > To: xml-dev@l... > Subject: Namespaces 1.1 > > > Just a reminder that the Namespaces in XML 1.1 last call period ends on > Saturday. The last call draft (version with changes highlighted) is at > > > http://www.w3.org/TR/2002/WD-xml-names11-20020905/WD-xml-names11-2 > 0020905-diff.html > > The only significant changes relative to 1.0+errata are prefix > undeclaring and IRIs instead of URIs. > > -- Richard > > ----------------------------------------------------------------- > The xml-dev list is sponsored by XML.org <http://www.xml.org>, an > initiative of OASIS <http://www.oasis-open.org> > > The list archives are at http://lists.xml.org/archives/xml-dev/ > > To subscribe or unsubscribe from this list use the subscription > manager: <http://lists.xml.org/ob/adm.pl> >
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|