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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
