W3C home > Mailing lists > Public > www-xml-xinclude-comments@w3.org > May 2004

Syntactically incorrect IRIs in href attributes

From: Elliotte Rusty Harold <elharo@metalab.unc.edu>
Date: Sat, 15 May 2004 10:28:36 -0400
Message-Id: <p06010211bccbd8724643@[]>
To: www-xml-xinclude-comments@w3.org

I wish there were a publicly accessible issues list/bug database, 
because I could swear I've raised this before; but looking through 
the archives I don't find it.

What should a processor do in the case where the href attribute 
contains a string which is not a legal IRI reference? For instance, 
it includes bad hexadecimal escape sequences?

In particular is this a resource error or a fatal error? I don't find 
any language in the current CR that's clearly on point. I suspect 
this is covered under:

Resources that are unavailable for any reason (for example the 
resource doesn't exist, connection difficulties or security 
restrictions prevent it from being fetched, the URI scheme isn't a 
fetchable one, the resource is in an unsupported encoding, or the 
resource is determined through implementation-specific mechanisms not 
to be XML) result in a resource error. Resources that contain 
non-well-formed XML result in a fatal error.

But I'm not sure. Clarification in the spec would be useful.

Consistency with XPointer syntax errors, which are recognized as 
resource errors, also suggests these should be resource errors.

   Elliotte Rusty Harold
   Effective XML (Addison-Wesley, 2003)
Received on Saturday, 15 May 2004 10:34:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:58:57 UTC