Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Line number for element

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: "Frankpeter Lohse" <frape AT frapelo.de>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Line number for element
  • Date: Sat, 20 Aug 2005 11:34:32 +0200

On Fri, 19 Aug 2005 23:57:40 +0200, Elliotte Harold <elharo AT metalab.unc.edu> wrote:
Not in XOM. SAX provides that sometimes, though it's not reliable.

And again my 2 cents: better sometimes a line number to help the user to find the error location than never.

On Sat, 20 Aug 2005 09:30:29 +0200, Michael Kay <mike AT saxonica.com> wrote:
I rely on the SAX line number for error messages relating to stylesheets and schemas, and in my experience it's very reliable, though not as fine-grained as I would like - only one line number for the whole start tag.

Hey Eliotte, Michael seems to have other experience with with SAX line number!

I think line number support (even optional by passing the Locator into NodeFactory) would be a small but important step for XOM ... to make it perfect ;-)

Frape Lohse




Archive powered by MHonArc 2.6.24.

Top of Page