D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/dom4j-2.0.3-2.mga9.src.rpm Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8vlOOV + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf dom4j-version-2.0.3 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/version-2.0.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd dom4j-version-2.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/python3 /usr/share/java-utils/mvn_alias.py org.dom4j:dom4j dom4j:dom4j + /usr/bin/python3 /usr/share/java-utils/mvn_file.py : dom4j/dom4j dom4j + cp /home/pterjan/rpmbuild/SOURCES/dom4j-2.0.3.pom pom.xml + sed -i s/runtime/compile/ pom.xml + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_dep xalan:xalan::test + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_dep org.testng:testng:6.8.21:test + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_dep xerces:xercesImpl::test + rm -r src/main/java/org/dom4j/xpp + rm src/main/java/org/dom4j/io/XPPReader.java + rm -r src/main/java/org/dom4j/datatype + rm -r src/test/java/org/dom4j/datatype + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep net.java.dev.msv:xsdlib + rm src/main/java/org/dom4j/io/XPP3Reader.java + rm src/test/java/org/dom4j/io/XPP3ReaderTest.java + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep xpp3:xpp3 + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep pull-parser:pull-parser + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep javax.xml.stream:stax-api + rm src/test/java/org/dom4j/ThreadingTest.java + rm src/test/java/org/dom4j/util/PerThreadSingletonTest.java + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.xKdUTY + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd dom4j-version-2.0.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc -- -Dproject.build.sourceEncoding=UTF-8 -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 Executing: xmvn --batch-mode --offline -Dproject.build.sourceEncoding=UTF-8 -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 verify org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', '-Dproject.build.sourceEncoding=UTF-8', '-Dmaven.compiler.source=1.8', '-Dmaven.compiler.target=1.8', 'verify', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] [INFO] Scanning for projects... [INFO] [INFO] --------------------------< org.dom4j:dom4j >--------------------------- [INFO] Building dom4j 2.0.3 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ dom4j --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ dom4j --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 169 source files to /home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/target/classes [INFO] /home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/src/main/java/org/dom4j/xpath/XPathPattern.java: Some input files use or override a deprecated API. [INFO] /home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/src/main/java/org/dom4j/xpath/XPathPattern.java: Recompile with -Xlint:deprecation for details. [INFO] /home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/src/main/java/org/dom4j/QName.java: Some input files use unchecked or unsafe operations. [INFO] /home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/src/main/java/org/dom4j/QName.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ dom4j --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ dom4j --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 84 source files to /home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/target/test-classes [INFO] /home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/src/test/java/org/dom4j/rule/PriorityTest.java: Some input files use or override a deprecated API. [INFO] /home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/src/test/java/org/dom4j/rule/PriorityTest.java: Recompile with -Xlint:deprecation for details. [INFO] /home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/src/test/java/org/dom4j/CloneTest.java: Some input files use unchecked or unsafe operations. [INFO] /home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/src/test/java/org/dom4j/CloneTest.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M6:test (default-test) @ dom4j --- [INFO] Using auto detected provider org.apache.maven.surefire.testng.TestNGProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running TestSuite
Mary had a little lamb.

Test URL Hello, this is a test. this is simple text containing spaces and multiple textnodes Expected: this is simple text containing spaces and multiple textnodes Obtained: this is simple text containing spaces and multiple textnodes expects: First test output: First test test1= [XPath: /root/child1/child11] test2= [XPath: /root/child2/child21] Position1 Xpath = /root/child1/child11 Position2 Xpath = /root/child2/child21 test2.matches(position1) : false Found: http://www.rabobank.com/Payload/AccountingBatch/1.0 Found element: squeak squeak squeak Loaded document: xml/test/test_text.xml Context is now: org.dom4j.tree.DefaultDocument@12e04531 [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/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@308498a8 [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/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@386ec37d [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/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@475a8415 [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/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@1fae388c [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/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@2387e60b [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/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@66f88fd3 [Element: ] 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@59fa5a39 [Element: ] Path: preceding::* found result size: 3 Context is now: org.dom4j.tree.DefaultElement@59fa5a39 [Element: ] Path: following::* found result size: 13 Loaded document: xml/axis.xml Context is now: org.dom4j.tree.DefaultElement@509bf2d5 [Element: ] Path: preceding-sibling::* found result size: 0 Context is now: org.dom4j.tree.DefaultElement@4b4b02d [Element: ] Path: preceding::* found result size: 2 Context is now: org.dom4j.tree.DefaultElement@4b4b02d [Element: ] Path: preceding-sibling::* found result size: 2 Context is now: org.dom4j.tree.DefaultDocument@1dd01876 [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/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@1dd01876 [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/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@6bf27411 [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/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@4f45290f [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/xml/web.xml] Path: web-app/servlet found result size: 2 match: / Context is now: org.dom4j.tree.DefaultElement@303a484e [Element: ] 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@6dae5562 [Element: ] 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@4ec28534 [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/xml/web.xml] Context is now: org.dom4j.tree.DefaultElement@24090832 [Element: ] Loaded document: xml/test/sample.xml Context is now: org.dom4j.tree.DefaultElement@6f5df147 [Element: ] Loaded document: xml/web.xml Context is now: org.dom4j.tree.DefaultDocument@8947a4b [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/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@318155b1 [Element: ] 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@6c165921 [Element: ] Path: doc-id[@regsrc='AP' and @id-string='D76UIMO80'] found result size: 1 Context is now: org.dom4j.tree.DefaultElement@2150dc64 [Element: ] 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@77d03738 [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/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@566dc0c3 [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/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@6829b897 [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/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@62604ed4 [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/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@1a5ea4cf [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/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@7e3b101b [Element: ] 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@62284954 [Element: ] 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@4ca50bb9 [Element: ] 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@16817bad [Element: ] 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@301c0aae [Element: ] 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@446dc997 [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/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@446dc997 [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/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@32cfd722 [Element: ] 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@69815126 [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/xml/test/defaultNamespace.xml] Path: /a/b/c found result size: 0 Loaded document: xml/testNamespaces.xml Context is now: org.dom4j.tree.DefaultDocument@1b5a3bba [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/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@381ed137 [Element: ] 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 found: actor="http://wombat.org/next" found: actor="http://wombat.org/next" found: actor="http://wombat.org/next" found: xmlns="dummyNamespace" found: xmlns="dummyNamespace" found: xmlns="dummyNamespace" found: xmlns="dummyNamespace" found: xmlns="dummyNamespace" found: xmlns="dummyNamespace" found: xmlns="dummyNamespace" found: xmlns="dummyNamespace" found: xmlns="dummyNamespace" found: xmlns:t="http://www.w3.org/namespace/" found: xmlns:t="http://www.w3.org/namespace/" found: xmlns:t="http://www.w3.org/namespace/" found: xmlns:t="http://www.w3.org/namespace/" found: xmlns:t="http://www.w3.org/namespace/" found: xmlns:t="http://www.w3.org/namespace/" Namespaces: [org.dom4j.Namespace@c692c40c [Namespace: prefix t mapped to URI "myNewURI"]] XML is now Namespaces: [org.dom4j.Namespace@c692c40c [Namespace: prefix t mapped to URI "myNewURI"]] XML is now Namespaces: [org.dom4j.Namespace@c692c40c [Namespace: prefix t mapped to URI "myNewURI"]] XML is now foo bar foo bar this is simple text containing spaces and multiple textnodes Expected: this is simple text containing spaces and multiple textnodes Obtained: this is simple text containing spaces and multiple textnodes Wrote to encoding: UTF-8 Wrote to encoding: UTF-16 Wrote to encoding: ISO-8859-1 bla &#c bla bla &#c bla xml: prefix suffix xml: prefixsuffix puffins puffins This is a multiline entry to live ]> test test Node: org.dom4j.tree.DefaultAttribute@4b0f785e [Attribute: name name value "James"] Parent: org.dom4j.tree.DefaultElement@cf255b5 [Element: ] getParent(): org.dom4j.tree.DefaultElement@cf255b5 [Element: ] Node: org.dom4j.tree.DefaultAttribute@3711c0cf [Attribute: name location value "UK"] Parent: org.dom4j.tree.DefaultElement@cf255b5 [Element: ] getParent(): org.dom4j.tree.DefaultElement@cf255b5 [Element: ] Node: org.dom4j.tree.DefaultText@242bba82 [Text: "James Strachan"] Parent: org.dom4j.tree.DefaultElement@cf255b5 [Element: ] getParent(): org.dom4j.tree.DefaultElement@cf255b5 [Element: ] Node: org.dom4j.tree.DefaultText@1456fbd1 [Text: "http://sourceforge.net/users/jstrachan/"] Parent: org.dom4j.tree.DefaultElement@a974b13 [Element: ] getParent(): org.dom4j.tree.DefaultElement@a974b13 [Element: ] Node: org.dom4j.tree.DefaultElement@a974b13 [Element: ] Parent: org.dom4j.tree.DefaultElement@cf255b5 [Element: ] getParent(): org.dom4j.tree.DefaultElement@cf255b5 [Element: ] Node: org.dom4j.tree.DefaultElement@cf255b5 [Element: ] Parent: org.dom4j.tree.DefaultElement@33b9e536 [Element: ] getParent(): org.dom4j.tree.DefaultElement@33b9e536 [Element: ] Node: org.dom4j.tree.DefaultAttribute@4a3fb669 [Attribute: name name value "Bob"] Parent: org.dom4j.tree.DefaultElement@6994448c [Element: ] getParent(): org.dom4j.tree.DefaultElement@6994448c [Element: ] Node: org.dom4j.tree.DefaultAttribute@59eb557e [Attribute: name location value "Canada"] Parent: org.dom4j.tree.DefaultElement@6994448c [Element: ] getParent(): org.dom4j.tree.DefaultElement@6994448c [Element: ] Node: org.dom4j.tree.DefaultText@25878b20 [Text: "Bob McWhirter"] Parent: org.dom4j.tree.DefaultElement@6994448c [Element: ] getParent(): org.dom4j.tree.DefaultElement@6994448c [Element: ] Node: org.dom4j.tree.DefaultText@12bcfd07 [Text: "http://sourceforge.net/users/werken/"] Parent: org.dom4j.tree.DefaultElement@59c77bf8 [Element: ] getParent(): org.dom4j.tree.DefaultElement@59c77bf8 [Element: ] Node: org.dom4j.tree.DefaultElement@59c77bf8 [Element: ] Parent: org.dom4j.tree.DefaultElement@6994448c [Element: ] getParent(): org.dom4j.tree.DefaultElement@6994448c [Element: ] Node: org.dom4j.tree.DefaultElement@6994448c [Element: ] Parent: org.dom4j.tree.DefaultElement@33b9e536 [Element: ] getParent(): org.dom4j.tree.DefaultElement@33b9e536 [Element: ] Node: org.dom4j.tree.DefaultElement@36e2524a [Element: ] Parent: org.dom4j.tree.DefaultElement@5498e7d5 [Element: ] getParent(): org.dom4j.tree.DefaultElement@5498e7d5 [Element: ] Node: org.dom4j.tree.DefaultElement@2aca1c10 [Element: ] Parent: org.dom4j.tree.DefaultElement@5498e7d5 [Element: ] getParent(): org.dom4j.tree.DefaultElement@5498e7d5 [Element: ] Converting to a W3C Document took: 0 milliseconds elements: 33 attributes: 26 characters: 588 Adding template match: / Pattern: [XPathPattern: text: / Pattern: org.jaxen.pattern.NodeTypeTest@10be5d15[ type: 9 ]] ........................................ Adding template match: title Pattern: [XPathPattern: text: title Pattern: org.jaxen.pattern.NameTest@2d73b7f7[ name: title type: 1 ]] ........................................ Adding template match: para Pattern: [XPathPattern: text: para Pattern: org.jaxen.pattern.NameTest@40c74ef8[ name: para type: 1 ]] ........................................ Adding template match: * Pattern: [XPathPattern: text: * Pattern: org.jaxen.pattern.NodeTypeTest@2273e500[ type: 1 ]] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultAttribute@4dea0112 [Attribute: name author value "James Elson"] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@372036d9 [Text: " "] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@a468ed8 [Text: "Bwahahahah!"] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@4171eed5 [Text: " "] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@5c8e9578 [Text: "Twas a dark, rainy night..."] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@6a2ef6ce [Text: " "] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@5420851d [Text: "dfjsdfjsdf"] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@1ae9ce0a [Text: " "] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@32e4ad7a [Text: "fdsfsdfhdsff gyuf uysgf ds"] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@2f61a56e [Text: " "] ........................................ Adding template match: / Pattern: [XPathPattern: text: / Pattern: org.jaxen.pattern.NodeTypeTest@10be5d15[ type: 9 ]] ........................................ Adding template match: * Pattern: [XPathPattern: text: * Pattern: org.jaxen.pattern.NodeTypeTest@2273e500[ type: 1 ]] ........................................ Adding template match: root Pattern: [XPathPattern: text: root Pattern: org.jaxen.pattern.NameTest@2b74cd81[ name: root type: 1 ]] ........................................ Adding template match: author Pattern: [XPathPattern: text: author Pattern: org.jaxen.pattern.NameTest@3c6c3ae8[ name: author type: 1 ]] ........................................ Adding template match: @name Pattern: [XPathPattern: text: @name Pattern: org.jaxen.pattern.NameTest@1e84b2de[ name: name type: 2 ]] ........................................ Adding template match: root/author Pattern: [XPathPattern: text: root/author Pattern: org.jaxen.pattern.LocationPathPattern@2f2362b9[ absolute: false parent: org.jaxen.pattern.NameTest@22b6ba19[ name: root type: 1 ] ancestor: null filters: null nodeTest: org.jaxen.pattern.NameTest@7fd06fdd[ name: author type: 1 ] ]] ........................................ Adding template match: author[@location='UK'] Pattern: [XPathPattern: text: author[@location='UK'] Pattern: org.jaxen.pattern.LocationPathPattern@44f930bb[ absolute: false parent: null ancestor: null filters: [[(DefaultFilterExpr): expr: null predicates: org.jaxen.expr.PredicateSet@70fba437 ]] nodeTest: org.jaxen.pattern.NameTest@678abe43[ name: author type: 1 ] ]] ........................................ Adding template match: root/author[@location='UK'] Pattern: [XPathPattern: text: root/author[@location='UK'] Pattern: org.jaxen.pattern.LocationPathPattern@1bd89be8[ absolute: false parent: org.jaxen.pattern.NameTest@16291cc0[ name: root type: 1 ] ancestor: null filters: [[(DefaultFilterExpr): expr: null predicates: org.jaxen.expr.PredicateSet@3b5ed82e ]] nodeTest: org.jaxen.pattern.NameTest@91411a0[ name: author type: 1 ] ]] ........................................ Adding template match: root//author[@location='UK'] Pattern: [XPathPattern: text: root//author[@location='UK'] Pattern: org.jaxen.pattern.LocationPathPattern@564cdcb1[ absolute: false parent: null ancestor: org.jaxen.pattern.LocationPathPattern@8dd15a4[ absolute: false parent: org.jaxen.pattern.NameTest@450f3339[ name: root type: 1 ] ancestor: null filters: null nodeTest: org.jaxen.pattern.NodeTypeTest@2273e500[ type: 1 ] ] filters: [[(DefaultFilterExpr): expr: null predicates: org.jaxen.expr.PredicateSet@6cbfa329 ]] nodeTest: org.jaxen.pattern.NameTest@5ca6435b[ name: author type: 1 ] ]] ........................................ ........................................ Running stylesheet Matched pattern: / Node: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ ........................................ Matched pattern: root Node: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ ........................................ Matched pattern: root/author[@location='UK'] Node: James Strachanhttp://sourceforge.net/users/jstrachan/ ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@3cb60d5e [Text: "James Strachan"] ........................................ Matched pattern: * Node: http://sourceforge.net/users/jstrachan/ ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@9c670a [Text: "http://sourceforge.net/users/jstrachan/"] ........................................ Matched pattern: root/author Node: Bob McWhirterhttp://sourceforge.net/users/werken/ ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@112b3adb [Text: "Bob McWhirter"] ........................................ Matched pattern: * Node: http://sourceforge.net/users/werken/ ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@7ff90f3e [Text: "http://sourceforge.net/users/werken/"] ........................................ Finished parsing: foo and * rule1: org.dom4j.rule.Rule@0[ pattern: [XPathPattern: text: foo Pattern: org.jaxen.pattern.NameTest@309e2202[ name: foo type: 1 ]] action: null ] rule2: org.dom4j.rule.Rule@0[ pattern: [XPathPattern: text: * Pattern: org.jaxen.pattern.NodeTypeTest@2273e500[ type: 1 ]] action: null ] Comparison: 1 parsing: * expr: * has priority: -0.5 pattern: [XPathPattern: text: * Pattern: org.jaxen.pattern.NodeTypeTest@2273e500[ type: 1 ]] parsing: foo[@id='123'] expr: foo[@id='123'] has priority: 0.5 pattern: [XPathPattern: text: foo[@id='123'] Pattern: org.jaxen.pattern.LocationPathPattern@498ad88a[ absolute: false parent: null ancestor: null filters: [[(DefaultFilterExpr): expr: null predicates: org.jaxen.expr.PredicateSet@a2633a2 ]] nodeTest: org.jaxen.pattern.NameTest@185c7635[ name: foo type: 1 ] ]] parsing: foo expr: foo has priority: 0.0 pattern: [XPathPattern: text: foo Pattern: org.jaxen.pattern.NameTest@2bffa243[ name: foo type: 1 ]] parsing: foo:* expr: foo:* has priority: -0.25 pattern: [XPathPattern: text: foo:* Pattern: org.jaxen.pattern.NamespaceTest@17ad4591[ prefix: foo type: 1 ]] Element content is now: [org.dom4j.tree.DefaultElement@3a538cdd [Element: ], org.dom4j.tree.DefaultElement@29238c0d [Element: ], org.dom4j.tree.DefaultElement@1506dbe0 [Element: ], org.dom4j.tree.DefaultElement@683b88a4 [Element: ]] James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/Element content is now: [org.dom4j.tree.DefaultText@1ef4fbfc [Text: "James Strachan"], org.dom4j.tree.DefaultElement@179fc045 [Element: ], org.dom4j.tree.DefaultElement@2a3e2e2e [Element: ], org.dom4j.tree.DefaultElement@619d83bf [Element: ]] James Strachanhttp://sourceforge.net/users/jstrachan/instance 0 equals 0 instance 1 equals 1 instance 2 equals 2 instance 3 equals 3 instance 4 equals 4 instance 5 equals 5 instance 6 equals 6 instance 7 equals 7 instance 8 equals 8 instance 9 equals 9 root: org.dom4j.util.UserDataElement@2a8046da [Element: ] userData: 1.23456 line1 line2 Expected DocumentType: org.dom4j.tree.DefaultDocumentType@3f3cd513 [DocumentType: ] Actual DocumentType: org.dom4j.tree.DefaultDocumentType@127fcd72 [DocumentType: ] Expected DocumentType: org.dom4j.tree.DefaultDocumentType@3d4e5eb [DocumentType: ] Actual DocumentType: org.dom4j.tree.DefaultDocumentType@6f2cbcbe [DocumentType: ] Expected DocumentType: org.dom4j.tree.DefaultDocumentType@33e6018a [DocumentType: ] Actual DocumentType: org.dom4j.tree.DefaultDocumentType@39258204 [DocumentType: ] Found node: hi there Found node: hello world <!-- <head> & <body> -->
Russian ????????? ???????? ?????? ???????? Foto & Video_01_03_1.pdf Any caption relating to the article ????????? ???????? ???????????? ?? ??????? ???????????? ??? ???, ??? ????????? ???????? ???????. ???? ??????? ?????? ???? ??????? ? ????????, ??? ? ??????? ????????? ????????. Casio QV-R3
Russian ????????? ???????? ?????? ???????? Foto & Video_01_03_1.pdf Any caption relating to the article ????????? ???????? ???????????? ?? ??????? ???????????? ??? ???, ??? ????????? ???????? ???????. ???? ??????? ?????? ???? ??????? ? ????????, ??? ? ??????? ????????? ????????. Casio QV-R3
Text output is [ Test using < & > ]. Done Text output is [ Test using < & > ]. Done Text output is [ Test using < & > ]. Done Text output is [ Test using < & > ]. Done Text output is [ Test using < & > ]. Done Text output is [ Test using < & > ]. Done <xsl:value-of select="JavaXML:Title"/> Created: org.dom4j.tree.DefaultElement@4acafe2e [Element: ] #### Warning: couldn't create bean: java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. #### Warning: couldn't create bean: java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. Searched path: //author Found : 2 result(s) Results [ James Strachanhttp://sourceforge.net/users/jstrachan/ Bob McWhirterhttp://sourceforge.net/users/werken/ ] ........................................... No adjacent Text nodes in test < one >]]> test two test three test four test five test six test seven Found element: org.dom4j.tree.DefaultElement@6fec9573 [Element: ] Namespace: org.dom4j.Namespace@ed4197ca [Namespace: prefix xsl mapped to URI "http://www.w3.org/1999/XSL/Transform"] Namespace prefix: xsl Namespace URI: http://www.w3.org/1999/XSL/Transform Found element: org.dom4j.tree.DefaultElement@6fec9573 [Element: ] Found element: org.dom4j.tree.DefaultElement@6fec9573 [Element: ] Found elements: [org.dom4j.tree.DefaultElement@6fec9573 [Element: ]] Found value: works text with an ? in it text with an ? in it text with an ? in it Different NS Multi took 85 ms Same NS Multi took 12 ms Different NS Single took 56 ms Same NS Single took 0 ms Initial: node with text another node Normalized: node with text another node Testing paths Matches node: James Strachanhttp://sourceforge.net/users/jstrachan/ Matches node: Bob McWhirterhttp://sourceforge.net/users/werken/ No match for node: James Strachanhttp://sourceforge.net/users/jstrachan/ No match for node: Bob McWhirterhttp://sourceforge.net/users/werken/ No match for node: James Strachanhttp://sourceforge.net/users/jstrachan/ No match for node: Bob McWhirterhttp://sourceforge.net/users/werken/ No match for node: James Strachanhttp://sourceforge.net/users/jstrachan/ No match for node: Bob McWhirterhttp://sourceforge.net/users/werken/ Searched path: 2+2 found: 4.0 Searched path: 2+2 found: 4.0 Searched path: 2 + 2 found: 4.0 Searched path: 2 + 2 found: 4.0 Searched path: 2 + number(1) + 2 found: 5.0 Searched path: 2 + number(1) + 2 found: 5.0 Searched path: number(1) * 2 found: 2.0 Searched path: number(1) * 2 found: 2.0 Searched path: 2 + count(//author) + 2 found: 6.0 Searched path: 2 + count(//author) + 2 found: 6.0 Searched path: 2 + (2 * 5) found: 12.0 Searched path: 2 + (2 * 5) found: 12.0 Searched path: count(//author) + count(//author/attribute::*) found: 6.0 Searched path: count(//author) + count(//author/attribute::*) found: 6.0 Searched path: (12 + count(//author) + count(//author/attribute::*)) div 2 found: 9.0 Searched path: (12 + count(//author) + count(//author/attribute::*)) div 2 found: 9.0 Searched path: count(//author) found: 2.0 Searched path: count(//author) found: 2.0 Searched path: count(//author/attribute::*) found: 4.0 Searched path: count(//author/attribute::*) found: 4.0 Searched path: 2 + number(1) * 2 found: 4.0 Searched path: 2 + number(1) * 2 found: 4.0 Searched path: count(descendant::author) found: 2.0 Searched path: count(descendant::author) found: 0.0 Searched path: count(ancestor::author) found: 0.0 Searched path: count(ancestor::author) found: 0.0 Searched path: count(descendant::*) found: 5.0 Searched path: count(descendant::*) found: 1.0 Searched path: count(descendant::author)+1 found: 3.0 Searched path: count(descendant::author)+1 found: 1.0 Searched path: count(ancestor::*) found: 0.0 Searched path: count(ancestor::*) found: 1.0 Searched path: 10 + count(ancestor-or-self::author) + 5 found: 15.0 Searched path: 10 + count(ancestor-or-self::author) + 5 found: 16.0 Searched path: 10 + count(descendant::author) * 5 found: 20.0 Searched path: 10 + count(descendant::author) * 5 found: 10.0 Searched path: 10 + (count(descendant::author) * 5) found: 20.0 Searched path: 10 + (count(descendant::author) * 5) found: 10.0 Finished successfully Searched path: $author found: 1 result(s) Successfully caught: org.dom4j.InvalidXPathException: Invalid XPath expression: + Unexpected '+' Successfully caught: org.dom4j.InvalidXPathException: Invalid XPath expression: + Unexpected '+' Successfully caught: org.dom4j.InvalidXPathException: Invalid XPath expression: /foo/bar/ Expected one of '.', '..', '@', '*', Successfully caught: org.dom4j.InvalidXPathException: Invalid XPath expression: /foo/bar/ Expected one of '.', '..', '@', '*', Using XPath: //field[substring(@id,1,2)='11'] Found: [org.dom4j.tree.DefaultElement@1904fc7b [Element: ], org.dom4j.tree.DefaultElement@38d5b60b [Element: ]] Using XPath: //field[substring(@id,3)='11'] Found: [org.dom4j.tree.DefaultElement@6fc34325 [Element: ], org.dom4j.tree.DefaultElement@55ec1cc6 [Element: ]] Searched path: attribute::* found: 0 result(s) Searched path: /root/author/attribute::* found: 4 result(s) Found Result: org.dom4j.tree.DefaultAttribute@39d50d49 [Attribute: name location value "UK"] Found Result: org.dom4j.tree.DefaultAttribute@2d2fd754 [Attribute: name name value "James"] Found Result: org.dom4j.tree.DefaultAttribute@1723c74e [Attribute: name location value "Canada"] Found Result: org.dom4j.tree.DefaultAttribute@58887a87 [Attribute: name name value "Bob"] Searched path: //attribute::* found: 4 result(s) Found Result: org.dom4j.tree.DefaultAttribute@39d50d49 [Attribute: name location value "UK"] Found Result: org.dom4j.tree.DefaultAttribute@2d2fd754 [Attribute: name name value "James"] Found Result: org.dom4j.tree.DefaultAttribute@1723c74e [Attribute: name location value "Canada"] Found Result: org.dom4j.tree.DefaultAttribute@58887a87 [Attribute: name name value "Bob"] Searched path: @name found: 0 result(s) Searched path: //xplt:anyElement found: 2 result(s) Searched path: //xpl:insertText found: 2 result(s) Searched path: /Template/Application1/xpl:insertText found: 1 result(s) Searched path: /Template/Application2/xpl:insertText found: 1 result(s) Testing XPath on: org.dom4j.tree.DefaultDocument@7041d691 [Document: name null] =============================== valueOf: /root is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: //author is: James Strachanhttp://sourceforge.net/users/jstrachan/ valueOf: //author/@name is: James valueOf: /root/author[1] is: James Strachanhttp://sourceforge.net/users/jstrachan/ valueOf: /root/author[1]/@name is: James valueOf: /root/author[2] is: Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: /root/author[2]/@name is: Bob valueOf: /root/author[3] is: valueOf: /root/author[3]/@name is: valueOf: name() is: valueOf: name(.) is: valueOf: name(..) is: valueOf: name(child::node()) is: root valueOf: name(parent::*) is: valueOf: name(../*) is: valueOf: name(../child::node()) is: valueOf: local-name() is: valueOf: local-name(..) is: valueOf: local-name(parent::*) is: valueOf: local-name(../*) is: valueOf: parent::* is: valueOf: name(/.) is: valueOf: name(/child::node()) is: root valueOf: name(/*) is: root valueOf: . is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: .. is: valueOf: ../* is: valueOf: ../child::node() is: valueOf: /. is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: /* is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: * is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: /child::node() is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ Testing XPath on: org.dom4j.tree.DefaultElement@72d6ae28 [Element: ] =============================== valueOf: /root is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: //author is: James Strachanhttp://sourceforge.net/users/jstrachan/ valueOf: //author/@name is: James valueOf: /root/author[1] is: James Strachanhttp://sourceforge.net/users/jstrachan/ valueOf: /root/author[1]/@name is: James valueOf: /root/author[2] is: Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: /root/author[2]/@name is: Bob valueOf: /root/author[3] is: valueOf: /root/author[3]/@name is: valueOf: name() is: root valueOf: name(.) is: root valueOf: name(..) is: valueOf: name(child::node()) is: author valueOf: name(parent::*) is: valueOf: name(../*) is: root valueOf: name(../child::node()) is: root valueOf: local-name() is: root valueOf: local-name(..) is: valueOf: local-name(parent::*) is: valueOf: local-name(../*) is: root valueOf: parent::* is: valueOf: name(/.) is: valueOf: name(/child::node()) is: root valueOf: name(/*) is: root valueOf: . is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: .. is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: ../* is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: ../child::node() is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: /. is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: /* is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: * is: James Strachanhttp://sourceforge.net/users/jstrachan/ valueOf: /child::node() is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ Testing XPath on: org.dom4j.tree.DefaultElement@736c1056 [Element: ] =============================== valueOf: /root is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: //author is: James Strachanhttp://sourceforge.net/users/jstrachan/ valueOf: //author/@name is: James valueOf: /root/author[1] is: James Strachanhttp://sourceforge.net/users/jstrachan/ valueOf: /root/author[1]/@name is: James valueOf: /root/author[2] is: Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: /root/author[2]/@name is: Bob valueOf: /root/author[3] is: valueOf: /root/author[3]/@name is: valueOf: name() is: author valueOf: name(.) is: author valueOf: name(..) is: root valueOf: name(child::node()) is: valueOf: name(parent::*) is: root valueOf: name(../*) is: author valueOf: name(../child::node()) is: author valueOf: local-name() is: author valueOf: local-name(..) is: root valueOf: local-name(parent::*) is: root valueOf: local-name(../*) is: author valueOf: parent::* is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: name(/.) is: valueOf: name(/child::node()) is: root valueOf: name(/*) is: root valueOf: . is: James Strachanhttp://sourceforge.net/users/jstrachan/ valueOf: .. is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: ../* is: James Strachanhttp://sourceforge.net/users/jstrachan/ valueOf: ../child::node() is: James Strachanhttp://sourceforge.net/users/jstrachan/ valueOf: /. is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: /* is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: * is: http://sourceforge.net/users/jstrachan/ valueOf: /child::node() is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ Found Result: org.dom4j.tree.DefaultText@7a3a91df [Text: "James Strachan"] Found Result: org.dom4j.tree.DefaultText@2745eab6 [Text: "Bob McWhirter"] Evaluating xpath: [XPath: .[name()='author']] Evaluating xpath: [XPath: .[.='James Strachan']] Evaluating xpath: [XPath: .[name()='XXXX']] Evaluating xpath: [XPath: .[.='XXXX']] Evaluating xpath: [XPath: name()='author'] Evaluating xpath: [XPath: name()='XXXX'] Evaluating xpath: [XPath: .='James Strachan'] Evaluating xpath: [XPath: .='XXXX'] Searched path: namespace::* found: 0 result(s) Searched path: /Template/Application1/namespace::* found: 3 result(s) Found Result: org.dom4j.tree.DefaultNamespace@76eb0ded [Namespace: prefix xml mapped to URI "http://www.w3.org/XML/1998/namespace"] Parent node: org.dom4j.tree.DefaultElement@282ee25 [Element: ] Found Result: org.dom4j.tree.DefaultNamespace@4fc1795b [Namespace: prefix xpl mapped to URI "www.xxxx.com"] Parent node: org.dom4j.tree.DefaultElement@282ee25 [Element: ] Found Result: org.dom4j.tree.DefaultNamespace@4ff897af [Namespace: prefix xplt mapped to URI "www.xxxx.com"] Parent node: org.dom4j.tree.DefaultElement@282ee25 [Element: ] Searched path: /Template/Application1/namespace::xplt found: 1 result(s) Found Result: org.dom4j.tree.DefaultNamespace@4ff897af [Namespace: prefix xplt mapped to URI "www.xxxx.com"] Parent node: org.dom4j.tree.DefaultElement@282ee25 [Element: ] Searched path: //namespace::* found: 25 result(s) Found Result: org.dom4j.tree.DefaultNamespace@5ca14c7d [Namespace: prefix xml mapped to URI "http://www.w3.org/XML/1998/namespace"] Parent node: org.dom4j.tree.DefaultElement@28c8afb5 [Element: