| Run | | | Workspace | | | Log | | | Issues | | | Fixes | | | Pre-reqs | | | Stats | | | XRef | | | Maven Repository Proxy Log | ![]() |
||
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite errors="0" failures="0" hostname="vmgump" name="org.dom4j.XPathExamplesTest" tests="1" time="1.603" timestamp="2008-07-03T07:01:26">
<properties>
<property name="java.vendor" value="Sun Microsystems Inc." />
<property name="lib.dir" value="./lib" />
<property name="build.javadocs" value="./build/doc/javadoc" />
<property name="api.packages" value="org.dom4j,org.dom4j.dtd,org.dom4j.io,org.dom4j.rule,org.dom4j.datatype,org.dom4j.util" />
<property name="sun.java.launcher" value="SUN_STANDARD" />
<property name="sun.management.compiler" value="HotSpot Client Compiler" />
<property name="build.sysclasspath" value="only" />
<property name="os.name" value="Linux" />
<property name="sun.boot.class.path" value="/srv/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/srv/gump/packages/jaxp-1_3/jaxp-api.jar:/srv/gump/packages/jaxp-1_3/sax.jar:/srv/gump/public/workspace/xml-apis-12/build/xml-apis.jar:/srv/gump/public/workspace/xml-xalan/build/serializer.jar:/srv/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/rt.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/i18n.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/jsse.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/jce.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/charsets.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/classes" />
<property name="TODAY" value="July 2 2008" />
<property name="java.vm.specification.vendor" value="Sun Microsystems Inc." />
<property name="java.runtime.version" value="1.5.0_11-b03" />
<property name="jaxen.src" value="../jaxen/jaxen/src/java/main" />
<property name="user.name" value="gump" />
<property name="debug" value="on" />
<property name="build.dir" value="./build" />
<property name="user.language" value="en" />
<property name="samples.dir" value="./src/samples" />
<property name="build.generated.src" value="./build/generated" />
<property name="sun.boot.library.path" value="/usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/i386" />
<property name="ant.build.clonevm" value="true" />
<property name="ant.project.default-target" value="usage" />
<property name="doc.dir" value="./src/doc" />
<property name="DSTAMP" value="20080702" />
<property name="build.apidocs" value="./build/doc/apidocs" />
<property name="java.version" value="1.5.0_11" />
<property name="version" value="1.6.1" />
<property name="user.timezone" value="GMT-08:00" />
<property name="sun.arch.data.model" value="32" />
<property name="build.doc" value="./build/doc" />
<property name="java.endorsed.dirs" value="/usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/endorsed" />
<property name="sun.cpu.isalist" value="" />
<property name="sun.jnu.encoding" value="UTF-8" />
<property name="file.encoding.pkg" value="sun.io" />
<property name="build.src" value="./build/src" />
<property name="file.separator" value="/" />
<property name="java.specification.name" value="Java Platform API Specification" />
<property name="java.class.version" value="49.0" />
<property name="user.country" value="US" />
<property name="java.home" value="/usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre" />
<property name="optimize" value="on" />
<property name="java.vm.info" value="mixed mode" />
<property name="ant.file" value="/srv/gump/public/workspace/dom4j/build.xml" />
<property name="os.version" value="2.6.20-16-server" />
<property name="path.separator" value=":" />
<property name="java.vm.version" value="1.5.0_11-b03" />
<property name="java.awt.printerjob" value="sun.print.PSPrinterJob" />
<property name="sun.io.unicode.encoding" value="UnicodeLittle" />
<property name="packages" value="org.*" />
<property name="build.dest" value="./build/classes" />
<property name="user.home" value="/home/gump" />
<property name="java.specification.vendor" value="Sun Microsystems Inc." />
<property name="test.dir" value="./src/test" />
<property name="java.library.path" value="/usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/i386/client:/usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/i386:/usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/../lib/i386" />
<property name="name" value="dom4j" />
<property name="java.vendor.url" value="http://java.sun.com/" />
<property name="java.vm.vendor" value="Sun Microsystems Inc." />
<property name="java.runtime.name" value="Java(TM) 2 Runtime Environment, Standard Edition" />
<property name="java.class.path" value="/usr/lib/jvm/java-1.5.0-sun/lib/tools.jar:/srv/gump/public/workspace/dom4j/build/classes:/srv/gump/public/workspace/dom4j:/srv/gump/public/workspace/dom4j/build/dom4j.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-trax.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/packages/junit3.8.1/junit.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/junit/dist/junit-02072008.jar:/srv/gump/packages/PullParser2.1.10/build/lib/PullParser-2.1.10.jar:/srv/gump/public/workspace/xpp/build/xpp3_xpath-02072008.jar:/srv/gump/public/workspace/xpp/build/xpp3-02072008.jar:/srv/gump/public/workspace/xpp/build/xpp3_min-02072008.jar:/srv/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar:/srv/gump/public/workspace/msv/xsdlib/dist/xsdlib.jar:/srv/gump/packages/relaxngDatatype-1.0/relaxngDatatype.jar:/srv/gump/packages/stax/jsr173_1.0_api.jar:/srv/gump/packages/stax/jsr173_1.0_ri.jar:/srv/gump/packages/junitperf-1.8/lib/junitperf.jar:/srv/gump/packages/ws-jaxme-0.5/lib/jaxmeapi-0.5.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar" />
<property name="year" value="2005" />
<property name="ant.version" value="Apache Ant version 1.8.0alpha compiled on July 2 2008" />
<property name="gump.merge" value="/srv/gump/public/gump/work/merge.xml" />
<property name="TSTAMP" value="2300" />
<property name="java.vm.specification.name" value="Java Virtual Machine Specification" />
<property name="xml.format.options" value="-indentSize 2 -trimText -newlines" />
<property name="java.vm.specification.version" value="1.0" />
<property name="sun.cpu.endian" value="little" />
<property name="sun.os.patch.level" value="unknown" />
<property name="java.awt.headless" value="true" />
<property name="java.io.tmpdir" value="/tmp" />
<property name="java.vendor.url.bug" value="http://java.sun.com/cgi-bin/bugreport.cgi" />
<property name="Name" value="dom4j" />
<property name="conf.dir" value="./src/conf" />
<property name="java.awt.graphicsenv" value="sun.awt.X11GraphicsEnvironment" />
<property name="os.arch" value="i386" />
<property name="java.ext.dirs" value="/usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/ext" />
<property name="user.dir" value="/srv/gump/public/workspace/dom4j" />
<property name="line.separator" value="
" />
<property name="java.vm.name" value="Java HotSpot(TM) Client VM" />
<property name="deprecation" value="off" />
<property name="basedir" value="/srv/gump/public/workspace/dom4j" />
<property name="ant.java.version" value="1.5" />
<property name="ant.core.lib" value="/srv/gump/public/workspace/ant/dist/lib/ant.jar" />
<property name="file.encoding" value="UTF-8" />
<property name="java.specification.version" value="1.5" />
<property name="src.dir" value="./src/java" />
<property name="ant.project.invoked-targets" value="test" />
</properties>
<testcase classname="org.dom4j.XPathExamplesTest" name="testXPaths" time="1.4" />
<system-out><![CDATA[Loaded document: xml/test/test_text.xml
Context is now: org.dom4j.tree.DefaultDocument@b8bef7 [Document: name file:///srv/gump/public/workspace/dom4j/xml/test/test_text.xml]
valueOf: normalize-space(/message)
expected: This should work result: This should work
Loaded document: xml/web.xml
Context is now: org.dom4j.tree.DefaultDocument@8e32e7 [Document: name file:///srv/gump/public/workspace/dom4j/xml/web.xml]
match: /web-app/servlet/servlet-name = 'file'
match: /web-app/servlet/servlet-name = 'snoop'
Loaded document: xml/test/sample.xml
Context is now: org.dom4j.tree.DefaultDocument@d3d6f [Document: name file:///srv/gump/public/workspace/dom4j/xml/test/sample.xml]
Path: /products/product[@id='2' or colour='green'] found result size: 2
Loaded document: xml/test/DavidHooker.xml
Context is now: org.dom4j.tree.DefaultDocument@105d88a [Document: name file:///srv/gump/public/workspace/dom4j/xml/test/DavidHooker.xml]
Path: /*/oi:thing-info/@triggering-document-expression found result size: 1
Path: /atomic:thing/oi:thing-info/@triggering-document-expression found result size: 1
Path: //@triggering-document-expression found result size: 1
Loaded document: xml/xhtml.xml
Context is now: org.dom4j.tree.DefaultDocument@1e87719 [Document: name file:///srv/gump/public/workspace/dom4j/xml/xhtml.xml]
valueOf: /html/body/link
expected: http://foo.com/bar?a=123&b=456&d=d9d9d result: http://foo.com/bar?a=123&b=456&d=d9d9d
Loaded document: xml/web.xml
Context is now: org.dom4j.tree.DefaultDocument@e32802 [Document: name file:///srv/gump/public/workspace/dom4j/xml/web.xml]
Path: /descendant-or-self::* found result size: 19
Path: descendant-or-self::* found result size: 19
Path: /descendant-or-self::servlet found result size: 2
Path: descendant-or-self::servlet found result size: 2
Path: /descendant::servlet found result size: 2
Path: descendant::* found result size: 19
Path: /descendant::* found result size: 19
Path: descendant::servlet found result size: 2
Path: /*/servlet found result size: 2
Path: //servlet found result size: 2
valueOf: count(/*/servlet)
expected: 2 result: 2
valueOf: count(//servlet)
expected: 2 result: 2
Context is now: org.dom4j.tree.DefaultElement@182da3d [Element: <web-app attributes: []/>]
Path: /descendant-or-self::servlet found result size: 2
Path: descendant-or-self::servlet found result size: 2
Path: /descendant::servlet found result size: 2
Path: descendant::servlet found result size: 2
Context is now: org.dom4j.tree.DefaultElement@1315d34 [Element: <servlet-name attributes: []/>]
Path: preceding::* found result size: 3
Context is now: org.dom4j.tree.DefaultElement@1315d34 [Element: <servlet-name attributes: []/>]
Path: following::* found result size: 13
Loaded document: xml/axis.xml
Context is now: org.dom4j.tree.DefaultElement@64883c [Element: <root attributes: []/>]
Path: preceding-sibling::* found result size: 0
Context is now: org.dom4j.tree.DefaultElement@2c1e6b [Element: <a.3 attributes: []/>]
Path: preceding::* found result size: 2
Context is now: org.dom4j.tree.DefaultElement@2c1e6b [Element: <a.3 attributes: []/>]
Path: preceding-sibling::* found result size: 2
Context is now: org.dom4j.tree.DefaultDocument@811c88 [Document: name file:///srv/gump/public/workspace/dom4j/xml/axis.xml]
valueOf: name(/root/a/a.3/preceding-sibling::*[1])
expected: a.2 result: a.2
valueOf: name(/root/a/a.3/preceding-sibling::*[2])
expected: a.1 result: a.1
Context is now: org.dom4j.tree.DefaultDocument@811c88 [Document: name file:///srv/gump/public/workspace/dom4j/xml/axis.xml]
valueOf: name(/root/a/a.3/following-sibling::*[1])
expected: a.4 result: a.4
valueOf: name(/root/a/a.3/following-sibling::*[2])
expected: a.5 result: a.5
Loaded document: xml/web.xml
Context is now: org.dom4j.tree.DefaultDocument@785d65 [Document: name file:///srv/gump/public/workspace/dom4j/xml/web.xml]
Path: /web-app/servlet/servlet-name[.='file'] found result size: 1
Path: /web-app/servlet/servlet-name[text()='file'] found result size: 1
Loaded document: xml/web.xml
Context is now: org.dom4j.tree.DefaultDocument@3020ad [Document: name file:///srv/gump/public/workspace/dom4j/xml/web.xml]
Path: web-app/servlet found result size: 2
match: /
Context is now: org.dom4j.tree.DefaultElement@d42d08 [Element: <servlet attributes: []/>]
match: *
match: servlet
match: servlet[servlet-name='snoop']
match: web-app/servlet
match: */servlet
match: /*/servlet
Loaded document: xml/test/sample.xml
Context is now: org.dom4j.tree.DefaultElement@ac6a45 [Element: <product attributes: [org.dom4j.tree.DefaultAttribute@175078b [Attribute: name id value "2"]]/>]
match: .[@id='2']
match: .[colour='blue']
match: @id='2'
match: colour='blue'
match: name()='product'
match: not(id='3')
Loaded document: xml/web.xml
Context is now: org.dom4j.tree.DefaultDocument@42552c [Document: name file:///srv/gump/public/workspace/dom4j/xml/web.xml]
Context is now: org.dom4j.tree.DefaultElement@19e15c [Element: <servlet attributes: []/>]
Loaded document: xml/test/sample.xml
Context is now: org.dom4j.tree.DefaultElement@3b8b49 [Element: <product attributes: [org.dom4j.tree.DefaultAttribute@1359c1b [Attribute: name id value "2"]]/>]
Loaded document: xml/web.xml
Context is now: org.dom4j.tree.DefaultDocument@9be79a [Document: name file:///srv/gump/public/workspace/dom4j/xml/web.xml]
Path: * found result size: 1
Path: *
expected: web-app result: web-app
Path: ./* found result size: 1
Path: ./*
expected: web-app result: web-app
Path: child::* found result size: 1
Path: child::*
expected: web-app result: web-app
Path: /* found result size: 1
Path: /*
expected: web-app result: web-app
Path: /child::node() found result size: 1
Path: /child::node()
expected: web-app result: web-app
Path: child::node() found result size: 1
Path: child::node()
expected: web-app result: web-app
valueOf: name()
expected: result:
valueOf: name(.)
expected: result:
valueOf: name(parent::*)
expected: result:
valueOf: name(/)
expected: result:
valueOf: name(/.)
expected: result:
valueOf: name(/self::node())
expected: result:
valueOf: name(node())
expected: web-app result: web-app
valueOf: name(/node())
expected: web-app result: web-app
valueOf: name(/*)
expected: web-app result: web-app
valueOf: name(/child::*)
expected: web-app result: web-app
valueOf: name(/child::node())
expected: web-app result: web-app
valueOf: name(/child::node())
expected: web-app result: web-app
valueOf: name(child::node())
expected: web-app result: web-app
valueOf: name(./*)
expected: web-app result: web-app
valueOf: name(*)
expected: web-app result: web-app
Context is now: org.dom4j.tree.DefaultElement@1a28362 [Element: <web-app attributes: []/>]
valueOf: name(..)
expected: result:
valueOf: name(parent::node())
expected: result:
valueOf: name(parent::*)
expected: result:
valueOf: name()
expected: web-app result: web-app
valueOf: name(.)
expected: web-app result: web-app
valueOf: name(../*)
expected: web-app result: web-app
valueOf: name(../child::node())
expected: web-app result: web-app
Loaded document: xml/nitf/sample.xml
Context is now: org.dom4j.tree.DefaultElement@ec6b00 [Element: <docdata attributes: []/>]
Path: doc-id[@regsrc='AP' and @id-string='D76UIMO80'] found result size: 1
Context is now: org.dom4j.tree.DefaultElement@9cb0f4 [Element: <head attributes: []/>]
Path: meta[@name='ap-cycle'] found result size: 1
Path: meta[@content='AP'] found result size: 1
Path: meta[@name and @content] found result size: 8
Path: meta[@name='ap-cycle' and @content='AP'] found result size: 1
Path: meta[@name != 'ap-cycle'] found result size: 7
Context is now: org.dom4j.tree.DefaultDocument@11978b [Document: name file:///srv/gump/public/workspace/dom4j/xml/nitf/sample.xml]
Path: /nitf/head/meta[@name='ap-cycle'] found result size: 1
Path: /nitf/head/meta[@content='AP'] found result size: 1
Path: /nitf/head/meta[@name and @content] found result size: 8
Path: /nitf/head/meta[@name='ap-cycle' and @content='AP'] found result size: 1
Path: /nitf/head/meta[@name != 'ap-cycle'] found result size: 7
Loaded document: xml/moreover/sample.xml
Context is now: org.dom4j.tree.DefaultDocument@5e13ad [Document: name file:///srv/gump/public/workspace/dom4j/xml/moreover/sample.xml]
Path: /child::node() found result size: 1
Path: /* found result size: 1
Path: /*/article found result size: 20
Path: //* found result size: 221
Path: //*[local-name()='article'] found result size: 20
Path: //article found result size: 20
Path: /*/*[@id] found result size: 20
Path: /moreovernews/article[@id='_13563275'] found result size: 1
Path: /moreovernews/article[@id='_13563275']
expected: http://c.moreover.com/click/here.pl?x13563273 result: http://c.moreover.com/click/here.pl?x13563273
Path: /*/article[@id='_13563275']
expected: http://c.moreover.com/click/here.pl?x13563273 result: http://c.moreover.com/click/here.pl?x13563273
Path: //article[@id='_13563275']
expected: http://c.moreover.com/click/here.pl?x13563273 result: http://c.moreover.com/click/here.pl?x13563273
Path: //*[@id='_13563275']
expected: http://c.moreover.com/click/here.pl?x13563273 result: http://c.moreover.com/click/here.pl?x13563273
Path: /child::node()/child::node()[@id='_13563275']
expected: http://c.moreover.com/click/here.pl?x13563273 result: http://c.moreover.com/click/here.pl?x13563273
Path: /*/*[@id='_13563275']
expected: http://c.moreover.com/click/here.pl?x13563273 result: http://c.moreover.com/click/here.pl?x13563273
Loaded document: xml/contents.xml
Context is now: org.dom4j.tree.DefaultDocument@af72d8 [Document: name file:///srv/gump/public/workspace/dom4j/xml/contents.xml]
Path: processing-instruction() found result size: 3
Path: /processing-instruction() found result size: 3
Path: /comment() found result size: 1
Path: comment() found result size: 1
Path: /child::node()/comment() found result size: 2
Path: /*/comment() found result size: 2
Path: //comment() found result size: 3
Loaded document: xml/fibo.xml
Context is now: org.dom4j.tree.DefaultDocument@14a7a12 [Document: name file:///srv/gump/public/workspace/dom4j/xml/fibo.xml]
Path: /*/fibonacci[position() < 10] found result size: 9
valueOf: sum(//fibonacci)
expected: 196417 result: 196417
valueOf: sum(//fibonacci/@index)
expected: 325 result: 325
Loaded document: xml/much_ado.xml
Context is now: org.dom4j.tree.DefaultDocument@2b7db1 [Document: name file:///srv/gump/public/workspace/dom4j/xml/much_ado.xml]
Path: /descendant::ACT found result size: 5
Path: descendant::ACT found result size: 5
valueOf: /PLAY/TITLE
expected: Much Ado about Nothing result: Much Ado about Nothing
valueOf: 2+2
expected: 4 result: 4
valueOf: 5 * 4 + 1
expected: 21 result: 21
valueOf: count(descendant::ACT)
expected: 5 result: 5
valueOf: 10 + count(descendant::ACT) * 5
expected: 35 result: 35
valueOf: (10 + count(descendant::ACT)) * 5
expected: 75 result: 75
Context is now: org.dom4j.tree.DefaultElement@3caa4b [Element: <SCENE attributes: []/>]
Path: /descendant::ACT found result size: 5
Path: ../../descendant::ACT found result size: 5
valueOf: count(ancestor::*)
expected: 2 result: 2
valueOf: count(ancestor::PLAY)
expected: 1 result: 1
valueOf: 5+count(ancestor::*)-1
expected: 6 result: 6
Context is now: org.dom4j.tree.DefaultElement@1a19458 [Element: <SCENE attributes: []/>]
Path: /descendant::ACT found result size: 5
Path: ../../descendant::ACT found result size: 5
valueOf: count(ancestor::*)
expected: 2 result: 2
valueOf: count(ancestor::PLAY)
expected: 1 result: 1
valueOf: 5+count(ancestor::*)-1
expected: 6 result: 6
Context is now: org.dom4j.tree.DefaultElement@383118 [Element: <SCENE attributes: []/>]
Path: /descendant::ACT found result size: 5
Path: ../../descendant::ACT found result size: 5
valueOf: count(ancestor::*)
Continuation...
expected: 2 result: 2 valueOf: count(ancestor::PLAY) expected: 1 result: 1 valueOf: 5+count(ancestor::*)-1 expected: 6 result: 6 Context is now: org.dom4j.tree.DefaultElement@aae86e [Element: <SCENE attributes: []/>] Path: /descendant::ACT found result size: 5 Path: ../../descendant::ACT found result size: 5 valueOf: count(ancestor::*) expected: 2 result: 2 valueOf: count(ancestor::PLAY) expected: 1 result: 1 valueOf: 5+count(ancestor::*)-1 expected: 6 result: 6 Context is now: org.dom4j.tree.DefaultElement@97d026 [Element: <SCENE attributes: []/>] Path: /descendant::ACT found result size: 5 Path: ../../descendant::ACT found result size: 5 valueOf: count(ancestor::*) expected: 2 result: 2 valueOf: count(ancestor::PLAY) expected: 1 result: 1 valueOf: 5+count(ancestor::*)-1 expected: 6 result: 6 Loaded document: xml/test/namespaces.xml Context is now: org.dom4j.tree.DefaultDocument@1e78c96 [Document: name file:///srv/gump/public/workspace/dom4j/xml/test/namespaces.xml] Path: /* found result size: 1 Path: /foo:a found result size: 1 Path: /foo:a/b found result size: 1 Path: /foo:a/bar:f found result size: 1 Path: /*[namespace-uri()='fooNamespace' and local-name()='a'] found result size: 1 Path: /*[local-name()='a' and namespace-uri()='fooNamespace']/*[local-name()='x' and namespace-uri()='fooNamespace'] found result size: 1 Path: /*[local-name()='a' and namespace-uri()='fooNamespace']/*[local-name()='x' and namespace-uri()='fooNamespace']/*[local-name()='y' and namespace-uri()='fooNamespace'] found result size: 1 Context is now: org.dom4j.tree.DefaultDocument@1e78c96 [Document: name file:///srv/gump/public/workspace/dom4j/xml/test/namespaces.xml] valueOf: /foo:a/b/c expected: Hello result: Hello valueOf: /foo:a/foo:d/foo:e expected: Hey result: Hey valueOf: /foo:a/alias:x/alias:y expected: Hey3 result: Hey3 valueOf: /foo:a/foo:x/foo:y expected: Hey3 result: Hey3 valueOf: /*[local-name()='a' and namespace-uri()='fooNamespace']/*[local-name()='x' and namespace-uri()='fooNamespace']/*[local-name()='y' and namespace-uri()='fooNamespace'] expected: Hey3 result: Hey3 Context is now: org.dom4j.tree.DefaultElement@f1916f [Element: <b attributes: []/>] valueOf: /foo:a/b/c expected: Hello result: Hello valueOf: /foo:a/foo:d/foo:e expected: Hey result: Hey valueOf: /foo:a/alias:x/alias:y expected: Hey3 result: Hey3 valueOf: /foo:a/foo:x/foo:y expected: Hey3 result: Hey3 Loaded document: xml/test/defaultNamespace.xml Context is now: org.dom4j.tree.DefaultDocument@18330bf [Document: name file:///srv/gump/public/workspace/dom4j/xml/test/defaultNamespace.xml] Path: /a/b/c found result size: 0 Loaded document: xml/testNamespaces.xml Context is now: org.dom4j.tree.DefaultDocument@16917ee [Document: name file:///srv/gump/public/workspace/dom4j/xml/testNamespaces.xml] Path: namespace::* found result size: 0 Path: /namespace::* found result size: 0 Path: /Template/Application1/namespace::* found result size: 3 Path: /Template/Application2/namespace::* found result size: 3 Path: /Template/Application2/namespace::* found result size: 3 Path: //namespace::* found result size: 25 Context is now: org.dom4j.tree.DefaultElement@c2ee15 [Element: <Application1 attributes: [org.dom4j.tree.DefaultAttribute@18aab40 [Attribute: name version value "3.0"]]/>] Path: namespace::* found result size: 3 Path: /namespace::* found result size: 0 Path: /Template/Application1/namespace::* found result size: 3 Path: /Template/Application2/namespace::* found result size: 3 Path: /Template/Application2/namespace::* found result size: 3 Path: //namespace::* found result size: 25 ]]></system-out> <system-err><![CDATA[]]></system-err> </testsuite>