BefatorNix/java/jaxen.patch
2025-09-17 23:24:29 +02:00

94 lines
2.9 KiB
Diff
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

diff --git a/build.xml b/build.xml
index bdb1903..ca97d2e 100644
--- a/build.xml
+++ b/build.xml
@@ -234,7 +234,8 @@
<javac destdir="${build.dest.main}"
debug="${debug}"
optimize="${optimize}"
- deprecation="${deprecation}">
+ deprecation="${deprecation}"
+ target="1.4">
<src path="${build.src.main}"/>
<patternset refid="jaxen.${object.model}"/>
</javac>
@@ -244,7 +245,8 @@
<javac destdir="${build.dest.test}"
debug="${debug}"
optimize="${optimize}"
- deprecation="${deprecation}">
+ deprecation="${deprecation}"
+ target="1.4">
<src path="${build.src.test}"/>
<classpath path="${build.dest.test}"/>
<classpath path="${build.dest.main}"/>
@@ -256,7 +258,8 @@
<javac destdir="${build.dest.samples}"
debug="${debug}"
optimize="${optimize}"
- deprecation="${deprecation}">
+ deprecation="${deprecation}"
+ target="1.4">
<src path="${build.src.samples}"/>
<classpath path="${build.dest.samples}"/>
<classpath path="${build.dest.main}"/>
diff --git a/src/java/main/org/jaxen/dom/NamespaceNode.java b/src/java/main/org/jaxen/dom/NamespaceNode.java
index 42fc619..832b248 100644
--- a/src/java/main/org/jaxen/dom/NamespaceNode.java
+++ b/src/java/main/org/jaxen/dom/NamespaceNode.java
@@ -493,6 +493,54 @@ public class NamespaceNode implements Node
"Namespace node may not be modified");
}
+ public Object getUserData(String s) {
+ throw new UnsupportedOperationException();
+ }
+
+ public Object setUserData(String s, Object o, org.w3c.dom.UserDataHandler handler) {
+ throw new UnsupportedOperationException();
+ }
+
+ public Object getFeature(String s, String s2) {
+ throw new UnsupportedOperationException();
+ }
+
+ public boolean isEqualNode(org.w3c.dom.Node node) {
+ throw new UnsupportedOperationException();
+ }
+
+ public String lookupNamespaceURI(String s) {
+ throw new UnsupportedOperationException();
+ }
+
+ public boolean isDefaultNamespace(String s) {
+ throw new UnsupportedOperationException();
+ }
+
+ public String lookupPrefix(String s) {
+ throw new UnsupportedOperationException();
+ }
+
+ public boolean isSameNode(org.w3c.dom.Node node) {
+ throw new UnsupportedOperationException();
+ }
+
+ public void setTextContent(String s) {
+ throw new UnsupportedOperationException();
+ }
+
+ public String getTextContent() {
+ throw new UnsupportedOperationException();
+ }
+
+ public short compareDocumentPosition(org.w3c.dom.Node node) {
+ throw new UnsupportedOperationException();
+ }
+
+ public String getBaseURI() {
+ throw new UnsupportedOperationException();
+ }
+
////////////////////////////////////////////////////////////////////