W3C home > Mailing lists > Public > public-xml-id@w3.org > March 2006

Re: [XOM-interest] Non NCName IDs

From: Elliotte Harold <elharo@metalab.unc.edu>
Date: Mon, 20 Mar 2006 11:15:50 -0500
Message-ID: <441ED536.8090200@metalab.unc.edu>
To: Michael Kay <mike@saxonica.com>
CC: public-xml-id@w3.org, 'xom-interest' <xom-interest@lists.ibiblio.org>, 'Wolfgang Hoschek' <whoschek@lbl.gov>

Michael Kay wrote:

> A violation of the constraints in this specification results in an xml:id
> error. Such errors are not fatal, but should be reported by the xml:id
> processor. In the interest of interoperability, it is strongly recommended
> that xml:id errors not be silently ignored.
> 
> 
> So: it's clear as mud. The processor must "assure that" (assure whom?) the
> value is an NCName, and it mustn't fail if it isn't.
> 

Yes, this sort of non-fatal error is an especial pain for XOM because it 
has no non-fatal errors. The only thing it does to report an error is 
throw an exception. There's no ErrorHandler as in SAX, nor does XOM have 
any other means of talking to the end user.

-- 
´╗┐Elliotte Rusty Harold  elharo@metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
Received on Monday, 20 March 2006 16:16:00 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:53:50 UTC