neilg 2003/03/25 20:08:26 Modified: java/src/org/apache/xerces/xni XMLLocator.java Log: XNI change: add getEncoding(): String to XMLLocator interface as per list discussion Revision Changes Path 1.9 +10 -1 xml-xerces/java/src/org/apache/xerces/xni/XMLLocator.java Index: XMLLocator.java =================================================================== RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/xni/XMLLocator.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- XMLLocator.java 27 Jan 2003 18:31:16 -0000 1.8 +++ XMLLocator.java 26 Mar 2003 04:08:25 -0000 1.9 @@ -88,4 +88,13 @@ /** Returns the column number. */ public int getColumnNumber(); + /** Returns the encoding of the current entity. + * Note that, for a given entity, this value can only be + * considered final once the encoding declaration has been read (or once it + * has been determined that there is no such declaration) since, no encoding + * having been specified on the XMLInputSource, the parser + * will make an initial "guess" which could be in error. + */ + public String getEncoding(); + } // interface XMLLocator
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]