Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/dom4j.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1644121399.253077/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1s25j0_z:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1s25j0_z:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e5d8eac50b364cc18dfeca99365e056c', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1644121399.253077/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1s25j0_z:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/dom4j.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1644019200 Wrote: /builddir/build/SRPMS/dom4j-2.0.3-4.fc36.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/dom4j.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1644121399.253077/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1s25j0_z:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1s25j0_z:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '349414fccc0e40aa93cb631cb859d87d', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1644121399.253077/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1s25j0_z:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/dom4j.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1644019200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.A7LhAN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dom4j-version-2.0.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/version-2.0.3.tar.gz + /usr/bin/tar -xof - + 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 /builddir/build/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 /var/tmp/rpm-tmp.jFpRF5 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/dom4j-version-2.0.3/.package_note-dom4j-2.0.3-4.fc36.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh dom4j 2.0.3-4.fc36 x86_64 + cd dom4j-version-2.0.3 + /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 /builddir/build/BUILD/dom4j-version-2.0.3/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ dom4j --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 169 source files to /builddir/build/BUILD/dom4j-version-2.0.3/target/classes [INFO] /builddir/build/BUILD/dom4j-version-2.0.3/src/main/java/org/dom4j/xpath/XPathPattern.java: Some input files use or override a deprecated API. [INFO] /builddir/build/BUILD/dom4j-version-2.0.3/src/main/java/org/dom4j/xpath/XPathPattern.java: Recompile with -Xlint:deprecation for details. [INFO] /builddir/build/BUILD/dom4j-version-2.0.3/src/main/java/org/dom4j/QName.java: Some input files use unchecked or unsafe operations. [INFO] /builddir/build/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 /builddir/build/BUILD/dom4j-version-2.0.3/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ dom4j --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 84 source files to /builddir/build/BUILD/dom4j-version-2.0.3/target/test-classes [INFO] /builddir/build/BUILD/dom4j-version-2.0.3/src/test/java/org/dom4j/UserDataTest.java: Some input files use or override a deprecated API that is marked for removal. [INFO] /builddir/build/BUILD/dom4j-version-2.0.3/src/test/java/org/dom4j/UserDataTest.java: Recompile with -Xlint:removal for details. [INFO] /builddir/build/BUILD/dom4j-version-2.0.3/src/test/java/org/dom4j/CloneTest.java: Some input files use unchecked or unsafe operations. [INFO] /builddir/build/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-M4:test (default-test) @ dom4j --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running TestSuite 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 Loaded document: xml/test/test_text.xml Context is now: org.dom4j.tree.DefaultDocument@106e5abe [Document: name file:///builddir/build/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@5498c575 [Document: name file:///builddir/build/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@662f5d78 [Document: name file:///builddir/build/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@33ec70dd [Document: name file:///builddir/build/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@4e3ee766 [Document: name file:///builddir/build/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@4b8505e9 [Document: name file:///builddir/build/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@5431bc5b [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@76b25924 [Element: ] Path: preceding::* found result size: 3 Context is now: org.dom4j.tree.DefaultElement@76b25924 [Element: ] Path: following::* found result size: 13 Loaded document: xml/axis.xml Context is now: org.dom4j.tree.DefaultElement@5a3d3461 [Element: ] Path: preceding-sibling::* found result size: 0 Context is now: org.dom4j.tree.DefaultElement@78cf810d [Element: ] Path: preceding::* found result size: 2 Context is now: org.dom4j.tree.DefaultElement@78cf810d [Element: ] Path: preceding-sibling::* found result size: 2 Context is now: org.dom4j.tree.DefaultDocument@647e335b [Document: name file:///builddir/build/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@647e335b [Document: name file:///builddir/build/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@47221c93 [Document: name file:///builddir/build/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@679b9eef [Document: name file:///builddir/build/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@326aa73a [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@31170821 [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@7d520599 [Document: name file:///builddir/build/BUILD/dom4j-version-2.0.3/xml/web.xml] Context is now: org.dom4j.tree.DefaultElement@793ed304 [Element: ] Loaded document: xml/test/sample.xml Context is now: org.dom4j.tree.DefaultElement@21075926 [Element: ] Loaded document: xml/web.xml Context is now: org.dom4j.tree.DefaultDocument@5a9efa59 [Document: name file:///builddir/build/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@568ffed1 [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@2104e947 [Element: ] Path: doc-id[@regsrc='AP' and @id-string='D76UIMO80'] found result size: 1 Context is now: org.dom4j.tree.DefaultElement@3ca27a2e [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@57664ae1 [Document: name file:///builddir/build/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@30647e03 [Document: name file:///builddir/build/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@6e75d52a [Document: name file:///builddir/build/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@61781c28 [Document: name file:///builddir/build/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@35badbfc [Document: name file:///builddir/build/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@587be9a0 [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@294e681c [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@7bdc9fc8 [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@333c7e39 [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@340da717 [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@584d6abd [Document: name file:///builddir/build/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@584d6abd [Document: name file:///builddir/build/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@714ab889 [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@71b03690 [Document: name file:///builddir/build/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@1562ea4d [Document: name file:///builddir/build/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@3982d511 [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 Element content is now: [org.dom4j.tree.DefaultElement@5fdcdb9f [Element: ], org.dom4j.tree.DefaultElement@32040e99 [Element: ], org.dom4j.tree.DefaultElement@76211ef0 [Element: ], org.dom4j.tree.DefaultElement@993cff [Element: ]] James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/Element content is now: [org.dom4j.tree.DefaultText@5fa8a9eb [Text: "James Strachan"], org.dom4j.tree.DefaultElement@4fdb2194 [Element: ], org.dom4j.tree.DefaultElement@169f0825 [Element: ], org.dom4j.tree.DefaultElement@dbe3b8 [Element: ]] James Strachanhttp://sourceforge.net/users/jstrachan/ 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 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 Node: org.dom4j.tree.DefaultAttribute@635d34a9 [Attribute: name name value "James"] Parent: org.dom4j.tree.DefaultElement@74a5e626 [Element: ] getParent(): org.dom4j.tree.DefaultElement@74a5e626 [Element: ] Node: org.dom4j.tree.DefaultAttribute@3c93c327 [Attribute: name location value "UK"] Parent: org.dom4j.tree.DefaultElement@74a5e626 [Element: ] getParent(): org.dom4j.tree.DefaultElement@74a5e626 [Element: ] Node: org.dom4j.tree.DefaultText@c37b17f [Text: "James Strachan"] Parent: org.dom4j.tree.DefaultElement@74a5e626 [Element: ] getParent(): org.dom4j.tree.DefaultElement@74a5e626 [Element: ] Node: org.dom4j.tree.DefaultText@645342c [Text: "http://sourceforge.net/users/jstrachan/"] Parent: org.dom4j.tree.DefaultElement@5d8a6614 [Element: ] getParent(): org.dom4j.tree.DefaultElement@5d8a6614 [Element: ] Node: org.dom4j.tree.DefaultElement@5d8a6614 [Element: ] Parent: org.dom4j.tree.DefaultElement@74a5e626 [Element: ] getParent(): org.dom4j.tree.DefaultElement@74a5e626 [Element: ] Node: org.dom4j.tree.DefaultElement@74a5e626 [Element: ] Parent: org.dom4j.tree.DefaultElement@7fa20c79 [Element: ] getParent(): org.dom4j.tree.DefaultElement@7fa20c79 [Element: ] Node: org.dom4j.tree.DefaultAttribute@4eaff6bb [Attribute: name name value "Bob"] Parent: org.dom4j.tree.DefaultElement@61e45f16 [Element: ] getParent(): org.dom4j.tree.DefaultElement@61e45f16 [Element: ] Node: org.dom4j.tree.DefaultAttribute@6fd02ff8 [Attribute: name location value "Canada"] Parent: org.dom4j.tree.DefaultElement@61e45f16 [Element: ] getParent(): org.dom4j.tree.DefaultElement@61e45f16 [Element: ] Node: org.dom4j.tree.DefaultText@7e37bf [Text: "Bob McWhirter"] Parent: org.dom4j.tree.DefaultElement@61e45f16 [Element: ] getParent(): org.dom4j.tree.DefaultElement@61e45f16 [Element: ] Node: org.dom4j.tree.DefaultText@31d51325 [Text: "http://sourceforge.net/users/werken/"] Parent: org.dom4j.tree.DefaultElement@728ae6e6 [Element: ] getParent(): org.dom4j.tree.DefaultElement@728ae6e6 [Element: ] Node: org.dom4j.tree.DefaultElement@728ae6e6 [Element: ] Parent: org.dom4j.tree.DefaultElement@61e45f16 [Element: ] getParent(): org.dom4j.tree.DefaultElement@61e45f16 [Element: ] Node: org.dom4j.tree.DefaultElement@61e45f16 [Element: ] Parent: org.dom4j.tree.DefaultElement@7fa20c79 [Element: ] getParent(): org.dom4j.tree.DefaultElement@7fa20c79 [Element: ] Node: org.dom4j.tree.DefaultElement@742cddf8 [Element: ] Parent: org.dom4j.tree.DefaultElement@51b4a84d [Element: ] getParent(): org.dom4j.tree.DefaultElement@51b4a84d [Element: ] Node: org.dom4j.tree.DefaultElement@10fb1473 [Element: ] Parent: org.dom4j.tree.DefaultElement@51b4a84d [Element: ] getParent(): org.dom4j.tree.DefaultElement@51b4a84d [Element: ] Searched path: . [ James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ ] ........................................... Searched path: * [ James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ ] ........................................... Searched path: / [ James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ ] ........................................... Searched path: /. [ James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ ] ........................................... Searched path: /* [ James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ ] ........................................... Searched path: /node() [ James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ ] ........................................... Searched path: /child::node() [ James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ ] ........................................... Searched path: /self::node() [ James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ ] ........................................... Searched path: root [ James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ ] ........................................... Searched path: /root [ James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ ] ........................................... Searched path: /root/author [ James Strachanhttp://sourceforge.net/users/jstrachan/ Bob McWhirterhttp://sourceforge.net/users/werken/ ] ........................................... Searched path: text() [ ] ........................................... Searched path: //author [ James Strachanhttp://sourceforge.net/users/jstrachan/ Bob McWhirterhttp://sourceforge.net/users/werken/ ] ........................................... Searched path: //author/text() [ James Strachan Bob McWhirter ] ........................................... Searched path: //@location [ location="UK" location="Canada" ] ........................................... Searched path: //attribute::* [ location="UK" name="James" location="Canada" name="Bob" ] ........................................... Searched path: //namespace::* [ xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:xml="http://www.w3.org/XML/1998/namespace" ] ........................................... Searched path: normalize-space(/root) [ James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ ] ........................................... Searched path: //author[@location] [ James Strachanhttp://sourceforge.net/users/jstrachan/ Bob McWhirterhttp://sourceforge.net/users/werken/ ] ........................................... Searched path: //author[@location='UK'] [ James Strachanhttp://sourceforge.net/users/jstrachan/ ] ........................................... Searched path: root|author [ James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ ] ........................................... Searched path: //*[.='James Strachan'] [ ] ........................................... Searched path: //root/author[1] [ James Strachanhttp://sourceforge.net/users/jstrachan/ ] ........................................... Searched path: normalize-space(/root/author) [ James Strachanhttp://sourceforge.net/users/jstrachan/ ] ........................................... Searched path: normalize-space(' a b c d ') [ a b c d ] ........................................... Searched path: //root|//author[1]|//author[2] [ James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ James Strachanhttp://sourceforge.net/users/jstrachan/ Bob McWhirterhttp://sourceforge.net/users/werken/ ] ........................................... Searched path: //root/author[2] [ Bob McWhirterhttp://sourceforge.net/users/werken/ ] ........................................... Searched path: //root/author[3] [ ] ........................................... Converting to a W3C Document took: 0 milliseconds elements: 33 attributes: 26 characters: 588 parsing: * expr: * has priority: -0.5 pattern: [XPathPattern: text: * Pattern: org.jaxen.pattern.NodeTypeTest@420efd47[ 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@41ada8a6[ absolute: false parent: null ancestor: null filters: [[(DefaultFilterExpr): expr: null predicates: org.jaxen.expr.PredicateSet@747c8111 ]] nodeTest: org.jaxen.pattern.NameTest@380bd3a7[ name: foo type: 1 ] ]] parsing: foo expr: foo has priority: 0.0 pattern: [XPathPattern: text: foo Pattern: org.jaxen.pattern.NameTest@1c2b4742[ name: foo type: 1 ]] parsing: foo:* expr: foo:* has priority: -0.25 pattern: [XPathPattern: text: foo:* Pattern: org.jaxen.pattern.NamespaceTest@33e607da[ prefix: foo type: 1 ]] parsing: foo and * rule1: org.dom4j.rule.Rule@0[ pattern: [XPathPattern: text: foo Pattern: org.jaxen.pattern.NameTest@15f10f25[ name: foo type: 1 ]] action: null ] rule2: org.dom4j.rule.Rule@0[ pattern: [XPathPattern: text: * Pattern: org.jaxen.pattern.NodeTypeTest@420efd47[ type: 1 ]] action: null ] Comparison: 1 Adding template match: / Pattern: [XPathPattern: text: / Pattern: org.jaxen.pattern.NodeTypeTest@5dcdaa58[ type: 9 ]] ........................................ Adding template match: title Pattern: [XPathPattern: text: title Pattern: org.jaxen.pattern.NameTest@259ac2ab[ name: title type: 1 ]] ........................................ Adding template match: para Pattern: [XPathPattern: text: para Pattern: org.jaxen.pattern.NameTest@434d7e06[ name: para type: 1 ]] ........................................ Adding template match: * Pattern: [XPathPattern: text: * Pattern: org.jaxen.pattern.NodeTypeTest@420efd47[ type: 1 ]] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultAttribute@5ab4791d [Attribute: name author value "James Elson"] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@2948777a [Text: " "] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@1dd911b [Text: "Bwahahahah!"] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@66429216 [Text: " "] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@1f477352 [Text: "Twas a dark, rainy night..."] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@755e2467 [Text: " "] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@1866269e [Text: "dfjsdfjsdf"] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@6ac6c5a6 [Text: " "] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@4e3fe64f [Text: "fdsfsdfhdsff gyuf uysgf ds"] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@4a469ef3 [Text: " "] ........................................ Adding template match: / Pattern: [XPathPattern: text: / Pattern: org.jaxen.pattern.NodeTypeTest@5dcdaa58[ type: 9 ]] ........................................ Adding template match: * Pattern: [XPathPattern: text: * Pattern: org.jaxen.pattern.NodeTypeTest@420efd47[ type: 1 ]] ........................................ Adding template match: root Pattern: [XPathPattern: text: root Pattern: org.jaxen.pattern.NameTest@3f8a11d7[ name: root type: 1 ]] ........................................ Adding template match: author Pattern: [XPathPattern: text: author Pattern: org.jaxen.pattern.NameTest@eb695f7[ name: author type: 1 ]] ........................................ Adding template match: @name Pattern: [XPathPattern: text: @name Pattern: org.jaxen.pattern.NameTest@70f933d4[ name: name type: 2 ]] ........................................ Adding template match: root/author Pattern: [XPathPattern: text: root/author Pattern: org.jaxen.pattern.LocationPathPattern@7bd004a3[ absolute: false parent: org.jaxen.pattern.NameTest@143bb6a7[ name: root type: 1 ] ancestor: null filters: null nodeTest: org.jaxen.pattern.NameTest@2e1880fa[ name: author type: 1 ] ]] ........................................ Adding template match: author[@location='UK'] Pattern: [XPathPattern: text: author[@location='UK'] Pattern: org.jaxen.pattern.LocationPathPattern@17c6717e[ absolute: false parent: null ancestor: null filters: [[(DefaultFilterExpr): expr: null predicates: org.jaxen.expr.PredicateSet@6c488a39 ]] nodeTest: org.jaxen.pattern.NameTest@250f9799[ name: author type: 1 ] ]] ........................................ Adding template match: root/author[@location='UK'] Pattern: [XPathPattern: text: root/author[@location='UK'] Pattern: org.jaxen.pattern.LocationPathPattern@4ffadc92[ absolute: false parent: org.jaxen.pattern.NameTest@6b130992[ name: root type: 1 ] ancestor: null filters: [[(DefaultFilterExpr): expr: null predicates: org.jaxen.expr.PredicateSet@43a25f8b ]] nodeTest: org.jaxen.pattern.NameTest@1a48ab39[ name: author type: 1 ] ]] ........................................ Adding template match: root//author[@location='UK'] Pattern: [XPathPattern: text: root//author[@location='UK'] Pattern: org.jaxen.pattern.LocationPathPattern@34feaae[ absolute: false parent: null ancestor: org.jaxen.pattern.LocationPathPattern@70e33ccc[ absolute: false parent: org.jaxen.pattern.NameTest@216c6b5c[ name: root type: 1 ] ancestor: null filters: null nodeTest: org.jaxen.pattern.NodeTypeTest@420efd47[ type: 1 ] ] filters: [[(DefaultFilterExpr): expr: null predicates: org.jaxen.expr.PredicateSet@7ea20d2b ]] nodeTest: org.jaxen.pattern.NameTest@24482cb[ 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@6b28cb13 [Text: "James Strachan"] ........................................ Matched pattern: * Node: http://sourceforge.net/users/jstrachan/ ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@29dc6ba1 [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@4779f0e4 [Text: "Bob McWhirter"] ........................................ Matched pattern: * Node: http://sourceforge.net/users/werken/ ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@618d701a [Text: "http://sourceforge.net/users/werken/"] ........................................ Finished Created: org.dom4j.tree.DefaultElement@116e959c [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. 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 Initial: node with text another node Normalized: node with text another node Found element: org.dom4j.tree.DefaultElement@72ddb47a [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@72ddb47a [Element: ] Found element: org.dom4j.tree.DefaultElement@72ddb47a [Element: ] Found elements: [org.dom4j.tree.DefaultElement@72ddb47a [Element: ]] Found value: works No adjacent Text nodes in test < one >]]> test two test three test four test five test six test seven root: org.dom4j.util.UserDataElement@71cbbfd4 [Element: ] userData: 1.23456 Searched path: //author Found : 2 result(s) Results [ James Strachanhttp://sourceforge.net/users/jstrachan/ Bob McWhirterhttp://sourceforge.net/users/werken/ ] ........................................... 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
line1 line2 <xsl:value-of select="JavaXML:Title"/> Expected DocumentType: org.dom4j.tree.DefaultDocumentType@32ae2974 [DocumentType: ] Actual DocumentType: org.dom4j.tree.DefaultDocumentType@54528790 [DocumentType: ] Expected DocumentType: org.dom4j.tree.DefaultDocumentType@452b2d6c [DocumentType: ] Actual DocumentType: org.dom4j.tree.DefaultDocumentType@588d8069 [DocumentType: ] Expected DocumentType: org.dom4j.tree.DefaultDocumentType@34a6a83d [DocumentType: ] Actual DocumentType: org.dom4j.tree.DefaultDocumentType@1cf808 [DocumentType: ] 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 Found element: squeak squeak squeak
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 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@2a58992e [Element: ], org.dom4j.tree.DefaultElement@4ffbc022 [Element: ]] Using XPath: //field[substring(@id,3)='11'] Found: [org.dom4j.tree.DefaultElement@b8543b9 [Element: ], org.dom4j.tree.DefaultElement@495dd12e [Element: ]] Searched path: attribute::* found: 0 result(s) Searched path: /root/author/attribute::* found: 4 result(s) Found Result: org.dom4j.tree.DefaultAttribute@24e6e392 [Attribute: name location value "UK"] Found Result: org.dom4j.tree.DefaultAttribute@3d65720f [Attribute: name name value "James"] Found Result: org.dom4j.tree.DefaultAttribute@789d9f6e [Attribute: name location value "Canada"] Found Result: org.dom4j.tree.DefaultAttribute@2d947352 [Attribute: name name value "Bob"] Searched path: //attribute::* found: 4 result(s) Found Result: org.dom4j.tree.DefaultAttribute@24e6e392 [Attribute: name location value "UK"] Found Result: org.dom4j.tree.DefaultAttribute@3d65720f [Attribute: name name value "James"] Found Result: org.dom4j.tree.DefaultAttribute@789d9f6e [Attribute: name location value "Canada"] Found Result: org.dom4j.tree.DefaultAttribute@2d947352 [Attribute: name name value "Bob"] Searched path: @name found: 0 result(s) Searched path: namespace::* found: 0 result(s) Searched path: /Template/Application1/namespace::* found: 3 result(s) Found Result: org.dom4j.tree.DefaultNamespace@700fe997 [Namespace: prefix xml mapped to URI "http://www.w3.org/XML/1998/namespace"] Parent node: org.dom4j.tree.DefaultElement@4660a5f [Element: ] Found Result: org.dom4j.tree.DefaultNamespace@49259d21 [Namespace: prefix xpl mapped to URI "www.xxxx.com"] Parent node: org.dom4j.tree.DefaultElement@4660a5f [Element: ] Found Result: org.dom4j.tree.DefaultNamespace@491c73d5 [Namespace: prefix xplt mapped to URI "www.xxxx.com"] Parent node: org.dom4j.tree.DefaultElement@4660a5f [Element: ] Searched path: /Template/Application1/namespace::xplt found: 1 result(s) Found Result: org.dom4j.tree.DefaultNamespace@491c73d5 [Namespace: prefix xplt mapped to URI "www.xxxx.com"] Parent node: org.dom4j.tree.DefaultElement@4660a5f [Element: ] Searched path: //namespace::* found: 25 result(s) Found Result: org.dom4j.tree.DefaultNamespace@7b528cc6 [Namespace: prefix xml mapped to URI "http://www.w3.org/XML/1998/namespace"] Parent node: org.dom4j.tree.DefaultElement@f3b6f0e [Element: