Hi,

I notice that the when the SAX parser encounters a character reference (in the form &xyz;) it puts the decoded character into a separate buffer, and this buffer is the one references in the "characters" method. My problem is that I need to know the exact character offset in the document when a fragment of text is found, and this behavior makes that impossible.

For example, if the document contains "”" at offset 103, then the "characters" method will tell me there is a double quotes character at position zero in the buffer, because it is in a separate buffer of it's own. I need to know that it was found at position 103!

Any suggestions as to how I could do this?

Thanks in advance!
-John



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

Reply via email to