OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] Namespaces 1.1

[ Lists Home | Date Index | Thread Index ]


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)?


<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760

> -----Original Message-----
> From: Richard Tobin [mailto:richard@cogsci.ed.ac.uk]
> Sent: Thursday, September 26, 2002 6:15 PM
> To: xml-dev@lists.xml.org
> Subject: [xml-dev] 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>

  • References:


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS