Sophie

Sophie

distrib > Altlinux > 4.1 > i586 > by-pkgid > afba2c706929cdaebf2ca2957555ad3e > files > 2

nekohtml-0.9.5-alt1_4jpp1.7.src.rpm

--- src/html/org/cyberneko/html/HTMLScanner.java.sav	2005-06-19 06:04:02.000000000 +0200
+++ src/html/org/cyberneko/html/HTMLScanner.java	2005-10-11 07:46:06.000000000 +0200
@@ -558,6 +558,11 @@
     // XMLLocator methods
     //
 
+    /** Returns the xml version. */
+    public String getXMLVersion() {
+        return null;
+    } // getXMLVersion():String
+
     /** Returns the encoding. */
     public String getEncoding() {
         return fCurrentEntity != null ? fCurrentEntity.encoding : null;
@@ -584,6 +589,11 @@
     } // getExpandedSystemId():String
 
     /** Returns the current line number. */
+    public int getCharacterOffset() { 
+        return -1; 
+    } // getCharacterOffset():int
+
+    /** Returns the current line number. */
     public int getLineNumber() { 
         return fCurrentEntity != null ? fCurrentEntity.lineNumber : -1; 
     } // getLineNumber():int