You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2004/03/17 17:15:49 UTC

DO NOT REPLY [Bug 9325] - Please add accessors to sax2 parser and xml scanner classes

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.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://issues.apache.org/bugzilla/show_bug.cgi?id=9325

Please add accessors to sax2 parser and xml scanner classes





------- Additional Comments From warnock@awcubed.com  2004-03-17 16:15 -------
I concur with the idea that either getScanner() or some similar method ought to
be publically accessible.  In my experience, access to the byte offsets within
the document is crucial for implementing some search algorithms.  While it is
possible to build lists of pointers by manually processing the document stream
without parsing the XML, other constraints would make it necessary then to
perform the parse twice - once for the byte pointers, once to utilize Xerces for
the element context.  That imposes a serious burden on performance that is
relatively easily resolved with public access to the scanner.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org