logo       

[XNI CHANGE PROPOSAL] XMLParseException changes and creation of XMLLocator2: msg#00028

text.xml.xerces-j.devel

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





Hey folks,

Just wanted to see what everyone thinks about a couple of changes in XNI
that
I am proposing:

1) As an extension of the org.apache.xerces.xni.XMLLocator interface,
XMLLocator2 interface
was created to expose character offset information (i.e. the character
location in the stream
being read). Since this interface extends an XNI interface, I would
like it to live in the
org.apache.xerces.xni package as well.

2) In order to propagate the offset information available (due to the above
change), I also want
to change the XMLParseException class (in org.apache.xerces.xni.parser
package) to contain
offset information.

I would like to know if there are any comments about these changes as well
as any
problems/issues that you see.

Thanks.

Ankit Pasricha
XML Parser Development
IBM Toronto Lab
8200 Warden Avenue, Ontario L6G 1C7
Phone: (905) 413 4941


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

News | FAQ | advertise