DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9325>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9325

Please add accessors to sax2 parser and xml scanner classes





------- Additional Comments From [EMAIL PROTECTED]  2002-11-13 19:25 -------
These are good points. I would definately prefer not having to access
something as low-level as the Scanner.

Getting the grammar was one issue, so I'm glad there are better API's
for that.

The other thing that I had begun working on was using a SAX parser to
grab the underlying byte offsets for various events, so that I could
cache offsets into a large file and only retrieve data when I needed
it. To get the offsets I was doing something like:

  parser->getScanner->getSrcOffset();

This is not required by any means, but I believed it would be a
powerful technique for handling some of the very large XML files that
we're dealing with (>500Mb).

So if we could have an interface that would enable accessing this type of info
during SAX events, that would be awesome.

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

Reply via email to