Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/dom4j.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/dist-c8-build-22282-1119/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/dom4j.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/dom4j-2.0.0-4.el8.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/dom4j.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/dist-c8-build-22282-1119/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/dom4j.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8cP1A3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dom4j-2.0.0 + /usr/bin/gzip -dc /builddir/build/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/libexec/platform-python /usr/share/java-utils/mvn_alias.py org.dom4j:dom4j dom4j:dom4j + /usr/libexec/platform-python /usr/share/java-utils/mvn_file.py : dom4j/dom4j dom4j + cp /builddir/build/SOURCES/dom4j-2.0.0.pom pom.xml + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_dep javax.xml.stream:stax-api::provided + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_dep net.java.dev.msv:xsdlib::provided + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_dep xpp3:xpp3::provided + /usr/libexec/platform-python /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 /var/tmp/rpm-tmp.BuSF6L + umask 022 + cd /builddir/build/BUILD + cd dom4j-2.0.0 + /usr/libexec/platform-python /usr/share/java-utils/mvn_build.py --xmvn-javadoc -- -Dproject.build.sourceEncoding=UTF-8 Executing: xmvn --batch-mode --offline -Dproject.build.sourceEncoding=UTF-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', '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.0 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ dom4j --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/dom4j-2.0.0/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ dom4j --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 177 source files to /builddir/build/BUILD/dom4j-2.0.0/target/classes [INFO] /builddir/build/BUILD/dom4j-2.0.0/src/main/java/org/dom4j/xpath/DefaultXPath.java: /builddir/build/BUILD/dom4j-2.0.0/src/main/java/org/dom4j/xpath/DefaultXPath.java uses or overrides a deprecated API. [INFO] /builddir/build/BUILD/dom4j-2.0.0/src/main/java/org/dom4j/xpath/DefaultXPath.java: Recompile with -Xlint:deprecation for details. [INFO] /builddir/build/BUILD/dom4j-2.0.0/src/main/java/org/dom4j/QName.java: Some input files use unchecked or unsafe operations. [INFO] /builddir/build/BUILD/dom4j-2.0.0/src/main/java/org/dom4j/QName.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ dom4j --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/dom4j-2.0.0/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ dom4j --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 92 source files to /builddir/build/BUILD/dom4j-2.0.0/target/test-classes [INFO] /builddir/build/BUILD/dom4j-2.0.0/src/test/java/org/dom4j/SerializeTest.java: Some input files use unchecked or unsafe operations. [INFO] /builddir/build/BUILD/dom4j-2.0.0/src/test/java/org/dom4j/SerializeTest.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ dom4j --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running TestSuite <xsl:value-of select="JavaXML:Title"/> 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 retrieved attribute 123 retrieved element:1.23 retrieved element:java.util.GregorianCalendar[time=?,areFieldsSet=false,areAllFieldsSet=false,lenient=true,zone=com.sun.msv.datatype.xsd.datetime.TimeZone$JavaZeroTimeZone[id=XSD 'Z' timezone,offset=0,dstSavings=3600000,useDaylight=false,startYear=0,startMode=0,startMonth=0,startDay=0,startDayOfWeek=0,startTime=0,startTimeMode=0,endMode=0,endMonth=0,endDay=0,endDayOfWeek=0,endTime=0,endTimeMode=0],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=?,YEAR=2001,MONTH=9,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=31,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=0,HOUR=0,HOUR_OF_DAY=0,MINUTE=0,SECOND=0,MILLISECOND=?,ZONE_OFFSET=?,DST_OFFSET=?] retrieved attribute 123 retrieved element:1.23 retrieved element:java.util.GregorianCalendar[time=?,areFieldsSet=false,areAllFieldsSet=false,lenient=true,zone=com.sun.msv.datatype.xsd.datetime.TimeZone$JavaZeroTimeZone[id=XSD 'Z' timezone,offset=0,dstSavings=3600000,useDaylight=false,startYear=0,startMode=0,startMonth=0,startDay=0,startDayOfWeek=0,startTime=0,startTimeMode=0,endMode=0,endMonth=0,endDay=0,endDayOfWeek=0,endTime=0,endTimeMode=0],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=?,YEAR=2001,MONTH=9,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=31,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=0,HOUR=0,HOUR_OF_DAY=0,MINUTE=0,SECOND=0,MILLISECOND=?,ZONE_OFFSET=?,DST_OFFSET=?] retrieved attribute 123 retrieved element:1.23 retrieved element:java.util.GregorianCalendar[time=?,areFieldsSet=false,areAllFieldsSet=false,lenient=true,zone=com.sun.msv.datatype.xsd.datetime.TimeZone$JavaZeroTimeZone[id=XSD 'Z' timezone,offset=0,dstSavings=3600000,useDaylight=false,startYear=0,startMode=0,startMonth=0,startDay=0,startDayOfWeek=0,startTime=0,startTimeMode=0,endMode=0,endMonth=0,endDay=0,endDayOfWeek=0,endTime=0,endTimeMode=0],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=?,YEAR=2001,MONTH=9,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=31,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=0,HOUR=0,HOUR_OF_DAY=0,MINUTE=0,SECOND=0,MILLISECOND=?,ZONE_OFFSET=?,DST_OFFSET=?] retrieved attribute 123 retrieved element:1.23 retrieved element:java.util.GregorianCalendar[time=?,areFieldsSet=false,areAllFieldsSet=false,lenient=true,zone=com.sun.msv.datatype.xsd.datetime.TimeZone$JavaZeroTimeZone[id=XSD 'Z' timezone,offset=0,dstSavings=3600000,useDaylight=false,startYear=0,startMode=0,startMonth=0,startDay=0,startDayOfWeek=0,startTime=0,startTimeMode=0,endMode=0,endMonth=0,endDay=0,endDayOfWeek=0,endTime=0,endTimeMode=0],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=?,YEAR=2001,MONTH=9,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=31,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=0,HOUR=0,HOUR_OF_DAY=0,MINUTE=0,SECOND=0,MILLISECOND=?,ZONE_OFFSET=?,DST_OFFSET=?] Found element: squeak squeak squeak
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
Created: org.dom4j.tree.DefaultElement@3f6f3cc [Element: ] Found attribute: org.dom4j.datatype.DatatypeAttribute1945886568 [Attribute: name age value "10" data: 10] Found attribute: org.dom4j.datatype.DatatypeAttribute406511188 [Attribute: name t:age value "10" data: 10] Found element: org.dom4j.datatype.DatatypeElement674882504 [Element: ] line1 line2 #### 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. Found element: org.dom4j.tree.DefaultElement@2001e48c [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@2001e48c [Element: ] Found element: org.dom4j.tree.DefaultElement@2001e48c [Element: ] Found elements: [org.dom4j.tree.DefaultElement@2001e48c [Element: ]] Found value: works Initial: node with text another node Normalized: node with text another node 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
No adjacent Text nodes in test < one >]]> test two test three test four test five test six test seven Expected DocumentType: org.dom4j.tree.DefaultDocumentType@5075a022 [DocumentType: ] Actual DocumentType: org.dom4j.tree.DefaultDocumentType@57304755 [DocumentType: ] Expected DocumentType: org.dom4j.tree.DefaultDocumentType@231e72e1 [DocumentType: ] Actual DocumentType: org.dom4j.tree.DefaultDocumentType@76419338 [DocumentType: ] Expected DocumentType: org.dom4j.tree.DefaultDocumentType@11ff1c7f [DocumentType: ] Actual DocumentType: org.dom4j.tree.DefaultDocumentType@6b5d852b [DocumentType: ] 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 Element content is now: [org.dom4j.tree.DefaultElement@497f104c [Element: ], org.dom4j.tree.DefaultElement@50060b19 [Element: ], org.dom4j.tree.DefaultElement@7c70c33a [Element: ], org.dom4j.tree.DefaultElement@1a18b66 [Element: ]] James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/Element content is now: [org.dom4j.tree.DefaultText@454009a0 [Text: "James Strachan"], org.dom4j.tree.DefaultElement@78e73f67 [Element: ], org.dom4j.tree.DefaultElement@483740d5 [Element: ], org.dom4j.tree.DefaultElement@212c969a [Element: ]] James Strachanhttp://sourceforge.net/users/jstrachan/Node: org.dom4j.tree.DefaultAttribute@49f6e8a2 [Attribute: name name value "James"] Parent: org.dom4j.tree.DefaultElement@4d6cfa5 [Element: ] getParent(): org.dom4j.tree.DefaultElement@4d6cfa5 [Element: ] Node: org.dom4j.tree.DefaultAttribute@78751d07 [Attribute: name location value "UK"] Parent: org.dom4j.tree.DefaultElement@4d6cfa5 [Element: ] getParent(): org.dom4j.tree.DefaultElement@4d6cfa5 [Element: ] Node: org.dom4j.tree.DefaultText@2d34798d [Text: "James Strachan"] Parent: org.dom4j.tree.DefaultElement@4d6cfa5 [Element: ] getParent(): org.dom4j.tree.DefaultElement@4d6cfa5 [Element: ] Node: org.dom4j.tree.DefaultText@53f92771 [Text: "http://sourceforge.net/users/jstrachan/"] Parent: org.dom4j.tree.DefaultElement@6160714c [Element: ] getParent(): org.dom4j.tree.DefaultElement@6160714c [Element: ] Node: org.dom4j.tree.DefaultElement@6160714c [Element: ] Parent: org.dom4j.tree.DefaultElement@4d6cfa5 [Element: ] getParent(): org.dom4j.tree.DefaultElement@4d6cfa5 [Element: ] Node: org.dom4j.tree.DefaultElement@4d6cfa5 [Element: ] Parent: org.dom4j.tree.DefaultElement@31add542 [Element: ] getParent(): org.dom4j.tree.DefaultElement@31add542 [Element: ] Node: org.dom4j.tree.DefaultAttribute@3f5b2aeb [Attribute: name name value "Bob"] Parent: org.dom4j.tree.DefaultElement@258350de [Element: ] getParent(): org.dom4j.tree.DefaultElement@258350de [Element: ] Node: org.dom4j.tree.DefaultAttribute@478bbf33 [Attribute: name location value "Canada"] Parent: org.dom4j.tree.DefaultElement@258350de [Element: ] getParent(): org.dom4j.tree.DefaultElement@258350de [Element: ] Node: org.dom4j.tree.DefaultText@18537545 [Text: "Bob McWhirter"] Parent: org.dom4j.tree.DefaultElement@258350de [Element: ] getParent(): org.dom4j.tree.DefaultElement@258350de [Element: ] Node: org.dom4j.tree.DefaultText@7e3918d6 [Text: "http://sourceforge.net/users/werken/"] Parent: org.dom4j.tree.DefaultElement@4183a26f [Element: ] getParent(): org.dom4j.tree.DefaultElement@4183a26f [Element: ] Node: org.dom4j.tree.DefaultElement@4183a26f [Element: ] Parent: org.dom4j.tree.DefaultElement@258350de [Element: ] getParent(): org.dom4j.tree.DefaultElement@258350de [Element: ] Node: org.dom4j.tree.DefaultElement@258350de [Element: ] Parent: org.dom4j.tree.DefaultElement@31add542 [Element: ] getParent(): org.dom4j.tree.DefaultElement@31add542 [Element: ] Node: org.dom4j.tree.DefaultElement@6ed80c52 [Element: ] Parent: org.dom4j.tree.DefaultElement@32144b3c [Element: ] getParent(): org.dom4j.tree.DefaultElement@32144b3c [Element: ] Node: org.dom4j.tree.DefaultElement@3601fb92 [Element: ] Parent: org.dom4j.tree.DefaultElement@32144b3c [Element: ] getParent(): org.dom4j.tree.DefaultElement@32144b3c [Element: ]
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 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@1919382c [Element: ] userData: 1.23456 Loaded document: xml/test/test_text.xml Context is now: org.dom4j.tree.DefaultDocument@6dfc2448 [Document: name file:///builddir/build/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@73858ba [Document: name file:///builddir/build/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@596ecd6c [Document: name file:///builddir/build/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@4eddb903 [Document: name file:///builddir/build/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@8ac5b1b [Document: name file:///builddir/build/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@720c54c6 [Document: name file:///builddir/build/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@94cdf07 [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@6aef4277 [Element: ] Path: preceding::* found result size: 3 Context is now: org.dom4j.tree.DefaultElement@6aef4277 [Element: ] Path: following::* found result size: 13 Loaded document: xml/axis.xml Context is now: org.dom4j.tree.DefaultElement@9d2723e [Element: ] Path: preceding-sibling::* found result size: 0 Context is now: org.dom4j.tree.DefaultElement@68817cd7 [Element: ] Path: preceding::* found result size: 2 Context is now: org.dom4j.tree.DefaultElement@68817cd7 [Element: ] Path: preceding-sibling::* found result size: 2 Context is now: org.dom4j.tree.DefaultDocument@7180b500 [Document: name file:///builddir/build/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@7180b500 [Document: name file:///builddir/build/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@535203b8 [Document: name file:///builddir/build/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@aa3e0d7 [Document: name file:///builddir/build/BUILD/dom4j-2.0.0/xml/web.xml] Path: web-app/servlet found result size: 2 match: / Context is now: org.dom4j.tree.DefaultElement@1c07798b [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@35f0652c [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@3af91e7e [Document: name file:///builddir/build/BUILD/dom4j-2.0.0/xml/web.xml] Context is now: org.dom4j.tree.DefaultElement@184db8d7 [Element: ] Loaded document: xml/test/sample.xml Context is now: org.dom4j.tree.DefaultElement@521ad0e6 [Element: ] Loaded document: xml/web.xml Context is now: org.dom4j.tree.DefaultDocument@1f3f9e8 [Document: name file:///builddir/build/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@448c64b3 [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@40151124 [Element: ] Path: doc-id[@regsrc='AP' and @id-string='D76UIMO80'] found result size: 1 Context is now: org.dom4j.tree.DefaultElement@5da173a6 [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@3f33316e [Document: name file:///builddir/build/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@6959496d [Document: name file:///builddir/build/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@25f92ffd [Document: name file:///builddir/build/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@380d3099 [Document: name file:///builddir/build/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@6d2dcd7f [Document: name file:///builddir/build/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@44798d81 [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@605d67f8 [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@6e56373e [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@6d3e1c6d [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@65a381ce [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@363843e [Document: name file:///builddir/build/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@363843e [Document: name file:///builddir/build/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@efea306 [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@663a2b13 [Document: name file:///builddir/build/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@16109bed [Document: name file:///builddir/build/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@57d8308d [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 Adding template match: / Pattern: [XPathPattern: text: / Pattern: org.jaxen.pattern.NodeTypeTest@2c666090[ type: 9 ]] ........................................ Adding template match: title Pattern: [XPathPattern: text: title Pattern: org.jaxen.pattern.NameTest@7c699c2a[ name: title type: 1 ]] ........................................ Adding template match: para Pattern: [XPathPattern: text: para Pattern: org.jaxen.pattern.NameTest@343a7cb9[ name: para type: 1 ]] ........................................ Adding template match: * Pattern: [XPathPattern: text: * Pattern: org.jaxen.pattern.NodeTypeTest@2e0fe4c4[ type: 1 ]] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultAttribute@31727375 [Attribute: name author value "James Elson"] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@1ca21bd [Text: " "] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@66f25a89 [Text: "Bwahahahah!"] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@370abb57 [Text: " "] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@15c19f18 [Text: "Twas a dark, rainy night..."] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@45d683d4 [Text: " "] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@3104bff5 [Text: "dfjsdfjsdf"] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@53367a81 [Text: " "] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@4a9616a0 [Text: "fdsfsdfhdsff gyuf uysgf ds"] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@3bafe405 [Text: " "] ........................................ Adding template match: / Pattern: [XPathPattern: text: / Pattern: org.jaxen.pattern.NodeTypeTest@2c666090[ type: 9 ]] ........................................ Adding template match: * Pattern: [XPathPattern: text: * Pattern: org.jaxen.pattern.NodeTypeTest@2e0fe4c4[ type: 1 ]] ........................................ Adding template match: root Pattern: [XPathPattern: text: root Pattern: org.jaxen.pattern.NameTest@4fc28a99[ name: root type: 1 ]] ........................................ Adding template match: author Pattern: [XPathPattern: text: author Pattern: org.jaxen.pattern.NameTest@359bb6d7[ name: author type: 1 ]] ........................................ Adding template match: @name Pattern: [XPathPattern: text: @name Pattern: org.jaxen.pattern.NameTest@7150f3ad[ name: name type: 2 ]] ........................................ Adding template match: root/author Pattern: [XPathPattern: text: root/author Pattern: org.jaxen.pattern.LocationPathPattern@5e43de8a[ absolute: false parent: org.jaxen.pattern.NameTest@58e1199[ name: root type: 1 ] ancestor: null filters: null nodeTest: org.jaxen.pattern.NameTest@6d4b22f1[ name: author type: 1 ] ]] ........................................ Adding template match: author[@location='UK'] Pattern: [XPathPattern: text: author[@location='UK'] Pattern: org.jaxen.pattern.LocationPathPattern@1b70796e[ absolute: false parent: null ancestor: null filters: [[(DefaultFilterExpr): expr: null predicates: org.jaxen.expr.PredicateSet@5b075304 ]] nodeTest: org.jaxen.pattern.NameTest@2ef08324[ name: author type: 1 ] ]] ........................................ Adding template match: root/author[@location='UK'] Pattern: [XPathPattern: text: root/author[@location='UK'] Pattern: org.jaxen.pattern.LocationPathPattern@1a9860a1[ absolute: false parent: org.jaxen.pattern.NameTest@23bc195[ name: root type: 1 ] ancestor: null filters: [[(DefaultFilterExpr): expr: null predicates: org.jaxen.expr.PredicateSet@63c53da5 ]] nodeTest: org.jaxen.pattern.NameTest@49066b5a[ name: author type: 1 ] ]] ........................................ Adding template match: root//author[@location='UK'] Pattern: [XPathPattern: text: root//author[@location='UK'] Pattern: org.jaxen.pattern.LocationPathPattern@10c287b3[ absolute: false parent: null ancestor: org.jaxen.pattern.LocationPathPattern@4ca9cb57[ absolute: false parent: org.jaxen.pattern.NameTest@64bef72[ name: root type: 1 ] ancestor: null filters: null nodeTest: org.jaxen.pattern.NodeTypeTest@2e0fe4c4[ type: 1 ] ] filters: [[(DefaultFilterExpr): expr: null predicates: org.jaxen.expr.PredicateSet@7ced085a ]] nodeTest: org.jaxen.pattern.NameTest@7896f76b[ 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@7ae7785d [Text: "James Strachan"] ........................................ Matched pattern: * Node: http://sourceforge.net/users/jstrachan/ ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@238e280c [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@37b54bff [Text: "Bob McWhirter"] ........................................ Matched pattern: * Node: http://sourceforge.net/users/werken/ ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@7857cfcd [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@75d773fa[ name: foo type: 1 ]] action: null ] rule2: org.dom4j.rule.Rule@0[ pattern: [XPathPattern: text: * Pattern: org.jaxen.pattern.NodeTypeTest@2e0fe4c4[ type: 1 ]] action: null ] Comparison: 1 Loaded the schema parsing: * expr: * has priority: -0.5 pattern: [XPathPattern: text: * Pattern: org.jaxen.pattern.NodeTypeTest@2e0fe4c4[ 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@36c155b1[ absolute: false parent: null ancestor: null filters: [[(DefaultFilterExpr): expr: null predicates: org.jaxen.expr.PredicateSet@72677442 ]] nodeTest: org.jaxen.pattern.NameTest@5235113e[ name: foo type: 1 ] ]] parsing: foo expr: foo has priority: 0.0 pattern: [XPathPattern: text: foo Pattern: org.jaxen.pattern.NameTest@220a2ab9[ name: foo type: 1 ]] parsing: foo:* expr: foo:* has priority: -0.25 pattern: [XPathPattern: text: foo:* Pattern: org.jaxen.pattern.NamespaceTest@61f9e861[ prefix: foo type: 1 ]] Searched path: //author Found : 2 result(s) Results [ James Strachanhttp://sourceforge.net/users/jstrachan/ Bob McWhirterhttp://sourceforge.net/users/werken/ ] ........................................... Searched path: attribute::* found: 0 result(s) Searched path: /root/author/attribute::* found: 4 result(s) Found Result: org.dom4j.tree.DefaultAttribute@7e9bf8ec [Attribute: name location value "UK"] Found Result: org.dom4j.tree.DefaultAttribute@6daf7fcd [Attribute: name name value "James"] Found Result: org.dom4j.tree.DefaultAttribute@60465855 [Attribute: name location value "Canada"] Found Result: org.dom4j.tree.DefaultAttribute@7fb3e7a4 [Attribute: name name value "Bob"] Searched path: //attribute::* found: 4 result(s) Found Result: org.dom4j.tree.DefaultAttribute@7e9bf8ec [Attribute: name location value "UK"] Found Result: org.dom4j.tree.DefaultAttribute@6daf7fcd [Attribute: name name value "James"] Found Result: org.dom4j.tree.DefaultAttribute@60465855 [Attribute: name location value "Canada"] Found Result: org.dom4j.tree.DefaultAttribute@7fb3e7a4 [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@51a9d0bd [Namespace: prefix xml mapped to URI "http://www.w3.org/XML/1998/namespace"] Parent node: org.dom4j.tree.DefaultElement@25c03375 [Element: ] Found Result: org.dom4j.tree.DefaultNamespace@6883a40b [Namespace: prefix xpl mapped to URI "www.xxxx.com"] Parent node: org.dom4j.tree.DefaultElement@25c03375 [Element: ] Found Result: org.dom4j.tree.DefaultNamespace@68ba4aff [Namespace: prefix xplt mapped to URI "www.xxxx.com"] Parent node: org.dom4j.tree.DefaultElement@25c03375 [Element: ] Searched path: /Template/Application1/namespace::xplt found: 1 result(s) Found Result: org.dom4j.tree.DefaultNamespace@68ba4aff [Namespace: prefix xplt mapped to URI "www.xxxx.com"] Parent node: org.dom4j.tree.DefaultElement@25c03375 [Element: ] Searched path: //namespace::* found: 25 result(s) Found Result: org.dom4j.tree.DefaultNamespace@61b6ad36 [Namespace: prefix xml mapped to URI "http://www.w3.org/XML/1998/namespace"] Parent node: org.dom4j.tree.DefaultElement@15df4efe [Element: