--- src/com/thaiopensource/validate/xerces/ValidatorImpl.java.sav 2005-10-10 18:41:23.000000000 +0200 +++ src/com/thaiopensource/validate/xerces/ValidatorImpl.java 2005-10-10 18:42:26.000000000 +0200 @@ -287,6 +287,10 @@ return locator.getPublicId(); } + public String getXMLVersion() { + return null; + } + public String getEncoding() { return null; } @@ -311,6 +315,10 @@ return locator.getColumnNumber(); } + public int getCharacterOffset() { + return -1; + } + static SAXException toSAXException(XNIException e) { if (e instanceof XMLParseException) { XMLParseException pe = (XMLParseException)e;