[pkg-java] r2763 - branches/nekohtml/feature/xerces-2.8-build-fix/src/html/org/cyberneko/html

Marcus Better marcusb-guest at alioth.debian.org
Thu Nov 16 10:10:42 CET 2006


Author: marcusb-guest
Date: 2006-11-16 10:10:42 +0100 (Thu, 16 Nov 2006)
New Revision: 2763

Modified:
   branches/nekohtml/feature/xerces-2.8-build-fix/src/html/org/cyberneko/html/HTMLScanner.java
Log:
Add stubs for missing methods (patch from NMU for #382995).


Modified: branches/nekohtml/feature/xerces-2.8-build-fix/src/html/org/cyberneko/html/HTMLScanner.java
===================================================================
--- branches/nekohtml/feature/xerces-2.8-build-fix/src/html/org/cyberneko/html/HTMLScanner.java	2006-11-16 09:06:58 UTC (rev 2762)
+++ branches/nekohtml/feature/xerces-2.8-build-fix/src/html/org/cyberneko/html/HTMLScanner.java	2006-11-16 09:10:42 UTC (rev 2763)
@@ -593,6 +593,16 @@
         return fCurrentEntity != null ? fCurrentEntity.columnNumber : -1; 
     } // getColumnNumber():int
 
+    /** Returns the XML version. */
+    public String getXMLVersion() { 
+        return "1.0";
+    } // getXMLVersion():String
+    
+    /** Returns the current character offset. */
+    public int getCharacterOffset() { 
+        return -1;
+    } // getCharacterOffset():int
+
     //
     // HTMLComponent methods
     //




More information about the pkg-java-commits mailing list