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(); + } }