Re: [XOM-interest] Non NCName IDs

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