logo       

Re: [XNI CHANGE PROPOSAL] XMLParseException changes and creation of XMLLoca: msg#00045

text.xml.xerces-j.devel

Subject: Re: [XNI CHANGE PROPOSAL] XMLParseException changes and creation of XMLLocator2

Michael Glavassevich wrote:
Here's a summary of the changes we've discussed:

1) Add a getCharacterOffset method to XMLLocator which returns the character offset for the current entity.

What does you return if the implementation does not support
reporting of the character offset?

2) Add a getVersion method to XMLLocator which returns the XML version of the current entity.

Why not "getXMLVersion" to match SAX2?

3) Add a getCharacterOffset method to XMLParseException to expose the offset from the XMLLocator.

Just curious: you are exposing the XML version through the
XMLLocator but *not* from the parse exception? I'm not in
favor of adding it; I was just curious.

If people are comfortable with these changes, I'll make the updates in CVS.

Seems fine to me.

--
Andy Clark * andyc@xxxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise