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

RE: Illegal Characters in Namespace URIs


webdav illegal characters
At 10:00 AM +0200 6/17/02, Julian Reschke wrote:

>Well, in this case we should care. I know of at least one XML application
>that *does* validate namespace names (Jim Clark's JING).
>

And I can add another. JDOM at least tries to do this, though 
currently that code is broken. And I'm working on a third myself, 
which is why I bumped across this.

I agree that URI conformance should be a requirement. I think it 
could probably be made so in Namespaces 1.1 without any great effort. 
The simplest way would be to add a namespace constraint specifying 
that the value of a namespace declaration attribute must be a legal 
RFC 2396 URI reference.

The question for me is whether this is a small enough and obvious 
enough change that it could plausibly be made an erratum to 1.0. A 
little to my surprise, Dare pointed out one major public case 
(WebDAV) where the actual namespace name was in fact not a URI 
reference.

Julian Reschke pointed out that there was a different loophole WebDAV 
could use, based on a future version of RFC 2396. Of course, the 
namespaces spec references 2396 only, not 2396 and its successors. :-(

Not that the namespaces errata are models of backwards compatibility 
and small changes, but I do prefer to be very conservative in what's 
classified as an erratum. I feel this change is just a little too big 
to be justified as an erratum. I think it needs to wait for 
Namespaces 1.1.

-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@m... | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|             http://www.cafeconleche.org/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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-2013 All Rights Reserved.