Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Non NCName IDs

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: Michael Kay <mike AT saxonica.com>
  • Cc: 'xom-interest' <xom-interest AT lists.ibiblio.org>, 'Wolfgang Hoschek' <whoschek AT lbl.gov>, public-xml-id AT w3.org
  • Subject: Re: [XOM-interest] Non NCName IDs
  • Date: Mon, 20 Mar 2006 11:15:50 -0500

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 AT 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




Archive powered by MHonArc 2.6.24.

Top of Page