D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/dom4j-2.0.3-2.mga10.src.rpm Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ybukWd + 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 + rm -rf /home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3-SPECPARTS + /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.jKvtJv + 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@7f59f4e4 [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@2ff2a096 [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@759862a2 [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@5a097a83 [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@4a4979bf [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@539570b8 [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@5702e6f3 [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@46c28400 [Element: ] Path: preceding::* found result size: 3 Context is now: org.dom4j.tree.DefaultElement@46c28400 [Element: ] Path: following::* found result size: 13 Loaded document: xml/axis.xml Context is now: org.dom4j.tree.DefaultElement@56511eda [Element: ] Path: preceding-sibling::* found result size: 0 Context is now: org.dom4j.tree.DefaultElement@760f4310 [Element: ] Path: preceding::* found result size: 2 Context is now: org.dom4j.tree.DefaultElement@760f4310 [Element: ] Path: preceding-sibling::* found result size: 2 Context is now: org.dom4j.tree.DefaultDocument@3b9d85c2 [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@3b9d85c2 [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@77eb76f [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@6971f5f4 [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@611f28f5 [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@6f744b4e [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@2165b170 [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-version-2.0.3/xml/web.xml] Context is now: org.dom4j.tree.DefaultElement@d20e900 [Element: ] Loaded document: xml/test/sample.xml Context is now: org.dom4j.tree.DefaultElement@632a7680 [Element: ] Loaded document: xml/web.xml Context is now: org.dom4j.tree.DefaultDocument@1df77353 [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@535b016 [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@79122f5f [Element: ] Path: doc-id[@regsrc='AP' and @id-string='D76UIMO80'] found result size: 1 Context is now: org.dom4j.tree.DefaultElement@70720b78 [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@58545c2e [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@4163f505 [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@172f2717 [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@2746bc43 [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@62284954 [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@21312b5 [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@22a89db [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@4867f5cf [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@2202e978 [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@381ed137 [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@13198b8e [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@13198b8e [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@5ae5a507 [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@e8ef60b [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@6e21b6f8 [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@58052571 [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@176bdac0 [Attribute: name name value "James"] Parent: org.dom4j.tree.DefaultElement@3d8cef0c [Element: ] getParent(): org.dom4j.tree.DefaultElement@3d8cef0c [Element: ] Node: org.dom4j.tree.DefaultAttribute@2b7d8e96 [Attribute: name location value "UK"] Parent: org.dom4j.tree.DefaultElement@3d8cef0c [Element: ] getParent(): org.dom4j.tree.DefaultElement@3d8cef0c [Element: ] Node: org.dom4j.tree.DefaultText@42d7ffe5 [Text: "James Strachan"] Parent: org.dom4j.tree.DefaultElement@3d8cef0c [Element: ] getParent(): org.dom4j.tree.DefaultElement@3d8cef0c [Element: ] Node: org.dom4j.tree.DefaultText@ba380a5 [Text: "http://sourceforge.net/users/jstrachan/"] Parent: org.dom4j.tree.DefaultElement@510dfa52 [Element: ] getParent(): org.dom4j.tree.DefaultElement@510dfa52 [Element: ] Node: org.dom4j.tree.DefaultElement@510dfa52 [Element: ] Parent: org.dom4j.tree.DefaultElement@3d8cef0c [Element: ] getParent(): org.dom4j.tree.DefaultElement@3d8cef0c [Element: ] Node: org.dom4j.tree.DefaultElement@3d8cef0c [Element: ] Parent: org.dom4j.tree.DefaultElement@16c3c7db [Element: ] getParent(): org.dom4j.tree.DefaultElement@16c3c7db [Element: ] Node: org.dom4j.tree.DefaultAttribute@6b962a31 [Attribute: name name value "Bob"] Parent: org.dom4j.tree.DefaultElement@7c27394e [Element: ] getParent(): org.dom4j.tree.DefaultElement@7c27394e [Element: ] Node: org.dom4j.tree.DefaultAttribute@42c693f2 [Attribute: name location value "Canada"] Parent: org.dom4j.tree.DefaultElement@7c27394e [Element: ] getParent(): org.dom4j.tree.DefaultElement@7c27394e [Element: ] Node: org.dom4j.tree.DefaultText@4ab3696e [Text: "Bob McWhirter"] Parent: org.dom4j.tree.DefaultElement@7c27394e [Element: ] getParent(): org.dom4j.tree.DefaultElement@7c27394e [Element: ] Node: org.dom4j.tree.DefaultText@102e05ab [Text: "http://sourceforge.net/users/werken/"] Parent: org.dom4j.tree.DefaultElement@5506a3a9 [Element: ] getParent(): org.dom4j.tree.DefaultElement@5506a3a9 [Element: ] Node: org.dom4j.tree.DefaultElement@5506a3a9 [Element: ] Parent: org.dom4j.tree.DefaultElement@7c27394e [Element: ] getParent(): org.dom4j.tree.DefaultElement@7c27394e [Element: ] Node: org.dom4j.tree.DefaultElement@7c27394e [Element: ] Parent: org.dom4j.tree.DefaultElement@16c3c7db [Element: ] getParent(): org.dom4j.tree.DefaultElement@16c3c7db [Element: ] Node: org.dom4j.tree.DefaultElement@12e3465c [Element: ] Parent: org.dom4j.tree.DefaultElement@7218a442 [Element: ] getParent(): org.dom4j.tree.DefaultElement@7218a442 [Element: ] Node: org.dom4j.tree.DefaultElement@1ec23fda [Element: ] Parent: org.dom4j.tree.DefaultElement@7218a442 [Element: ] getParent(): org.dom4j.tree.DefaultElement@7218a442 [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@7fd06fdd[ type: 9 ]] ........................................ Adding template match: title Pattern: [XPathPattern: text: title Pattern: org.jaxen.pattern.NameTest@70fba437[ name: title type: 1 ]] ........................................ Adding template match: para Pattern: [XPathPattern: text: para Pattern: org.jaxen.pattern.NameTest@678abe43[ name: para type: 1 ]] ........................................ Adding template match: * Pattern: [XPathPattern: text: * Pattern: org.jaxen.pattern.NodeTypeTest@1bd89be8[ type: 1 ]] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultAttribute@3b5ed82e [Attribute: name author value "James Elson"] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@91411a0 [Text: " "] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@564cdcb1 [Text: "Bwahahahah!"] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@8dd15a4 [Text: " "] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@450f3339 [Text: "Twas a dark, rainy night..."] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@6cbfa329 [Text: " "] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@5ca6435b [Text: "dfjsdfjsdf"] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@3cb60d5e [Text: " "] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@9c670a [Text: "fdsfsdfhdsff gyuf uysgf ds"] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@112b3adb [Text: " "] ........................................ Adding template match: / Pattern: [XPathPattern: text: / Pattern: org.jaxen.pattern.NodeTypeTest@7fd06fdd[ type: 9 ]] ........................................ Adding template match: * Pattern: [XPathPattern: text: * Pattern: org.jaxen.pattern.NodeTypeTest@1bd89be8[ type: 1 ]] ........................................ Adding template match: root Pattern: [XPathPattern: text: root Pattern: org.jaxen.pattern.NameTest@73a93162[ name: root type: 1 ]] ........................................ Adding template match: author Pattern: [XPathPattern: text: author Pattern: org.jaxen.pattern.NameTest@106eac2a[ name: author type: 1 ]] ........................................ Adding template match: @name Pattern: [XPathPattern: text: @name Pattern: org.jaxen.pattern.NameTest@585bb11e[ name: name type: 2 ]] ........................................ Adding template match: root/author Pattern: [XPathPattern: text: root/author Pattern: org.jaxen.pattern.LocationPathPattern@6fecd5d4[ absolute: false parent: org.jaxen.pattern.NameTest@55f4cb6a[ name: root type: 1 ] ancestor: null filters: null nodeTest: org.jaxen.pattern.NameTest@309e2202[ name: author type: 1 ] ]] ........................................ Adding template match: author[@location='UK'] Pattern: [XPathPattern: text: author[@location='UK'] Pattern: org.jaxen.pattern.LocationPathPattern@3548a64e[ absolute: false parent: null ancestor: null filters: [[(DefaultFilterExpr): expr: null predicates: org.jaxen.expr.PredicateSet@3c838746 ]] nodeTest: org.jaxen.pattern.NameTest@4f5fb427[ name: author type: 1 ] ]] ........................................ Adding template match: root/author[@location='UK'] Pattern: [XPathPattern: text: root/author[@location='UK'] Pattern: org.jaxen.pattern.LocationPathPattern@e9001fc[ absolute: false parent: org.jaxen.pattern.NameTest@7e1aacb6[ name: root type: 1 ] ancestor: null filters: [[(DefaultFilterExpr): expr: null predicates: org.jaxen.expr.PredicateSet@5e83bd84 ]] nodeTest: org.jaxen.pattern.NameTest@6ccfd4ff[ name: author type: 1 ] ]] ........................................ Adding template match: root//author[@location='UK'] Pattern: [XPathPattern: text: root//author[@location='UK'] Pattern: org.jaxen.pattern.LocationPathPattern@62dea77b[ absolute: false parent: null ancestor: org.jaxen.pattern.LocationPathPattern@498ad88a[ absolute: false parent: org.jaxen.pattern.NameTest@a2633a2[ name: root type: 1 ] ancestor: null filters: null nodeTest: org.jaxen.pattern.NodeTypeTest@1bd89be8[ type: 1 ] ] filters: [[(DefaultFilterExpr): expr: null predicates: org.jaxen.expr.PredicateSet@185c7635 ]] nodeTest: org.jaxen.pattern.NameTest@faeef3a[ 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@107f28cd [Text: "James Strachan"] ........................................ Matched pattern: * Node: http://sourceforge.net/users/jstrachan/ ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@2bffa243 [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@50e984d7 [Text: "Bob McWhirter"] ........................................ Matched pattern: * Node: http://sourceforge.net/users/werken/ ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@284666cf [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@1cdc074b[ name: foo type: 1 ]] action: null ] rule2: org.dom4j.rule.Rule@0[ pattern: [XPathPattern: text: * Pattern: org.jaxen.pattern.NodeTypeTest@1bd89be8[ type: 1 ]] action: null ] Comparison: 1 parsing: * expr: * has priority: -0.5 pattern: [XPathPattern: text: * Pattern: org.jaxen.pattern.NodeTypeTest@1bd89be8[ 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@168d823[ absolute: false parent: null ancestor: null filters: [[(DefaultFilterExpr): expr: null predicates: org.jaxen.expr.PredicateSet@37c494fe ]] nodeTest: org.jaxen.pattern.NameTest@46f9c78b[ name: foo type: 1 ] ]] parsing: foo expr: foo has priority: 0.0 pattern: [XPathPattern: text: foo Pattern: org.jaxen.pattern.NameTest@29238c0d[ name: foo type: 1 ]] parsing: foo:* expr: foo:* has priority: -0.25 pattern: [XPathPattern: text: foo:* Pattern: org.jaxen.pattern.NamespaceTest@20707ea9[ prefix: foo type: 1 ]] Element content is now: [org.dom4j.tree.DefaultElement@34d48c86 [Element: ], org.dom4j.tree.DefaultElement@480b9ad0 [Element: ], org.dom4j.tree.DefaultElement@3ae9f811 [Element: ], org.dom4j.tree.DefaultElement@5cf98e0d [Element: ]] James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/Element content is now: [org.dom4j.tree.DefaultText@4ea92823 [Text: "James Strachan"], org.dom4j.tree.DefaultElement@6289cda [Element: ], org.dom4j.tree.DefaultElement@5e305e1d [Element: ], org.dom4j.tree.DefaultElement@3bd88028 [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@17275013 [Element: ] userData: 1.23456 Expected DocumentType: org.dom4j.tree.DefaultDocumentType@4624e79a [DocumentType: ] Actual DocumentType: org.dom4j.tree.DefaultDocumentType@7e1ee1a5 [DocumentType: ] Expected DocumentType: org.dom4j.tree.DefaultDocumentType@709dc5b [DocumentType: ] Actual DocumentType: org.dom4j.tree.DefaultDocumentType@e1306d6 [DocumentType: ] Expected DocumentType: org.dom4j.tree.DefaultDocumentType@44b2e9be [DocumentType: ] Actual DocumentType: org.dom4j.tree.DefaultDocumentType@52016248 [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@2ed22c69 [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@1e0d1477 [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@1e0d1477 [Element: ] Found element: org.dom4j.tree.DefaultElement@1e0d1477 [Element: ] Found elements: [org.dom4j.tree.DefaultElement@1e0d1477 [Element: ]] Found value: works text with an ü in it text with an ü in it text with an ? in it Different NS Multi took 50 ms Same NS Multi took 12 ms Different NS Single took 49 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@7b079074 [Element: ], org.dom4j.tree.DefaultElement@6b404f13 [Element: ]] Using XPath: //field[substring(@id,3)='11'] Found: [org.dom4j.tree.DefaultElement@7c2cc88 [Element: ], org.dom4j.tree.DefaultElement@24fec6d9 [Element: ]] Searched path: attribute::* found: 0 result(s) Searched path: /root/author/attribute::* found: 4 result(s) Found Result: org.dom4j.tree.DefaultAttribute@214e60df [Attribute: name location value "UK"] Found Result: org.dom4j.tree.DefaultAttribute@6cd63495 [Attribute: name name value "James"] Found Result: org.dom4j.tree.DefaultAttribute@58f1f5cc [Attribute: name location value "Canada"] Found Result: org.dom4j.tree.DefaultAttribute@46944003 [Attribute: name name value "Bob"] Searched path: //attribute::* found: 4 result(s) Found Result: org.dom4j.tree.DefaultAttribute@214e60df [Attribute: name location value "UK"] Found Result: org.dom4j.tree.DefaultAttribute@6cd63495 [Attribute: name name value "James"] Found Result: org.dom4j.tree.DefaultAttribute@58f1f5cc [Attribute: name location value "Canada"] Found Result: org.dom4j.tree.DefaultAttribute@46944003 [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@718ad3fd [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@4999004b [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@688b308a [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@663d2da5 [Text: "James Strachan"] Found Result: org.dom4j.tree.DefaultText@50a7d972 [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@66dce06a [Namespace: prefix xml mapped to URI "http://www.w3.org/XML/1998/namespace"] Parent node: org.dom4j.tree.DefaultElement@12b503a2 [Element: ] Found Result: org.dom4j.tree.DefaultNamespace@5ff694dc [Namespace: prefix xpl mapped to URI "www.xxxx.com"] Parent node: org.dom4j.tree.DefaultElement@12b503a2 [Element: ] Found Result: org.dom4j.tree.DefaultNamespace@5fcf7a28 [Namespace: prefix xplt mapped to URI "www.xxxx.com"] Parent node: org.dom4j.tree.DefaultElement@12b503a2 [Element: ] Searched path: /Template/Application1/namespace::xplt found: 1 result(s) Found Result: org.dom4j.tree.DefaultNamespace@5fcf7a28 [Namespace: prefix xplt mapped to URI "www.xxxx.com"] Parent node: org.dom4j.tree.DefaultElement@12b503a2 [Element: ] Searched path: //namespace::* found: 25 result(s) Found Result: org.dom4j.tree.DefaultNamespace@2819766a [Namespace: prefix xml mapped to URI "http://www.w3.org/XML/1998/namespace"] Parent node: org.dom4j.tree.DefaultElement@5c7095a2 [Element: