diff options
Diffstat (limited to 'common/src/main/java/at/gv')
-rw-r--r-- | common/src/main/java/at/gv/egovernment/moa/util/XPathUtils.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/src/main/java/at/gv/egovernment/moa/util/XPathUtils.java b/common/src/main/java/at/gv/egovernment/moa/util/XPathUtils.java index 0dfccb034..89aeaf3d1 100644 --- a/common/src/main/java/at/gv/egovernment/moa/util/XPathUtils.java +++ b/common/src/main/java/at/gv/egovernment/moa/util/XPathUtils.java @@ -35,6 +35,7 @@ import org.w3c.dom.traversal.NodeIterator; import org.jaxen.JaxenException; import org.jaxen.NamespaceContext; +import org.jaxen.Navigator; import org.jaxen.SimpleNamespaceContext; import org.jaxen.dom.DOMXPath; import org.jaxen.dom.DocumentNavigator; @@ -55,7 +56,7 @@ public class XPathUtils { "(.//. | .//@* | .//namespace::*)"; /** The <code>DocumentNavigator</code> to use for navigating the document. */ - private static DocumentNavigator documentNavigator = + private static Navigator documentNavigator = DocumentNavigator.getInstance(); /** The default namespace prefix to namespace URI mappings. */ private static NamespaceContext NS_CONTEXT; |