The problem with using the "locator" is that it only reports line+column info.  Byte 
offsets into the file would be more helpful for my purposes.

-ted

> 
> From: "Joseph Kesselman/CAM/Lotus" <[EMAIL PROTECTED]>
> Date: 2002/04/23 Tue AM 08:39:09 EDT
> To: [EMAIL PROTECTED]
> Subject: Re: how to access the raw text that generated a sax event
> 
> 
> Best suggestion I've got is to  use the SAX "locator" to find the relevant
> area of the document, then perform your own primitive parsing to extract a
> moderately meaningful chunk thereof....
> 
> ... but I suspect that's more work than simply using a single parser and
> routing its SAX events to the appropriate (possibly user-supplied)
> processor.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to