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: John Cowan <cowan AT ccil.org>
  • To: Elliotte Harold <elharo AT metalab.unc.edu>
  • 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:26:12 -0500

Elliotte Harold scripsit:

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

If xml:id errors were marked "fatal", then *every* implementation would
have to treat them as fatal. However, there is nothing stopping XOM from
(a) treating the errors as fatal in every case, or (b) providing a switch
the user can set to "Ignore xml:id errors" or "Treat xml:id errors as
fatal", or (c) providing a hook such that elements with xml:id errors
are passed to the hook, or ....

--
Samuel Johnson on playing the violin: John Cowan
"Difficult do you call it, Sir? cowan AT ccil.org
I wish it were impossible." http://www.ccil.org/~cowan




Archive powered by MHonArc 2.6.24.

Top of Page