Mock Version: 2.10 Mock Version: 2.10 Mock Version: 2.10 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/dom4j.spec'], chrootPath='/var/lib/mock/dist-circle8-build-21987-4059/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=86400uid=992gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --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'} 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_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/dom4j.spec'], chrootPath='/var/lib/mock/dist-circle8-build-21987-4059/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=86400uid=992gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --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'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IKdKai + 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/share/java-utils/scl-enable gcc-toolset-10 -- /usr/libexec/platform-python /usr/share/java-utils/mvn_alias.py org.dom4j:dom4j dom4j:dom4j + /usr/share/java-utils/scl-enable gcc-toolset-10 -- /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/share/java-utils/scl-enable gcc-toolset-10 -- /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_dep javax.xml.stream:stax-api::provided + /usr/share/java-utils/scl-enable gcc-toolset-10 -- /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_dep net.java.dev.msv:xsdlib::provided + /usr/share/java-utils/scl-enable gcc-toolset-10 -- /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_dep xpp3:xpp3::provided + /usr/share/java-utils/scl-enable gcc-toolset-10 -- /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.FZwXxq + umask 022 + cd /builddir/build/BUILD + cd dom4j-2.0.0 + /usr/share/java-utils/scl-enable gcc-toolset-10 -- /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 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 root: org.dom4j.util.UserDataElement@66cd621b [Element: ] userData: 1.23456 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=?] 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 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
parsing: foo and * rule1: org.dom4j.rule.Rule@0[ pattern: [XPathPattern: text: foo Pattern: org.jaxen.pattern.NameTest@9bd49ca[ name: foo type: 1 ]] action: null ] rule2: org.dom4j.rule.Rule@0[ pattern: [XPathPattern: text: * Pattern: org.jaxen.pattern.NodeTypeTest@6bcb493e[ type: 1 ]] action: null ] Comparison: 1 Expected DocumentType: org.dom4j.tree.DefaultDocumentType@7f449d0c [DocumentType: ] Actual DocumentType: org.dom4j.tree.DefaultDocumentType@7ace0b5d [DocumentType: ] Expected DocumentType: org.dom4j.tree.DefaultDocumentType@79eaabdc [DocumentType: ] Actual DocumentType: org.dom4j.tree.DefaultDocumentType@73f4c35f [DocumentType: ] Expected DocumentType: org.dom4j.tree.DefaultDocumentType@4fcbf387 [DocumentType: ] Actual DocumentType: org.dom4j.tree.DefaultDocumentType@1af03f1a [DocumentType: ] 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@6bcb493e[ 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@d1fb877[ absolute: false parent: null ancestor: null filters: [[(DefaultFilterExpr): expr: null predicates: org.jaxen.expr.PredicateSet@304c70b1 ]] nodeTest: org.jaxen.pattern.NameTest@7ec287d[ name: foo type: 1 ] ]] parsing: foo expr: foo has priority: 0.0 pattern: [XPathPattern: text: foo Pattern: org.jaxen.pattern.NameTest@1d55df3a[ name: foo type: 1 ]] parsing: foo:* expr: foo:* has priority: -0.25 pattern: [XPathPattern: text: foo:* Pattern: org.jaxen.pattern.NamespaceTest@6dfbd571[ prefix: foo type: 1 ]] #### 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. Adding template match: / Pattern: [XPathPattern: text: / Pattern: org.jaxen.pattern.NodeTypeTest@580d7c1f[ type: 9 ]] ........................................ Adding template match: title Pattern: [XPathPattern: text: title Pattern: org.jaxen.pattern.NameTest@6114a516[ name: title type: 1 ]] ........................................ Adding template match: para Pattern: [XPathPattern: text: para Pattern: org.jaxen.pattern.NameTest@625ee079[ name: para type: 1 ]] ........................................ Adding template match: * Pattern: [XPathPattern: text: * Pattern: org.jaxen.pattern.NodeTypeTest@6bcb493e[ type: 1 ]] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultAttribute@41df7a0c [Attribute: name author value "James Elson"] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@72810bac [Text: " "] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@36792cff [Text: "Bwahahahah!"] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@23314f61 [Text: " "] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@19044e11 [Text: "Twas a dark, rainy night..."] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@63a2eaf6 [Text: " "] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@1cc33ca9 [Text: "dfjsdfjsdf"] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@35a02217 [Text: " "] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@e6f8674 [Text: "fdsfsdfhdsff gyuf uysgf ds"] ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@7a6e2815 [Text: " "] ........................................ Adding template match: / Pattern: [XPathPattern: text: / Pattern: org.jaxen.pattern.NodeTypeTest@580d7c1f[ type: 9 ]] ........................................ Adding template match: * Pattern: [XPathPattern: text: * Pattern: org.jaxen.pattern.NodeTypeTest@6bcb493e[ type: 1 ]] ........................................ Adding template match: root Pattern: [XPathPattern: text: root Pattern: org.jaxen.pattern.NameTest@4bc940f1[ name: root type: 1 ]] ........................................ Adding template match: author Pattern: [XPathPattern: text: author Pattern: org.jaxen.pattern.NameTest@39e723da[ name: author type: 1 ]] ........................................ Adding template match: @name Pattern: [XPathPattern: text: @name Pattern: org.jaxen.pattern.NameTest@32429a73[ name: name type: 2 ]] ........................................ Adding template match: root/author Pattern: [XPathPattern: text: root/author Pattern: org.jaxen.pattern.LocationPathPattern@26b730f3[ absolute: false parent: org.jaxen.pattern.NameTest@27f8321c[ name: root type: 1 ] ancestor: null filters: null nodeTest: org.jaxen.pattern.NameTest@27812cca[ name: author type: 1 ] ]] ........................................ Adding template match: author[@location='UK'] Pattern: [XPathPattern: text: author[@location='UK'] Pattern: org.jaxen.pattern.LocationPathPattern@136bb4b[ absolute: false parent: null ancestor: null filters: [[(DefaultFilterExpr): expr: null predicates: org.jaxen.expr.PredicateSet@1e992336 ]] nodeTest: org.jaxen.pattern.NameTest@78978a2b[ name: author type: 1 ] ]] ........................................ Adding template match: root/author[@location='UK'] Pattern: [XPathPattern: text: root/author[@location='UK'] Pattern: org.jaxen.pattern.LocationPathPattern@565e0e8f[ absolute: false parent: org.jaxen.pattern.NameTest@62061bec[ name: root type: 1 ] ancestor: null filters: [[(DefaultFilterExpr): expr: null predicates: org.jaxen.expr.PredicateSet@35d10409 ]] nodeTest: org.jaxen.pattern.NameTest@7153164a[ name: author type: 1 ] ]] ........................................ Adding template match: root//author[@location='UK'] Pattern: [XPathPattern: text: root//author[@location='UK'] Pattern: org.jaxen.pattern.LocationPathPattern@575f4499[ absolute: false parent: null ancestor: org.jaxen.pattern.LocationPathPattern@5d4ece5[ absolute: false parent: org.jaxen.pattern.NameTest@3898511a[ name: root type: 1 ] ancestor: null filters: null nodeTest: org.jaxen.pattern.NodeTypeTest@6bcb493e[ type: 1 ] ] filters: [[(DefaultFilterExpr): expr: null predicates: org.jaxen.expr.PredicateSet@5190e105 ]] nodeTest: org.jaxen.pattern.NameTest@7c461c22[ 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@5e57748b [Text: "James Strachan"] ........................................ Matched pattern: * Node: http://sourceforge.net/users/jstrachan/ ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@243deeda [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@7273bb91 [Text: "Bob McWhirter"] ........................................ Matched pattern: * Node: http://sourceforge.net/users/werken/ ........................................ Default ValueOf action on node: org.dom4j.tree.DefaultText@3e180ef1 [Text: "http://sourceforge.net/users/werken/"] ........................................ Finished Created: org.dom4j.tree.DefaultElement@485d79ef [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 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 Searched path: //author Found : 2 result(s) Results [ James Strachanhttp://sourceforge.net/users/jstrachan/ Bob McWhirterhttp://sourceforge.net/users/werken/ ] ........................................... Element content is now: [org.dom4j.tree.DefaultElement@49822fac [Element: ], org.dom4j.tree.DefaultElement@18b32b54 [Element: ], org.dom4j.tree.DefaultElement@2780d2a5 [Element: ], org.dom4j.tree.DefaultElement@309697bf [Element: ]] James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/Element content is now: [org.dom4j.tree.DefaultText@4353832c [Text: "James Strachan"], org.dom4j.tree.DefaultElement@3d790d6c [Element: ], org.dom4j.tree.DefaultElement@47fcdf96 [Element: ], org.dom4j.tree.DefaultElement@3e22fa87 [Element: ]] James Strachanhttp://sourceforge.net/users/jstrachan/No adjacent Text nodes in test < one >]]> test two test three test four test five test six test seven 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 Initial: node with text another node Normalized: node with text another node Node: org.dom4j.tree.DefaultAttribute@74421bc6 [Attribute: name name value "James"] Parent: org.dom4j.tree.DefaultElement@7d8933dd [Element: ] getParent(): org.dom4j.tree.DefaultElement@7d8933dd [Element: ] Node: org.dom4j.tree.DefaultAttribute@c15257a [Attribute: name location value "UK"] Parent: org.dom4j.tree.DefaultElement@7d8933dd [Element: ] getParent(): org.dom4j.tree.DefaultElement@7d8933dd [Element: ] Node: org.dom4j.tree.DefaultText@60d3c403 [Text: "James Strachan"] Parent: org.dom4j.tree.DefaultElement@7d8933dd [Element: ] getParent(): org.dom4j.tree.DefaultElement@7d8933dd [Element: ] Node: org.dom4j.tree.DefaultText@4ab7ff4 [Text: "http://sourceforge.net/users/jstrachan/"] Parent: org.dom4j.tree.DefaultElement@3008a367 [Element: ] getParent(): org.dom4j.tree.DefaultElement@3008a367 [Element: ] Node: org.dom4j.tree.DefaultElement@3008a367 [Element: ] Parent: org.dom4j.tree.DefaultElement@7d8933dd [Element: ] getParent(): org.dom4j.tree.DefaultElement@7d8933dd [Element: ] Node: org.dom4j.tree.DefaultElement@7d8933dd [Element: ] Parent: org.dom4j.tree.DefaultElement@15136ee9 [Element: ] getParent(): org.dom4j.tree.DefaultElement@15136ee9 [Element: ] Node: org.dom4j.tree.DefaultAttribute@6b1e4394 [Attribute: name name value "Bob"] Parent: org.dom4j.tree.DefaultElement@3495d5dc [Element: ] getParent(): org.dom4j.tree.DefaultElement@3495d5dc [Element: ] Node: org.dom4j.tree.DefaultAttribute@41f35bb2 [Attribute: name location value "Canada"] Parent: org.dom4j.tree.DefaultElement@3495d5dc [Element: ] getParent(): org.dom4j.tree.DefaultElement@3495d5dc [Element: ] Node: org.dom4j.tree.DefaultText@4f191143 [Text: "Bob McWhirter"] Parent: org.dom4j.tree.DefaultElement@3495d5dc [Element: ] getParent(): org.dom4j.tree.DefaultElement@3495d5dc [Element: ] Node: org.dom4j.tree.DefaultText@5602e9d7 [Text: "http://sourceforge.net/users/werken/"] Parent: org.dom4j.tree.DefaultElement@4ca3fdfe [Element: ] getParent(): org.dom4j.tree.DefaultElement@4ca3fdfe [Element: ] Node: org.dom4j.tree.DefaultElement@4ca3fdfe [Element: ] Parent: org.dom4j.tree.DefaultElement@3495d5dc [Element: ] getParent(): org.dom4j.tree.DefaultElement@3495d5dc [Element: ] Node: org.dom4j.tree.DefaultElement@3495d5dc [Element: ] Parent: org.dom4j.tree.DefaultElement@15136ee9 [Element: ] getParent(): org.dom4j.tree.DefaultElement@15136ee9 [Element: ] Node: org.dom4j.tree.DefaultElement@514f962d [Element: ] Parent: org.dom4j.tree.DefaultElement@250ddf7 [Element: ] getParent(): org.dom4j.tree.DefaultElement@250ddf7 [Element: ] Node: org.dom4j.tree.DefaultElement@25a98a27 [Element: ] Parent: org.dom4j.tree.DefaultElement@250ddf7 [Element: ] getParent(): org.dom4j.tree.DefaultElement@250ddf7 [Element: ] 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 Number of SPEAKER instances: 979 Number of distinct SPEAKER instances: 23 Number of distinct SPEAKER instances: 23 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 '.', '..', '@', '*', Found element: org.dom4j.tree.DefaultElement@39aaeb8 [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@39aaeb8 [Element: ] Found element: org.dom4j.tree.DefaultElement@39aaeb8 [Element: ] Found elements: [org.dom4j.tree.DefaultElement@39aaeb8 [Element: ]] Found value: works
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
Using XPath: //field[substring(@id,1,2)='11'] Found: [org.dom4j.tree.DefaultElement@6ebebdce [Element: ], org.dom4j.tree.DefaultElement@5a94cb8c [Element: ]] Using XPath: //field[substring(@id,3)='11'] Found: [org.dom4j.tree.DefaultElement@e650893 [Element: ], org.dom4j.tree.DefaultElement@29b68bb [Element: ]] <xsl:value-of select="JavaXML:Title"/> Testing XPath on: org.dom4j.tree.DefaultDocument@17cb39d2 [Document: name null] =============================== valueOf: /root is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: //author is: James Strachanhttp://sourceforge.net/users/jstrachan/ valueOf: //author/@name is: James valueOf: /root/author[1] is: James Strachanhttp://sourceforge.net/users/jstrachan/ valueOf: /root/author[1]/@name is: James valueOf: /root/author[2] is: Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: /root/author[2]/@name is: Bob valueOf: /root/author[3] is: valueOf: /root/author[3]/@name is: valueOf: name() is: valueOf: name(.) is: valueOf: name(..) is: valueOf: name(child::node()) is: root valueOf: name(parent::*) is: valueOf: name(../*) is: valueOf: name(../child::node()) is: valueOf: local-name() is: valueOf: local-name(..) is: valueOf: local-name(parent::*) is: valueOf: local-name(../*) is: valueOf: parent::* is: valueOf: name(/.) is: valueOf: name(/child::node()) is: root valueOf: name(/*) is: root valueOf: . is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: .. is: valueOf: ../* is: valueOf: ../child::node() is: valueOf: /. is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: /* is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: * is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: /child::node() is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ Testing XPath on: org.dom4j.tree.DefaultElement@67b540e2 [Element: ] =============================== valueOf: /root is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: //author is: James Strachanhttp://sourceforge.net/users/jstrachan/ valueOf: //author/@name is: James valueOf: /root/author[1] is: James Strachanhttp://sourceforge.net/users/jstrachan/ valueOf: /root/author[1]/@name is: James valueOf: /root/author[2] is: Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: /root/author[2]/@name is: Bob valueOf: /root/author[3] is: valueOf: /root/author[3]/@name is: valueOf: name() is: root valueOf: name(.) is: root valueOf: name(..) is: valueOf: name(child::node()) is: author valueOf: name(parent::*) is: valueOf: name(../*) is: root valueOf: name(../child::node()) is: root valueOf: local-name() is: root valueOf: local-name(..) is: valueOf: local-name(parent::*) is: valueOf: local-name(../*) is: root valueOf: parent::* is: valueOf: name(/.) is: valueOf: name(/child::node()) is: root valueOf: name(/*) is: root valueOf: . is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: .. is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: ../* is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: ../child::node() is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: /. is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: /* is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: * is: James Strachanhttp://sourceforge.net/users/jstrachan/ valueOf: /child::node() is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ Testing XPath on: org.dom4j.tree.DefaultElement@6c32a91e [Element: ] =============================== valueOf: /root is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: //author is: James Strachanhttp://sourceforge.net/users/jstrachan/ valueOf: //author/@name is: James valueOf: /root/author[1] is: James Strachanhttp://sourceforge.net/users/jstrachan/ valueOf: /root/author[1]/@name is: James valueOf: /root/author[2] is: Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: /root/author[2]/@name is: Bob valueOf: /root/author[3] is: valueOf: /root/author[3]/@name is: valueOf: name() is: author valueOf: name(.) is: author valueOf: name(..) is: root valueOf: name(child::node()) is: valueOf: name(parent::*) is: root valueOf: name(../*) is: author valueOf: name(../child::node()) is: author valueOf: local-name() is: author valueOf: local-name(..) is: root valueOf: local-name(parent::*) is: root valueOf: local-name(../*) is: author valueOf: parent::* is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: name(/.) is: valueOf: name(/child::node()) is: root valueOf: name(/*) is: root valueOf: . is: James Strachanhttp://sourceforge.net/users/jstrachan/ valueOf: .. is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: ../* is: James Strachanhttp://sourceforge.net/users/jstrachan/ valueOf: ../child::node() is: James Strachanhttp://sourceforge.net/users/jstrachan/ valueOf: /. is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: /* is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ valueOf: * is: http://sourceforge.net/users/jstrachan/ valueOf: /child::node() is: James Strachanhttp://sourceforge.net/users/jstrachan/Bob McWhirterhttp://sourceforge.net/users/werken/ 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] [ ] ........................................... Searched path: 2+2 found: 4.0 Searched path: 2+2 found: 4.0 Searched path: 2 + 2 found: 4.0 Searched path: 2 + 2 found: 4.0 Searched path: 2 + number(1) + 2 found: 5.0 Searched path: 2 + number(1) + 2 found: 5.0 Searched path: number(1) * 2 found: 2.0 Searched path: number(1) * 2 found: 2.0 Searched path: 2 + count(//author) + 2 found: 6.0 Searched path: 2 + count(//author) + 2 found: 6.0 Searched path: 2 + (2 * 5) found: 12.0 Searched path: 2 + (2 * 5) found: 12.0 Searched path: count(//author) + count(//author/attribute::*) found: 6.0 Searched path: count(//author) + count(//author/attribute::*) found: 6.0 Searched path: (12 + count(//author) + count(//author/attribute::*)) div 2 found: 9.0 Searched path: (12 + count(//author) + count(//author/attribute::*)) div 2 found: 9.0 Searched path: count(//author) found: 2.0 Searched path: count(//author) found: 2.0 Searched path: count(//author/attribute::*) found: 4.0 Searched path: count(//author/attribute::*) found: 4.0 Searched path: 2 + number(1) * 2 found: 4.0 Searched path: 2 + number(1) * 2 found: 4.0 Searched path: count(descendant::author) found: 2.0 Searched path: count(descendant::author) found: 0.0 Searched path: count(ancestor::author) found: 0.0 Searched path: count(ancestor::author) found: 0.0 Searched path: count(descendant::*) found: 5.0 Searched path: count(descendant::*) found: 1.0 Searched path: count(descendant::author)+1 found: 3.0 Searched path: count(descendant::author)+1 found: 1.0 Searched path: count(ancestor::*) found: 0.0 Searched path: count(ancestor::*) found: 1.0 Searched path: 10 + count(ancestor-or-self::author) + 5 found: 15.0 Searched path: 10 + count(ancestor-or-self::author) + 5 found: 16.0 Searched path: 10 + count(descendant::author) * 5 found: 20.0 Searched path: 10 + count(descendant::author) * 5 found: 10.0 Searched path: 10 + (count(descendant::author) * 5) found: 20.0 Searched path: 10 + (count(descendant::author) * 5) found: 10.0 Finished successfully line1 line2 Different NS Multi took 83 ms Same NS Multi took 4 ms Different NS Single took 16 ms Same NS Single took 0 ms Evaluating xpath: [XPath: .[name()='author']] Evaluating xpath: [XPath: .[.='James Strachan']] Evaluating xpath: [XPath: .[name()='XXXX']] Evaluating xpath: [XPath: .[.='XXXX']] Evaluating xpath: [XPath: name()='author'] Evaluating xpath: [XPath: name()='XXXX'] Evaluating xpath: [XPath: .='James Strachan'] Evaluating xpath: [XPath: .='XXXX'] Loaded the schema text with an ü in it text with an ü in it text with an ? in it Searched path: //xplt:anyElement found: 2 result(s) Searched path: //xpl:insertText found: 2 result(s) Searched path: /Template/Application1/xpl:insertText found: 1 result(s) Searched path: /Template/Application2/xpl:insertText found: 1 result(s) Found attribute: org.dom4j.datatype.DatatypeAttribute1508787262 [Attribute: name age value "10" data: 10] Found attribute: org.dom4j.datatype.DatatypeAttribute147608842 [Attribute: name t:age value "10" data: 10] Found element: org.dom4j.datatype.DatatypeElement216177663 [Element: ] Loaded document: xml/test/test_text.xml Context is now: org.dom4j.tree.DefaultDocument@7696c3dc [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@3375e0cb [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@8d08b17 [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@655020fb [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@1816047e [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@7e260396 [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@2428955c [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@55ca8c63 [Element: ] Path: preceding::* found result size: 3 Context is now: org.dom4j.tree.DefaultElement@55ca8c63 [Element: ] Path: following::* found result size: 13 Loaded document: xml/axis.xml Context is now: org.dom4j.tree.DefaultElement@661b9022 [Element: ] Path: preceding-sibling::* found result size: 0 Context is now: org.dom4j.tree.DefaultElement@2064171e [Element: ] Path: preceding::* found result size: 2 Context is now: org.dom4j.tree.DefaultElement@2064171e [Element: ] Path: preceding-sibling::* found result size: 2 Context is now: org.dom4j.tree.DefaultDocument@7e360a73 [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@7e360a73 [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@9dc5a1d [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@474dafb1 [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@218431d1 [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@6060673b [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@22439545 [Document: name file:///builddir/build/BUILD/dom4j-2.0.0/xml/web.xml] Context is now: org.dom4j.tree.DefaultElement@4fd09388 [Element: ] Loaded document: xml/test/sample.xml Context is now: org.dom4j.tree.DefaultElement@325e221d [Element: ] Loaded document: xml/web.xml Context is now: org.dom4j.tree.DefaultDocument@11729c09 [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@6d7aabc5 [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@2e7722bd [Element: ] Path: doc-id[@regsrc='AP' and @id-string='D76UIMO80'] found result size: 1 Context is now: org.dom4j.tree.DefaultElement@14897087 [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@3ccbfe01 [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@6399bc57 [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@4cc12114 [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@43a60e8d [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@38744b9b [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@2a1d622a [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@7f82f761 [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@64a53e64 [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@7e1789f8 [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@3fdaa822 [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@4cb63faa [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@4cb63faa [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@71c51df5 [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@159352d0 [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@7941dfad [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@2545b677 [Element: ] Path: namespace::* found result size: 3 Path: /namespace::* found result size: 0 Path: /Template/Application1/namespace::* found result size: 3 Path: /Template/Application2/namespace::* found result size: 3 Path: /Template/Application2/namespace::* found result size: 3 Path: //namespace::* found result size: 25 Found Result: org.dom4j.tree.DefaultText@69ba98c5 [Text: "James Strachan"] Found Result: org.dom4j.tree.DefaultText@70053418 [Text: "Bob McWhirter"] Searched path: $author found: 1 result(s) Testing paths Searched path: namespace::* found: 0 result(s) Searched path: /Template/Application1/namespace::* found: 3 result(s) Found Result: org.dom4j.tree.DefaultNamespace@304b11c5 [Namespace: prefix xml mapped to URI "http://www.w3.org/XML/1998/namespace"] Parent node: org.dom4j.tree.DefaultElement@4422f20d [Element: ] Found Result: org.dom4j.tree.DefaultNamespace@9616573 [Namespace: prefix xpl mapped to URI "www.xxxx.com"] Parent node: org.dom4j.tree.DefaultElement@4422f20d [Element: ] Found Result: org.dom4j.tree.DefaultNamespace@9588b87 [Namespace: prefix xplt mapped to URI "www.xxxx.com"] Parent node: org.dom4j.tree.DefaultElement@4422f20d [Element: ] Searched path: /Template/Application1/namespace::xplt found: 1 result(s) Found Result: org.dom4j.tree.DefaultNamespace@9588b87 [Namespace: prefix xplt mapped to URI "www.xxxx.com"] Parent node: org.dom4j.tree.DefaultElement@4422f20d [Element: ] Searched path: //namespace::* found: 25 result(s) Found Result: org.dom4j.tree.DefaultNamespace@21cd4be3 [Namespace: prefix xml mapped to URI "http://www.w3.org/XML/1998/namespace"] Parent node: org.dom4j.tree.DefaultElement@55a4a82b [Element: