D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/dom4j-2.0.0-2.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.T6iBOt + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf dom4j-2.0.0 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/v2.0.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dom4j-2.0.0 + /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.0.pom pom.xml + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_dep javax.xml.stream:stax-api::provided + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_dep net.java.dev.msv:xsdlib::provided + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_dep xpp3:xpp3::provided + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_dep javax.xml.bind:jaxb-api::provided + rm -r src/main/java/org/dom4j/xpp + rm src/main/java/org/dom4j/io/XPPReader.java + rm src/test/java/org/dom4j/util/PerThreadSingletonTest.java + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.56YJuk + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd dom4j-2.0.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/python3 /usr/share/java-utils/mvn_build.py -- -Dproject.build.sourceEncoding=UTF-8 Executing: xmvn --batch-mode --offline -Dproject.build.sourceEncoding=UTF-8 verify org.fedoraproject.xmvn:xmvn-mojo:install org.apache.maven.plugins:maven-javadoc-plugin:aggregate org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', '-Dproject.build.sourceEncoding=UTF-8', 'verify', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.apache.maven.plugins:maven-javadoc-plugin:aggregate', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building dom4j 2.0.0 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ dom4j --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ dom4j --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 177 source files to /home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/target/classes [INFO] /home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/src/main/java/org/dom4j/xpath/DefaultXPath.java: /home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/src/main/java/org/dom4j/xpath/DefaultXPath.java uses or overrides a deprecated API. [INFO] /home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/src/main/java/org/dom4j/xpath/DefaultXPath.java: Recompile with -Xlint:deprecation for details. [INFO] /home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/src/main/java/org/dom4j/DocumentFactory.java: Some input files use unchecked or unsafe operations. [INFO] /home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/src/main/java/org/dom4j/DocumentFactory.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.0.1:testResources (default-testResources) @ dom4j --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ dom4j --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 92 source files to /home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/target/test-classes [INFO] /home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/src/test/java/org/dom4j/datatype/AbstractDataTypeTestCase.java: Some input files use unchecked or unsafe operations. [INFO] /home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/src/test/java/org/dom4j/datatype/AbstractDataTypeTestCase.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ dom4j --- ------------------------------------------------------- T E S T S ------------------------------------------------------- Running TestSuite Expected DocumentType: org.dom4j.tree.DefaultDocumentType@66de00f2 [DocumentType: ] Actual DocumentType: org.dom4j.tree.DefaultDocumentType@6c479fdf [DocumentType: ] Expected DocumentType: org.dom4j.tree.DefaultDocumentType@ffd4cba [DocumentType: ] Actual DocumentType: org.dom4j.tree.DefaultDocumentType@5f1483fd [DocumentType: ] Expected DocumentType: org.dom4j.tree.DefaultDocumentType@bfec2f9 [DocumentType: ] Actual DocumentType: org.dom4j.tree.DefaultDocumentType@708eb310 [DocumentType: ] Searched path: //author Found : 2 result(s) Results [ James Strachanhttp://sourceforge.net/users/jstrachan/ Bob McWhirterhttp://sourceforge.net/users/werken/ ] ........................................... Loaded document: xml/test/test_text.xml Context is now: org.dom4j.tree.DefaultDocument@68699afc [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/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@3a2e9f5b [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/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@631cb129 [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/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@4ceff87d [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/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@45c9b3 [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/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@38b3f208 [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/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@7d97e06c [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@217bf99e [Element: ] Path: preceding::* found result size: 3 Context is now: org.dom4j.tree.DefaultElement@217bf99e [Element: ] Path: following::* found result size: 13 Loaded document: xml/axis.xml Context is now: org.dom4j.tree.DefaultElement@64c781a9 [Element: ] Path: preceding-sibling::* found result size: 0 Context is now: org.dom4j.tree.DefaultElement@71ed560f [Element: ] Path: preceding::* found result size: 2 Context is now: org.dom4j.tree.DefaultElement@71ed560f [Element: ] Path: preceding-sibling::* found result size: 2 Context is now: org.dom4j.tree.DefaultDocument@5b88b8e [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/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@5b88b8e [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/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@58253c57 [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/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@62a68bcb [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/xml/web.xml] Path: web-app/servlet found result size: 2 match: / Context is now: org.dom4j.tree.DefaultElement@493da830 [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@2c63762b [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@78422efb [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/xml/web.xml] Context is now: org.dom4j.tree.DefaultElement@64942607 [Element: ] Loaded document: xml/test/sample.xml Context is now: org.dom4j.tree.DefaultElement@6a5e167a [Element: ] Loaded document: xml/web.xml Context is now: org.dom4j.tree.DefaultDocument@66a5755 [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/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@771a7d53 [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@6d6d480c [Element: ] Path: doc-id[@regsrc='AP' and @id-string='D76UIMO80'] found result size: 1 Context is now: org.dom4j.tree.DefaultElement@7e4579c7 [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@cedee22 [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/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@59b32539 [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/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@662e682a [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/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@28e0e464 [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/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@144ab983 [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/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@36790bec [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@461c3709 [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@7e3d7dd [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@3f63a513 [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@413bef78 [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@53f0d09c [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/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@53f0d09c [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/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@47acd13b [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@6f8e9d06 [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/xml/test/defaultNamespace.xml] Path: /a/b/c found result size: 0 Loaded document: xml/testNamespaces.xml Context is now: org.dom4j.tree.DefaultDocument@77d381e6 [Document: name file:///home/pterjan/rpmbuild/BUILD/dom4j-2.0.0/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@733c464f [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
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
No adjacent Text nodes in test < one >]]> test two test three test four test five test six test seven 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
Node: org.dom4j.tree.DefaultAttribute@3a8cea24 [Attribute: name name value "James"] Parent: org.dom4j.tree.DefaultElement@1eb9a3ef [Element: ] getParent(): org.dom4j.tree.DefaultElement@1eb9a3ef [Element: ] Node: org.dom4j.tree.DefaultAttribute@5d318e91 [Attribute: name location value "UK"] Parent: org.dom4j.tree.DefaultElement@1eb9a3ef [Element: ] getParent(): org.dom4j.tree.DefaultElement@1eb9a3ef [Element: ] Node: org.dom4j.tree.DefaultText@298b64f7 [Text: "James Strachan"] Parent: org.dom4j.tree.DefaultElement@1eb9a3ef [Element: ] getParent(): org.dom4j.tree.DefaultElement@1eb9a3ef [Element: ] Node: org.dom4j.tree.DefaultText@740b6628 [Text: "http://sourceforge.net/users/jstrachan/"] Parent: org.dom4j.tree.DefaultElement@27fe059d [Element: ] getParent(): org.dom4j.tree.DefaultElement@27fe059d [Element: ] Node: org.dom4j.tree.DefaultElement@27fe059d [Element: ] Parent: org.dom4j.tree.DefaultElement@1eb9a3ef [Element: ] getParent(): org.dom4j.tree.DefaultElement@1eb9a3ef [Element: ] Node: org.dom4j.tree.DefaultElement@1eb9a3ef [Element: ] Parent: org.dom4j.tree.DefaultElement@766a52f5 [Element: ] getParent(): org.dom4j.tree.DefaultElement@766a52f5 [Element: ] Node: org.dom4j.tree.DefaultAttribute@4342c13 [Attribute: name name value "Bob"] Parent: org.dom4j.tree.DefaultElement@2ba1209b [Element: ] getParent(): org.dom4j.tree.DefaultElement@2ba1209b [Element: ] Node: org.dom4j.tree.DefaultAttribute@7c241a9f [Attribute: name location value "Canada"] Parent: org.dom4j.tree.DefaultElement@2ba1209b [Element: ] getParent(): org.dom4j.tree.DefaultElement@2ba1209b [Element: ] Node: org.dom4j.tree.DefaultText@58fd1214 [Text: "Bob McWhirter"] Parent: org.dom4j.tree.DefaultElement@2ba1209b [Element: ] getParent(): org.dom4j.tree.DefaultElement@2ba1209b [Element: ] Node: org.dom4j.tree.DefaultText@7d8cf9ac [Text: "http://sourceforge.net/users/werken/"] Parent: org.dom4j.tree.DefaultElement@5f0bab7e [Element: ] getParent(): org.dom4j.tree.DefaultElement@5f0bab7e [Element: ] Node: org.dom4j.tree.DefaultElement@5f0bab7e [Element: ] Parent: org.dom4j.tree.DefaultElement@2ba1209b [Element: ] getParent(): org.dom4j.tree.DefaultElement@2ba1209b [Element: ] Node: org.dom4j.tree.DefaultElement@2ba1209b [Element: ] Parent: org.dom4j.tree.DefaultElement@766a52f5 [Element: ] getParent(): org.dom4j.tree.DefaultElement@766a52f5 [Element: ] Node: org.dom4j.tree.DefaultElement@2921a36a [Element: ] Parent: org.dom4j.tree.DefaultElement@2b73bd6b [Element: ] getParent(): org.dom4j.tree.DefaultElement@2b73bd6b [Element: ] Node: org.dom4j.tree.DefaultElement@157d3a45 [Element: ] Parent: org.dom4j.tree.DefaultElement@2b73bd6b [Element: ] getParent(): org.dom4j.tree.DefaultElement@2b73bd6b [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. parsing: * expr: * has priority: -0.5 pattern: [XPathPattern: text: * Pattern: org.jaxen.pattern.NodeTypeTest@2dafae61[ 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@4bb1b96b[ absolute: false parent: null ancestor: null filters: [[(DefaultFilterExpr): expr: null predicates: org.jaxen.expr.PredicateSet@1bbddada ]] nodeTest: org.jaxen.pattern.NameTest@1f66d8e1[ name: foo type: 1 ] ]] parsing: foo expr: foo has priority: 0.0 pattern: [XPathPattern: text: foo Pattern: org.jaxen.pattern.NameTest@41bfa9e9[ name: foo type: 1 ]] parsing: foo:* expr: foo:* has priority: -0.25 pattern: [XPathPattern: text: foo:* Pattern: org.jaxen.pattern.NamespaceTest@4a070cf0[ prefix: foo type: 1 ]] 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] [ ] ........................................... 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 parsing: foo and * rule1: org.dom4j.rule.Rule@0[ pattern: [XPathPattern: text: foo Pattern: org.jaxen.pattern.NameTest@697d6ded[ name: foo type: 1 ]] action: null ] rule2: org.dom4j.rule.Rule@0[ pattern: [XPathPattern: text: * Pattern: org.jaxen.pattern.NodeTypeTest@2dafae61[ type: 1 ]] action: null ] Comparison: 1
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 Adding template match: / Pattern: [XPathPattern: text: / Pattern: org.jaxen.pattern.NodeTypeTest@5f61371d[ type: 9 ]] ........................................ Adding template match: title Pattern: [XPathPattern: text: title Pattern: org.jaxen.pattern.NameTest@420a8042[ name: title type: 1 ]] ........................................ Adding template match: para Pattern: [XPathPattern: text: para Pattern: org.jaxen.pattern.NameTest@3292d91a[ name: para type: 1 ]] ........................................ Adding template match: * Pattern: [XPathPattern: text: * Pattern: org.jaxen.pattern.NodeTypeTest@2dafae61[ type: 1 ]] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultAttribute@5921b93c [Attribute: name author value "James Elson"] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@faea4da [Text: " "] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@19b02dfd [Text: "Bwahahahah!"] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@3dce6dd8 [Text: " "] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@69f2cb04 [Text: "Twas a dark, rainy night..."] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@13803a94 [Text: " "] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@b4732dc [Text: "dfjsdfjsdf"] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@45292ec1 [Text: " "] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@3a7c678b [Text: "fdsfsdfhdsff gyuf uysgf ds"] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@28babeca [Text: " "] ........................................ Adding template match: / Pattern: [XPathPattern: text: / Pattern: org.jaxen.pattern.NodeTypeTest@5f61371d[ type: 9 ]] ........................................ Adding template match: * Pattern: [XPathPattern: text: * Pattern: org.jaxen.pattern.NodeTypeTest@2dafae61[ type: 1 ]] ........................................ Adding template match: root Pattern: [XPathPattern: text: root Pattern: org.jaxen.pattern.NameTest@168ad26f[ name: root type: 1 ]] ........................................ Adding template match: author Pattern: [XPathPattern: text: author Pattern: org.jaxen.pattern.NameTest@4f93bf0a[ name: author type: 1 ]] ........................................ Adding template match: @name Pattern: [XPathPattern: text: @name Pattern: org.jaxen.pattern.NameTest@322204dc[ name: name type: 2 ]] ........................................ Adding template match: root/author Pattern: [XPathPattern: text: root/author Pattern: org.jaxen.pattern.LocationPathPattern@656a3d6b[ absolute: false parent: org.jaxen.pattern.NameTest@25b38203[ name: root type: 1 ] ancestor: null filters: null nodeTest: org.jaxen.pattern.NameTest@778a1250[ name: author type: 1 ] ]] ........................................ Adding template match: author[@location='UK'] Pattern: [XPathPattern: text: author[@location='UK'] Pattern: org.jaxen.pattern.LocationPathPattern@55acec99[ absolute: false parent: null ancestor: null filters: [[(DefaultFilterExpr): expr: null predicates: org.jaxen.expr.PredicateSet@61191222 ]] nodeTest: org.jaxen.pattern.NameTest@58833798[ name: author type: 1 ] ]] ........................................ Adding template match: root/author[@location='UK'] Pattern: [XPathPattern: text: root/author[@location='UK'] Pattern: org.jaxen.pattern.LocationPathPattern@7f3ca64a[ absolute: false parent: org.jaxen.pattern.NameTest@4d464510[ name: root type: 1 ] ancestor: null filters: [[(DefaultFilterExpr): expr: null predicates: org.jaxen.expr.PredicateSet@64e7d698 ]] nodeTest: org.jaxen.pattern.NameTest@2519026b[ name: author type: 1 ] ]] ........................................ Adding template match: root//author[@location='UK'] Pattern: [XPathPattern: text: root//author[@location='UK'] Pattern: org.jaxen.pattern.LocationPathPattern@3f8dfe74[ absolute: false parent: null ancestor: org.jaxen.pattern.LocationPathPattern@401c4250[ absolute: false parent: org.jaxen.pattern.NameTest@1a950fdd[ name: root type: 1 ] ancestor: null filters: null nodeTest: org.jaxen.pattern.NodeTypeTest@2dafae61[ type: 1 ] ] filters: [[(DefaultFilterExpr): expr: null predicates: org.jaxen.expr.PredicateSet@77724cbe ]] nodeTest: org.jaxen.pattern.NameTest@27dc627a[ 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@570ba13 [Text: "James Strachan"] ........................................ Matched pattern: * Node: http://sourceforge.net/users/jstrachan/ ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@37a9b687 [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@525b1b70 [Text: "Bob McWhirter"] ........................................ Matched pattern: * Node: http://sourceforge.net/users/werken/ ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@16d07cf3 [Text: "http://sourceforge.net/users/werken/"] ........................................ Finished Initial: node with text another node Normalized: node with text another node text with an ? in it text with an ? in it text with an ? in it Using XPath: //field[substring(@id,1,2)='11'] Found: [org.dom4j.tree.DefaultElement@ea7a4c3 [Element: ], org.dom4j.tree.DefaultElement@6af5b246 [Element: ]] Using XPath: //field[substring(@id,3)='11'] Found: [org.dom4j.tree.DefaultElement@8054fe2 [Element: ], org.dom4j.tree.DefaultElement@515b9d4a [Element: ]] Searched path: namespace::* found: 0 result(s) Searched path: /Template/Application1/namespace::* found: 3 result(s) Found Result: org.dom4j.tree.DefaultNamespace@bb4a005 [Namespace: prefix xml mapped to URI "http://www.w3.org/XML/1998/namespace"] Parent node: org.dom4j.tree.DefaultElement@7fdd43cd [Element: ] Found Result: org.dom4j.tree.DefaultNamespace@329ed4b3 [Namespace: prefix xpl mapped to URI "www.xxxx.com"] Parent node: org.dom4j.tree.DefaultElement@7fdd43cd [Element: ] Found Result: org.dom4j.tree.DefaultNamespace@32a73a47 [Namespace: prefix xplt mapped to URI "www.xxxx.com"] Parent node: org.dom4j.tree.DefaultElement@7fdd43cd [Element: ] Searched path: /Template/Application1/namespace::xplt found: 1 result(s) Found Result: org.dom4j.tree.DefaultNamespace@32a73a47 [Namespace: prefix xplt mapped to URI "www.xxxx.com"] Parent node: org.dom4j.tree.DefaultElement@7fdd43cd [Element: ] Searched path: //namespace::* found: 25 result(s) Found Result: org.dom4j.tree.DefaultNamespace@680b6ca2 [Namespace: prefix xml mapped to URI "http://www.w3.org/XML/1998/namespace"] Parent node: org.dom4j.tree.DefaultElement@1c628f6a [Element: