xerces-j2/xerces-J2-2.11.0-java-1.7.patch

20 lines
716 B
Diff
Raw Permalink Normal View History

diff -Nru xerces-2_11_0.orig/src/org/apache/html/dom/HTMLElementImpl.java xerces-2_11_0/src/org/apache/html/dom/HTMLElementImpl.java
--- xerces-2_11_0.orig/src/org/apache/html/dom/HTMLElementImpl.java 2010-11-26 21:42:05.000000000 +0100
+++ xerces-2_11_0/src/org/apache/html/dom/HTMLElementImpl.java 2014-03-18 15:37:06.282434134 +0100
@@ -20,6 +20,7 @@
import org.apache.xerces.dom.ElementImpl;
import org.w3c.dom.Attr;
+import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.w3c.dom.html.HTMLElement;
@@ -254,4 +255,7 @@
return null;
}
+ public Document getContentDocument() {
+ throw new UnsupportedOperationException();
+ }
}