simple-xspec-wrapper 0.1.0-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.ruby-version +1 -0
- data/.travis.yml +11 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +37 -0
- data/LICENSE.txt +21 -0
- data/README.md +49 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/exe/xspec +16 -0
- data/lib/xspec/version.rb +3 -0
- data/lib/xspec.rb +256 -0
- data/simple-xspec-wrapper.gemspec +28 -0
- data/spec-test.xml +1125 -0
- data/vendor/xspec-1.0.0/.gitignore +7 -0
- data/vendor/xspec-1.0.0/.travis.yml +57 -0
- data/vendor/xspec-1.0.0/LICENSE +21 -0
- data/vendor/xspec-1.0.0/README.md +26 -0
- data/vendor/xspec-1.0.0/appveyor.yml +77 -0
- data/vendor/xspec-1.0.0/bin/xspec.bat +620 -0
- data/vendor/xspec-1.0.0/bin/xspec.sh +403 -0
- data/vendor/xspec-1.0.0/build.xml +369 -0
- data/vendor/xspec-1.0.0/editors/emacs/README +31 -0
- data/vendor/xspec-1.0.0/editors/emacs/schemas.xml +6 -0
- data/vendor/xspec-1.0.0/editors/oxygen/.cvsignore +2 -0
- data/vendor/xspec-1.0.0/editors/oxygen/README +11 -0
- data/vendor/xspec-1.0.0/editors/oxygen/build.xml +38 -0
- data/vendor/xspec-1.0.0/editors/oxygen/templates/xspec.xml +17 -0
- data/vendor/xspec-1.0.0/editors/oxygen/xspec.framework +175 -0
- data/vendor/xspec-1.0.0/find-examples.xml +37 -0
- data/vendor/xspec-1.0.0/find-examples.xsl +615 -0
- data/vendor/xspec-1.0.0/graphics/3angle-down.gif +0 -0
- data/vendor/xspec-1.0.0/graphics/3angle-right.gif +0 -0
- data/vendor/xspec-1.0.0/java/com/jenitennison/xslt/tests/XSLTCoverageTraceListener.class +0 -0
- data/vendor/xspec-1.0.0/java/com/jenitennison/xslt/tests/XSLTCoverageTraceListener.java +209 -0
- data/vendor/xspec-1.0.0/src/ant/find-test-failure.xsl +17 -0
- data/vendor/xspec-1.0.0/src/ant/get-schematron-phase.xsl +17 -0
- data/vendor/xspec-1.0.0/src/ant/locate-schematron.xsl +28 -0
- data/vendor/xspec-1.0.0/src/ant/make-path.js +4 -0
- data/vendor/xspec-1.0.0/src/compiler/generate-common-tests.xsl +604 -0
- data/vendor/xspec-1.0.0/src/compiler/generate-query-helper.xsl +152 -0
- data/vendor/xspec-1.0.0/src/compiler/generate-query-tests.xsl +473 -0
- data/vendor/xspec-1.0.0/src/compiler/generate-query-utils.xql +263 -0
- data/vendor/xspec-1.0.0/src/compiler/generate-tests-helper.xsl +169 -0
- data/vendor/xspec-1.0.0/src/compiler/generate-tests-utils.xsl +479 -0
- data/vendor/xspec-1.0.0/src/compiler/generate-xspec-tests.xsl +503 -0
- data/vendor/xspec-1.0.0/src/harnesses/basex/basex-standalone-xquery-harness.xproc +135 -0
- data/vendor/xspec-1.0.0/src/harnesses/basex/basex-xquery-harness.xproc +133 -0
- data/vendor/xspec-1.0.0/src/harnesses/exist/exist-xquery-harness.xproc +161 -0
- data/vendor/xspec-1.0.0/src/harnesses/harness-lib.xpl +327 -0
- data/vendor/xspec-1.0.0/src/harnesses/marklogic/ml-xquery-harness.xproc +143 -0
- data/vendor/xspec-1.0.0/src/harnesses/saxon/saxon-xquery-harness.xproc +108 -0
- data/vendor/xspec-1.0.0/src/harnesses/saxon/saxon-xslt-harness.xproc +85 -0
- data/vendor/xspec-1.0.0/src/harnesses/zorba/zorba-xquery-harness.xproc +134 -0
- data/vendor/xspec-1.0.0/src/reporter/coverage-report.xsl +378 -0
- data/vendor/xspec-1.0.0/src/reporter/format-utils.xsl +220 -0
- data/vendor/xspec-1.0.0/src/reporter/format-xspec-report-folding.xsl +164 -0
- data/vendor/xspec-1.0.0/src/reporter/format-xspec-report.xsl +410 -0
- data/vendor/xspec-1.0.0/src/reporter/junit-report.xsl +93 -0
- data/vendor/xspec-1.0.0/src/reporter/test-report.css +469 -0
- data/vendor/xspec-1.0.0/src/schemas/find-examples.rnc +90 -0
- data/vendor/xspec-1.0.0/src/schemas/xspec.rnc +304 -0
- data/vendor/xspec-1.0.0/src/schematron/iso-schematron/iso_abstract_expand.xsl +313 -0
- data/vendor/xspec-1.0.0/src/schematron/iso-schematron/iso_dsdl_include.xsl +1519 -0
- data/vendor/xspec-1.0.0/src/schematron/iso-schematron/iso_schematron_message.xsl +64 -0
- data/vendor/xspec-1.0.0/src/schematron/iso-schematron/iso_schematron_message_xslt2.xsl +64 -0
- data/vendor/xspec-1.0.0/src/schematron/iso-schematron/iso_schematron_skeleton_for_saxon.xsl +2306 -0
- data/vendor/xspec-1.0.0/src/schematron/iso-schematron/iso_schematron_skeleton_for_xslt1.xsl +1851 -0
- data/vendor/xspec-1.0.0/src/schematron/iso-schematron/iso_svrl_for_xslt1.xsl +614 -0
- data/vendor/xspec-1.0.0/src/schematron/iso-schematron/iso_svrl_for_xslt2.xsl +692 -0
- data/vendor/xspec-1.0.0/src/schematron/iso-schematron/readme.txt +101 -0
- data/vendor/xspec-1.0.0/src/schematron/iso-schematron/sch-messages-cs.xhtml +56 -0
- data/vendor/xspec-1.0.0/src/schematron/iso-schematron/sch-messages-de.xhtml +55 -0
- data/vendor/xspec-1.0.0/src/schematron/iso-schematron/sch-messages-en.xhtml +57 -0
- data/vendor/xspec-1.0.0/src/schematron/iso-schematron/sch-messages-fr.xhtml +54 -0
- data/vendor/xspec-1.0.0/src/schematron/iso-schematron/sch-messages-ja.xhtml +53 -0
- data/vendor/xspec-1.0.0/src/schematron/iso-schematron/sch-messages-nl.xhtml +58 -0
- data/vendor/xspec-1.0.0/src/schematron/iso-schematron/schematron-skeleton-api.htm +723 -0
- data/vendor/xspec-1.0.0/src/schematron/sch-location-compare.xsl +139 -0
- data/vendor/xspec-1.0.0/src/schematron/schut-to-xspec.xsl +179 -0
- data/vendor/xspec-1.0.0/test/Makefile +117 -0
- data/vendor/xspec-1.0.0/test/README +5 -0
- data/vendor/xspec-1.0.0/test/catalog/xspec-160_catalog.xml +4 -0
- data/vendor/xspec-1.0.0/test/catalog/xspec-160_schematron.xspec +6 -0
- data/vendor/xspec-1.0.0/test/catalog/xspec-160_xslt.xspec +5 -0
- data/vendor/xspec-1.0.0/test/end-to-end/README.md +42 -0
- data/vendor/xspec-1.0.0/test/end-to-end/cases/.gitignore +1 -0
- data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/.gitignore +3 -0
- data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/xspec-50-result-norm.html +74 -0
- data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/xspec-55-result-norm.html +112 -0
- data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/xspec-focus-1-result-norm.html +109 -0
- data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/xspec-function-result-norm.html +118 -0
- data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/xspec-import-result-norm.html +163 -0
- data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/xspec-imported-result-norm.html +95 -0
- data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/xspec-pending-result-norm.html +123 -0
- data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/xspec-rule-result-norm.html +109 -0
- data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/xspec-three-dots-result-norm.html +1237 -0
- data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-50.xsl +7 -0
- data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-50.xspec +10 -0
- data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-55.xsl +2 -0
- data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-55.xspec +18 -0
- data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-focus-1.xspec +71 -0
- data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-function.xspec +50 -0
- data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-import.xspec +50 -0
- data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-imported.xspec +48 -0
- data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-pending.xspec +89 -0
- data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-rule.xspec +76 -0
- data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-three-dots.xsl +49 -0
- data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-three-dots.xspec +527 -0
- data/vendor/xspec-1.0.0/test/end-to-end/generate-expected.cmd +51 -0
- data/vendor/xspec-1.0.0/test/end-to-end/generate-expected.sh +25 -0
- data/vendor/xspec-1.0.0/test/end-to-end/processor/_deserializer.xsl +53 -0
- data/vendor/xspec-1.0.0/test/end-to-end/processor/_normalizer.xsl +192 -0
- data/vendor/xspec-1.0.0/test/end-to-end/processor/_serializer.xsl +15 -0
- data/vendor/xspec-1.0.0/test/end-to-end/processor/_util.xsl +35 -0
- data/vendor/xspec-1.0.0/test/end-to-end/processor/compare.xsl +88 -0
- data/vendor/xspec-1.0.0/test/end-to-end/processor/normalize.xsl +28 -0
- data/vendor/xspec-1.0.0/test/end-to-end/run-e2e-tests.cmd +61 -0
- data/vendor/xspec-1.0.0/test/end-to-end/run-e2e-tests.sh +28 -0
- data/vendor/xspec-1.0.0/test/generate-tests-utils.xspec +636 -0
- data/vendor/xspec-1.0.0/test/generate-x-utils.xspec +173 -0
- data/vendor/xspec-1.0.0/test/generate-xspec-tests.xspec +64 -0
- data/vendor/xspec-1.0.0/test/run-xspec-tests.cmd +83 -0
- data/vendor/xspec-1.0.0/test/run-xspec-tests.sh +42 -0
- data/vendor/xspec-1.0.0/test/sch-location-compare.xspec +179 -0
- data/vendor/xspec-1.0.0/test/schematron/data/standards.xml +7 -0
- data/vendor/xspec-1.0.0/test/schematron/schematron-017.sch +9 -0
- data/vendor/xspec-1.0.0/test/schematron/schematron-018.sch +17 -0
- data/vendor/xspec-1.0.0/test/schematron/schematron-019.sch +13 -0
- data/vendor/xspec-1.0.0/test/schematron/schematron-020-01.sch +35 -0
- data/vendor/xspec-1.0.0/test/schematron/schematron-020.sch +32 -0
- data/vendor/xspec-1.0.0/test/schematron/schematron-021.sch +28 -0
- data/vendor/xspec-1.0.0/test/schematron/schematron-022.sch +18 -0
- data/vendor/xspec-1.0.0/test/schematron/schematron-xslt-compile.xsl +8 -0
- data/vendor/xspec-1.0.0/test/schematron/schematron-xslt-expand.xsl +8 -0
- data/vendor/xspec-1.0.0/test/schematron/schematron-xslt-include.xsl +8 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-001-in.xspec +5 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-001-out.xspec +7 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-002-in.xspec +5 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-002-out.xspec +7 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-002.sch +4 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-003-in.xspec +7 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-003-out.xspec +9 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-004-in.xspec +20 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-004-out.xspec +22 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-005-in.xspec +6 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-005-out.xspec +8 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-006-in.xspec +11 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-006-out.xspec +13 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-007-in.xspec +7 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-007-out.xspec +9 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-007.xml +2 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-008-in.xspec +9 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-008-out.xspec +9 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-009-import-in.xspec +5 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-009-in.xspec +6 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-009-out.xspec +10 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-010-import.xspec +5 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-010-in.xspec +6 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-010-out.xspec +8 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-011-in.xspec +6 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-011-out.xspec +8 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-012-01.xml +4 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-012-02.xml +13 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-012-out.xspec +81 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-013-in.xspec +6 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-013-out.xspec +8 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-test.sch +4 -0
- data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-test.sch.xsl +4 -0
- data/vendor/xspec-1.0.0/test/schematron-01.sch +17 -0
- data/vendor/xspec-1.0.0/test/schematron-01.xml +14 -0
- data/vendor/xspec-1.0.0/test/schematron-01.xspec +14 -0
- data/vendor/xspec-1.0.0/test/schematron-012.xspec +83 -0
- data/vendor/xspec-1.0.0/test/schematron-014-01.xml +10 -0
- data/vendor/xspec-1.0.0/test/schematron-014.sch +16 -0
- data/vendor/xspec-1.0.0/test/schematron-014.xspec +11 -0
- data/vendor/xspec-1.0.0/test/schematron-015.sch +16 -0
- data/vendor/xspec-1.0.0/test/schematron-015.xspec +11 -0
- data/vendor/xspec-1.0.0/test/schematron-016.sch +19 -0
- data/vendor/xspec-1.0.0/test/schematron-016.xspec +171 -0
- data/vendor/xspec-1.0.0/test/schematron-017.xspec +26 -0
- data/vendor/xspec-1.0.0/test/schematron-018.xspec +120 -0
- data/vendor/xspec-1.0.0/test/schematron-019.xspec +16 -0
- data/vendor/xspec-1.0.0/test/schematron-020.xspec +53 -0
- data/vendor/xspec-1.0.0/test/schematron-021.xspec +27 -0
- data/vendor/xspec-1.0.0/test/schematron-022.xspec +15 -0
- data/vendor/xspec-1.0.0/test/schematron-param-001.xspec +50 -0
- data/vendor/xspec-1.0.0/test/schut-to-xspec-012.sch +27 -0
- data/vendor/xspec-1.0.0/test/schut-to-xspec.xspec +85 -0
- data/vendor/xspec-1.0.0/test/unit-expect-xsl.xspec +28 -0
- data/vendor/xspec-1.0.0/test/xspec-26.xsl +19 -0
- data/vendor/xspec-1.0.0/test/xspec-26.xspec +17 -0
- data/vendor/xspec-1.0.0/test/xspec-30.xml +2 -0
- data/vendor/xspec-1.0.0/test/xspec-30.xsl +6 -0
- data/vendor/xspec-1.0.0/test/xspec-30.xspec +8 -0
- data/vendor/xspec-1.0.0/test/xspec-33.xsl +7 -0
- data/vendor/xspec-1.0.0/test/xspec-33.xspec +15 -0
- data/vendor/xspec-1.0.0/test/xspec-46.xsl +7 -0
- data/vendor/xspec-1.0.0/test/xspec-46.xspec +9 -0
- data/vendor/xspec-1.0.0/test/xspec-72.xsl +13 -0
- data/vendor/xspec-1.0.0/test/xspec-72.xspec +19 -0
- data/vendor/xspec-1.0.0/test/xspec-bat.cmd +757 -0
- data/vendor/xspec-1.0.0/test/xspec-focus-2.xspec +91 -0
- data/vendor/xspec-1.0.0/test/xspec-junit.xspec +78 -0
- data/vendor/xspec-1.0.0/test/xspec-result-naming-collision.xml +1003 -0
- data/vendor/xspec-1.0.0/test/xspec-result-naming-collision.xslt +10 -0
- data/vendor/xspec-1.0.0/test/xspec-result-naming-collision.xspec +13 -0
- data/vendor/xspec-1.0.0/test/xspec-tested.xql +44 -0
- data/vendor/xspec-1.0.0/test/xspec-tested.xsl +64 -0
- data/vendor/xspec-1.0.0/test/xspec-variable.xml +3 -0
- data/vendor/xspec-1.0.0/test/xspec-variable.xspec +58 -0
- data/vendor/xspec-1.0.0/test/xspec-xslt3.xsl +13 -0
- data/vendor/xspec-1.0.0/test/xspec-xslt3.xspec +12 -0
- data/vendor/xspec-1.0.0/test/xspec.bats +420 -0
- data/vendor/xspec-1.0.0/tutorial/escape-for-regex.xslt +40 -0
- data/vendor/xspec-1.0.0/tutorial/escape-for-regex.xspec +75 -0
- data/vendor/xspec-1.0.0/tutorial/schematron/demo-01.sch +17 -0
- data/vendor/xspec-1.0.0/tutorial/schematron/demo-01.xml +11 -0
- data/vendor/xspec-1.0.0/tutorial/schematron/demo-01.xspec +14 -0
- data/vendor/xspec-1.0.0/tutorial/schematron/demo-02-PhaseA.xspec +11 -0
- data/vendor/xspec-1.0.0/tutorial/schematron/demo-02-PhaseB.xspec +12 -0
- data/vendor/xspec-1.0.0/tutorial/schematron/demo-02-import1.xspec +10 -0
- data/vendor/xspec-1.0.0/tutorial/schematron/demo-02-import2.xspec +8 -0
- data/vendor/xspec-1.0.0/tutorial/schematron/demo-02-import3.xspec +10 -0
- data/vendor/xspec-1.0.0/tutorial/schematron/demo-02.sch +58 -0
- data/vendor/xspec-1.0.0/tutorial/schematron/demo-02.xml +19 -0
- data/vendor/xspec-1.0.0/tutorial/schematron/demo-03-doc1.xml +6 -0
- data/vendor/xspec-1.0.0/tutorial/schematron/demo-03-doc2.xml +7 -0
- data/vendor/xspec-1.0.0/tutorial/schematron/demo-03.sch +29 -0
- data/vendor/xspec-1.0.0/tutorial/schematron/demo-03.xspec +63 -0
- data/vendor/xspec-1.0.0/tutorial/schematron/demo-04.sch +20 -0
- data/vendor/xspec-1.0.0/tutorial/schematron/demo-04.xspec +33 -0
- data/vendor/xspec-1.0.0/tutorial/schematron/quickfix.sch +81 -0
- data/vendor/xspec-1.0.0/tutorial/xquery-tutorial.xq +8 -0
- data/vendor/xspec-1.0.0/tutorial/xquery-tutorial.xspec +16 -0
- data/vendor/xspec-1.0.0/xproject/project.xml +8 -0
- data/vendor/xspec-1.0.0/xproject/release-project.xsl +41 -0
- metadata +341 -0
|
@@ -0,0 +1,1237 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?><html xmlns:test="http://www.jenitennison.com/xslt/unit-test" xmlns="http://www.w3.org/1999/xhtml">
|
|
2
|
+
<head>
|
|
3
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
4
|
+
<title>Test Report for xspec-three-dots.xsl (passed: 42 / pending: 0 / failed: 30 / total:
|
|
5
|
+
72)
|
|
6
|
+
</title>
|
|
7
|
+
<link rel="stylesheet" type="text/css" href="../../../../src/reporter/test-report.css" />
|
|
8
|
+
</head>
|
|
9
|
+
<body>
|
|
10
|
+
<h1>Test Report</h1>
|
|
11
|
+
<p>Stylesheet: <a href="xspec-three-dots.xsl">xspec-three-dots.xsl</a></p>
|
|
12
|
+
<p>Tested: ONCE-UPON-A-TIME</p>
|
|
13
|
+
<h2>Contents</h2>
|
|
14
|
+
<table class="xspec">
|
|
15
|
+
<col width="75%" />
|
|
16
|
+
<col width="6.25%" />
|
|
17
|
+
<col width="6.25%" />
|
|
18
|
+
<col width="6.25%" />
|
|
19
|
+
<col width="6.25%" />
|
|
20
|
+
<thead>
|
|
21
|
+
<tr>
|
|
22
|
+
<th></th>
|
|
23
|
+
<th class="totals">passed: 42</th>
|
|
24
|
+
<th class="totals">pending: 0</th>
|
|
25
|
+
<th class="totals">failed: 30</th>
|
|
26
|
+
<th class="totals">total: 72</th>
|
|
27
|
+
</tr>
|
|
28
|
+
</thead>
|
|
29
|
+
<tbody>
|
|
30
|
+
<tr class="failed">
|
|
31
|
+
<th><a href="#ELEM-115">For resultant element (simple)</a></th>
|
|
32
|
+
<th class="totals">5</th>
|
|
33
|
+
<th class="totals">0</th>
|
|
34
|
+
<th class="totals">2</th>
|
|
35
|
+
<th class="totals">7</th>
|
|
36
|
+
</tr>
|
|
37
|
+
<tr class="failed">
|
|
38
|
+
<th><a href="#ELEM-192">For resultant element (with attribute)</a></th>
|
|
39
|
+
<th class="totals">2</th>
|
|
40
|
+
<th class="totals">0</th>
|
|
41
|
+
<th class="totals">1</th>
|
|
42
|
+
<th class="totals">3</th>
|
|
43
|
+
</tr>
|
|
44
|
+
<tr class="failed">
|
|
45
|
+
<th><a href="#ELEM-233">For resultant element (with mixed content)</a></th>
|
|
46
|
+
<th class="totals">4</th>
|
|
47
|
+
<th class="totals">0</th>
|
|
48
|
+
<th class="totals">1</th>
|
|
49
|
+
<th class="totals">5</th>
|
|
50
|
+
</tr>
|
|
51
|
+
<tr class="failed">
|
|
52
|
+
<th><a href="#ELEM-284">For resultant attribute</a></th>
|
|
53
|
+
<th class="totals">5</th>
|
|
54
|
+
<th class="totals">0</th>
|
|
55
|
+
<th class="totals">1</th>
|
|
56
|
+
<th class="totals">6</th>
|
|
57
|
+
</tr>
|
|
58
|
+
<tr class="failed">
|
|
59
|
+
<th><a href="#ELEM-344">For resultant text node</a></th>
|
|
60
|
+
<th class="totals">4</th>
|
|
61
|
+
<th class="totals">0</th>
|
|
62
|
+
<th class="totals">5</th>
|
|
63
|
+
<th class="totals">9</th>
|
|
64
|
+
</tr>
|
|
65
|
+
<tr class="failed">
|
|
66
|
+
<th><a href="#ELEM-490">For resultant comment</a></th>
|
|
67
|
+
<th class="totals">5</th>
|
|
68
|
+
<th class="totals">0</th>
|
|
69
|
+
<th class="totals">1</th>
|
|
70
|
+
<th class="totals">6</th>
|
|
71
|
+
</tr>
|
|
72
|
+
<tr class="failed">
|
|
73
|
+
<th><a href="#ELEM-548">For resultant processing instruction</a></th>
|
|
74
|
+
<th class="totals">5</th>
|
|
75
|
+
<th class="totals">0</th>
|
|
76
|
+
<th class="totals">1</th>
|
|
77
|
+
<th class="totals">6</th>
|
|
78
|
+
</tr>
|
|
79
|
+
<tr class="failed">
|
|
80
|
+
<th><a href="#ELEM-606">For resultant document node</a></th>
|
|
81
|
+
<th class="totals">5</th>
|
|
82
|
+
<th class="totals">0</th>
|
|
83
|
+
<th class="totals">2</th>
|
|
84
|
+
<th class="totals">7</th>
|
|
85
|
+
</tr>
|
|
86
|
+
<tr class="failed">
|
|
87
|
+
<th><a href="#ELEM-685">For resultant namespace node (TODO: xspec/xspec#67)</a></th>
|
|
88
|
+
<th class="totals">3</th>
|
|
89
|
+
<th class="totals">0</th>
|
|
90
|
+
<th class="totals">4</th>
|
|
91
|
+
<th class="totals">7</th>
|
|
92
|
+
</tr>
|
|
93
|
+
<tr class="failed">
|
|
94
|
+
<th><a href="#ELEM-783">For resultant sequence of multiple nodes</a></th>
|
|
95
|
+
<th class="totals">2</th>
|
|
96
|
+
<th class="totals">0</th>
|
|
97
|
+
<th class="totals">3</th>
|
|
98
|
+
<th class="totals">5</th>
|
|
99
|
+
</tr>
|
|
100
|
+
<tr class="failed">
|
|
101
|
+
<th><a href="#ELEM-867">When result is empty sequence</a></th>
|
|
102
|
+
<th class="totals">0</th>
|
|
103
|
+
<th class="totals">0</th>
|
|
104
|
+
<th class="totals">1</th>
|
|
105
|
+
<th class="totals">1</th>
|
|
106
|
+
</tr>
|
|
107
|
+
<tr class="failed">
|
|
108
|
+
<th><a href="#ELEM-897">For resultant atomic value</a></th>
|
|
109
|
+
<th class="totals">2</th>
|
|
110
|
+
<th class="totals">0</th>
|
|
111
|
+
<th class="totals">4</th>
|
|
112
|
+
<th class="totals">6</th>
|
|
113
|
+
</tr>
|
|
114
|
+
<tr class="failed">
|
|
115
|
+
<th><a href="#ELEM-993">For any resultant item</a></th>
|
|
116
|
+
<th class="totals">0</th>
|
|
117
|
+
<th class="totals">0</th>
|
|
118
|
+
<th class="totals">4</th>
|
|
119
|
+
<th class="totals">4</th>
|
|
120
|
+
</tr>
|
|
121
|
+
</tbody>
|
|
122
|
+
</table>
|
|
123
|
+
<div id="ELEM-115">
|
|
124
|
+
<h2 class="successful">For resultant element (simple)<span class="scenario-totals">passed: 5 / pending: 0 / failed: 2 / total: 7</span></h2>
|
|
125
|
+
<table class="xspec" id="ELEM-117">
|
|
126
|
+
<col width="75%" />
|
|
127
|
+
<col width="25%" />
|
|
128
|
+
<tbody>
|
|
129
|
+
<tr class="successful">
|
|
130
|
+
<th>For resultant element (simple)</th>
|
|
131
|
+
<th>passed: 5 / pending: 0 / failed: 2 / total: 7</th>
|
|
132
|
+
</tr>
|
|
133
|
+
<tr class="successful">
|
|
134
|
+
<th>When result is <elem>text</elem> </th>
|
|
135
|
+
<th>passed: 2 / pending: 0 / failed: 0 / total: 2</th>
|
|
136
|
+
</tr>
|
|
137
|
+
<tr class="successful">
|
|
138
|
+
<td>expecting <elem>...</elem> should be Success</td>
|
|
139
|
+
<td>Success</td>
|
|
140
|
+
</tr>
|
|
141
|
+
<tr class="successful">
|
|
142
|
+
<td>expecting ... should be Success</td>
|
|
143
|
+
<td>Success</td>
|
|
144
|
+
</tr>
|
|
145
|
+
<tr class="failed">
|
|
146
|
+
<th><a href="#ELEM-158">When result is <elem /> </a></th>
|
|
147
|
+
<th>passed: 1 / pending: 0 / failed: 1 / total: 2</th>
|
|
148
|
+
</tr>
|
|
149
|
+
<tr class="successful">
|
|
150
|
+
<td>expecting <elem>...</elem> should be Success</td>
|
|
151
|
+
<td>Success</td>
|
|
152
|
+
</tr>
|
|
153
|
+
<tr class="failed">
|
|
154
|
+
<td><a href="#ELEM-159">expecting <elem attrib="..." /> should be Failure</a></td>
|
|
155
|
+
<td>Failure</td>
|
|
156
|
+
</tr>
|
|
157
|
+
<tr class="failed">
|
|
158
|
+
<th><a href="#ELEM-174">When result is <elem>...</elem> </a></th>
|
|
159
|
+
<th>passed: 2 / pending: 0 / failed: 1 / total: 3</th>
|
|
160
|
+
</tr>
|
|
161
|
+
<tr class="successful">
|
|
162
|
+
<td>expecting <elem>...</elem> should be Success</td>
|
|
163
|
+
<td>Success</td>
|
|
164
|
+
</tr>
|
|
165
|
+
<tr class="successful">
|
|
166
|
+
<td>expecting ... should be Success</td>
|
|
167
|
+
<td>Success</td>
|
|
168
|
+
</tr>
|
|
169
|
+
<tr class="failed">
|
|
170
|
+
<td><a href="#ELEM-175">expecting <elem>text</elem> should be Failure</a></td>
|
|
171
|
+
<td>Failure</td>
|
|
172
|
+
</tr>
|
|
173
|
+
</tbody>
|
|
174
|
+
</table>
|
|
175
|
+
<h3 id="ELEM-158">For resultant element (simple) When result is <elem /> </h3>
|
|
176
|
+
<h4 id="ELEM-159">expecting <elem attrib="..." /> should be Failure</h4>
|
|
177
|
+
<table class="xspecResult">
|
|
178
|
+
<thead>
|
|
179
|
+
<tr>
|
|
180
|
+
<th>Result</th>
|
|
181
|
+
<th>Expected Result</th>
|
|
182
|
+
</tr>
|
|
183
|
+
</thead>
|
|
184
|
+
<tbody>
|
|
185
|
+
<tr>
|
|
186
|
+
<td><pre><<span class="diff">elem</span> /></pre></td>
|
|
187
|
+
<td><pre><<span class="diff">elem</span> <span class="diff">attrib</span>="..." /></pre></td>
|
|
188
|
+
</tr>
|
|
189
|
+
</tbody>
|
|
190
|
+
</table>
|
|
191
|
+
<h3 id="ELEM-174">For resultant element (simple) When result is <elem>...</elem> </h3>
|
|
192
|
+
<h4 id="ELEM-175">expecting <elem>text</elem> should be Failure</h4>
|
|
193
|
+
<table class="xspecResult">
|
|
194
|
+
<thead>
|
|
195
|
+
<tr>
|
|
196
|
+
<th>Result</th>
|
|
197
|
+
<th>Expected Result</th>
|
|
198
|
+
</tr>
|
|
199
|
+
</thead>
|
|
200
|
+
<tbody>
|
|
201
|
+
<tr>
|
|
202
|
+
<td><pre><<span class="diff">elem</span>><span class="diff">...</span></elem></pre></td>
|
|
203
|
+
<td><pre><<span class="diff">elem</span>><span class="diff">text</span></elem></pre></td>
|
|
204
|
+
</tr>
|
|
205
|
+
</tbody>
|
|
206
|
+
</table>
|
|
207
|
+
</div>
|
|
208
|
+
<div id="ELEM-192">
|
|
209
|
+
<h2 class="successful">For resultant element (with attribute)<span class="scenario-totals">passed: 2 / pending: 0 / failed: 1 / total: 3</span></h2>
|
|
210
|
+
<table class="xspec" id="ELEM-194">
|
|
211
|
+
<col width="75%" />
|
|
212
|
+
<col width="25%" />
|
|
213
|
+
<tbody>
|
|
214
|
+
<tr class="successful">
|
|
215
|
+
<th>For resultant element (with attribute)</th>
|
|
216
|
+
<th>passed: 2 / pending: 0 / failed: 1 / total: 3</th>
|
|
217
|
+
</tr>
|
|
218
|
+
<tr class="failed">
|
|
219
|
+
<th><a href="#ELEM-215">When result is <elem attrib="val" /> </a></th>
|
|
220
|
+
<th>passed: 2 / pending: 0 / failed: 1 / total: 3</th>
|
|
221
|
+
</tr>
|
|
222
|
+
<tr class="successful">
|
|
223
|
+
<td>expecting <elem attrib="..." /> should be Success</td>
|
|
224
|
+
<td>Success</td>
|
|
225
|
+
</tr>
|
|
226
|
+
<tr class="successful">
|
|
227
|
+
<td>expecting ... should be Success</td>
|
|
228
|
+
<td>Success</td>
|
|
229
|
+
</tr>
|
|
230
|
+
<tr class="failed">
|
|
231
|
+
<td><a href="#ELEM-216">expecting <elem>...</elem> should be Failure</a></td>
|
|
232
|
+
<td>Failure</td>
|
|
233
|
+
</tr>
|
|
234
|
+
</tbody>
|
|
235
|
+
</table>
|
|
236
|
+
<h3 id="ELEM-215">For resultant element (with attribute) When result is <elem attrib="val" /> </h3>
|
|
237
|
+
<h4 id="ELEM-216">expecting <elem>...</elem> should be Failure</h4>
|
|
238
|
+
<table class="xspecResult">
|
|
239
|
+
<thead>
|
|
240
|
+
<tr>
|
|
241
|
+
<th>Result</th>
|
|
242
|
+
<th>Expected Result</th>
|
|
243
|
+
</tr>
|
|
244
|
+
</thead>
|
|
245
|
+
<tbody>
|
|
246
|
+
<tr>
|
|
247
|
+
<td><pre><<span class="diff">elem</span> <span class="diff">attrib</span>="val" /></pre></td>
|
|
248
|
+
<td><pre><<span class="diff">elem</span>><span class="diff">...</span></elem></pre></td>
|
|
249
|
+
</tr>
|
|
250
|
+
</tbody>
|
|
251
|
+
</table>
|
|
252
|
+
</div>
|
|
253
|
+
<div id="ELEM-233">
|
|
254
|
+
<h2 class="successful">For resultant element (with mixed content)<span class="scenario-totals">passed: 4 / pending: 0 / failed: 1 / total: 5</span></h2>
|
|
255
|
+
<table class="xspec" id="ELEM-235">
|
|
256
|
+
<col width="75%" />
|
|
257
|
+
<col width="25%" />
|
|
258
|
+
<tbody>
|
|
259
|
+
<tr class="successful">
|
|
260
|
+
<th>For resultant element (with mixed content)</th>
|
|
261
|
+
<th>passed: 4 / pending: 0 / failed: 1 / total: 5</th>
|
|
262
|
+
</tr>
|
|
263
|
+
<tr class="successful">
|
|
264
|
+
<th>When result is <outer>text<inner1 /><inner2 /></outer> </th>
|
|
265
|
+
<th>passed: 3 / pending: 0 / failed: 0 / total: 3</th>
|
|
266
|
+
</tr>
|
|
267
|
+
<tr class="successful">
|
|
268
|
+
<td>expecting <outer>...</outer> should be Success</td>
|
|
269
|
+
<td>Success</td>
|
|
270
|
+
</tr>
|
|
271
|
+
<tr class="successful">
|
|
272
|
+
<td>expecting <outer>...<inner1 />...</outer> should be Success</td>
|
|
273
|
+
<td>Success</td>
|
|
274
|
+
</tr>
|
|
275
|
+
<tr class="successful">
|
|
276
|
+
<td>expecting ... should be Success</td>
|
|
277
|
+
<td>Success</td>
|
|
278
|
+
</tr>
|
|
279
|
+
<tr class="failed">
|
|
280
|
+
<th><a href="#ELEM-265">When result is <outer><inner /></outer> </a></th>
|
|
281
|
+
<th>passed: 1 / pending: 0 / failed: 1 / total: 2</th>
|
|
282
|
+
</tr>
|
|
283
|
+
<tr class="successful">
|
|
284
|
+
<td>expecting <outer>...</outer> should be Success</td>
|
|
285
|
+
<td>Success</td>
|
|
286
|
+
</tr>
|
|
287
|
+
<tr class="failed">
|
|
288
|
+
<td><a href="#ELEM-266">expecting <outer>...<inner /></outer> should be Failure</a></td>
|
|
289
|
+
<td>Failure</td>
|
|
290
|
+
</tr>
|
|
291
|
+
</tbody>
|
|
292
|
+
</table>
|
|
293
|
+
<h3 id="ELEM-265">For resultant element (with mixed content) When result is <outer><inner /></outer>
|
|
294
|
+
|
|
295
|
+
</h3>
|
|
296
|
+
<h4 id="ELEM-266">expecting <outer>...<inner /></outer> should be Failure</h4>
|
|
297
|
+
<table class="xspecResult">
|
|
298
|
+
<thead>
|
|
299
|
+
<tr>
|
|
300
|
+
<th>Result</th>
|
|
301
|
+
<th>Expected Result</th>
|
|
302
|
+
</tr>
|
|
303
|
+
</thead>
|
|
304
|
+
<tbody>
|
|
305
|
+
<tr>
|
|
306
|
+
<td><pre><<span class="diff">outer</span>>
|
|
307
|
+
<<span class="same">inner</span> />
|
|
308
|
+
</outer></pre></td>
|
|
309
|
+
<td><pre><<span class="diff">outer</span>><span class="same">...</span><<span class="same">inner</span> />
|
|
310
|
+
</outer></pre></td>
|
|
311
|
+
</tr>
|
|
312
|
+
</tbody>
|
|
313
|
+
</table>
|
|
314
|
+
</div>
|
|
315
|
+
<div id="ELEM-284">
|
|
316
|
+
<h2 class="successful">For resultant attribute<span class="scenario-totals">passed: 5 / pending: 0 / failed: 1 / total: 6</span></h2>
|
|
317
|
+
<table class="xspec" id="ELEM-286">
|
|
318
|
+
<col width="75%" />
|
|
319
|
+
<col width="25%" />
|
|
320
|
+
<tbody>
|
|
321
|
+
<tr class="successful">
|
|
322
|
+
<th>For resultant attribute</th>
|
|
323
|
+
<th>passed: 5 / pending: 0 / failed: 1 / total: 6</th>
|
|
324
|
+
</tr>
|
|
325
|
+
<tr class="successful">
|
|
326
|
+
<th>When result is @attrib="val" </th>
|
|
327
|
+
<th>passed: 2 / pending: 0 / failed: 0 / total: 2</th>
|
|
328
|
+
</tr>
|
|
329
|
+
<tr class="successful">
|
|
330
|
+
<td>expecting @attrib="..." should be Success</td>
|
|
331
|
+
<td>Success</td>
|
|
332
|
+
</tr>
|
|
333
|
+
<tr class="successful">
|
|
334
|
+
<td>expecting ... should be Success</td>
|
|
335
|
+
<td>Success</td>
|
|
336
|
+
</tr>
|
|
337
|
+
<tr class="successful">
|
|
338
|
+
<th>When result is @attrib="" </th>
|
|
339
|
+
<th>passed: 1 / pending: 0 / failed: 0 / total: 1</th>
|
|
340
|
+
</tr>
|
|
341
|
+
<tr class="successful">
|
|
342
|
+
<td>expecting @attrib="..." should be Success</td>
|
|
343
|
+
<td>Success</td>
|
|
344
|
+
</tr>
|
|
345
|
+
<tr class="failed">
|
|
346
|
+
<th><a href="#ELEM-322">When result is @attrib="..." </a></th>
|
|
347
|
+
<th>passed: 2 / pending: 0 / failed: 1 / total: 3</th>
|
|
348
|
+
</tr>
|
|
349
|
+
<tr class="successful">
|
|
350
|
+
<td>expecting @attrib="..." should be Success</td>
|
|
351
|
+
<td>Success</td>
|
|
352
|
+
</tr>
|
|
353
|
+
<tr class="successful">
|
|
354
|
+
<td>expecting ... should be Success</td>
|
|
355
|
+
<td>Success</td>
|
|
356
|
+
</tr>
|
|
357
|
+
<tr class="failed">
|
|
358
|
+
<td><a href="#ELEM-323">expecting @attrib="val" should be Failure</a></td>
|
|
359
|
+
<td>Failure</td>
|
|
360
|
+
</tr>
|
|
361
|
+
</tbody>
|
|
362
|
+
</table>
|
|
363
|
+
<h3 id="ELEM-322">For resultant attribute When result is @attrib="..." </h3>
|
|
364
|
+
<h4 id="ELEM-323">expecting @attrib="val" should be Failure</h4>
|
|
365
|
+
<table class="xspecResult">
|
|
366
|
+
<thead>
|
|
367
|
+
<tr>
|
|
368
|
+
<th>Result</th>
|
|
369
|
+
<th>Expected Result</th>
|
|
370
|
+
</tr>
|
|
371
|
+
</thead>
|
|
372
|
+
<tbody>
|
|
373
|
+
<tr>
|
|
374
|
+
<td>
|
|
375
|
+
<p>XPath <code>/*/(@* | node())</code> from:
|
|
376
|
+
</p><pre><<span class="diff">temp</span> <span class="diff">attrib</span>="..." /></pre></td>
|
|
377
|
+
<td>
|
|
378
|
+
<p>XPath <code>/*/(@* | node())</code> from:
|
|
379
|
+
</p><pre><<span class="diff">temp</span> <span class="diff">attrib</span>="val" /></pre></td>
|
|
380
|
+
</tr>
|
|
381
|
+
</tbody>
|
|
382
|
+
</table>
|
|
383
|
+
</div>
|
|
384
|
+
<div id="ELEM-344">
|
|
385
|
+
<h2 class="successful">For resultant text node<span class="scenario-totals">passed: 4 / pending: 0 / failed: 5 / total: 9</span></h2>
|
|
386
|
+
<table class="xspec" id="ELEM-346">
|
|
387
|
+
<col width="75%" />
|
|
388
|
+
<col width="25%" />
|
|
389
|
+
<tbody>
|
|
390
|
+
<tr class="successful">
|
|
391
|
+
<th>For resultant text node</th>
|
|
392
|
+
<th>passed: 4 / pending: 0 / failed: 5 / total: 9</th>
|
|
393
|
+
</tr>
|
|
394
|
+
<tr class="failed">
|
|
395
|
+
<th><a href="#ELEM-401">When result is usual text node</a></th>
|
|
396
|
+
<th>passed: 1 / pending: 0 / failed: 1 / total: 2</th>
|
|
397
|
+
</tr>
|
|
398
|
+
<tr class="successful">
|
|
399
|
+
<td>expecting ... should be Success</td>
|
|
400
|
+
<td>Success</td>
|
|
401
|
+
</tr>
|
|
402
|
+
<tr class="failed">
|
|
403
|
+
<td><a href="#ELEM-402">expecting '...' should be Failure</a></td>
|
|
404
|
+
<td>Failure</td>
|
|
405
|
+
</tr>
|
|
406
|
+
<tr class="failed">
|
|
407
|
+
<th><a href="#ELEM-417">When result is whitespace-only text node</a></th>
|
|
408
|
+
<th>passed: 1 / pending: 0 / failed: 1 / total: 2</th>
|
|
409
|
+
</tr>
|
|
410
|
+
<tr class="successful">
|
|
411
|
+
<td>expecting ... should be Success</td>
|
|
412
|
+
<td>Success</td>
|
|
413
|
+
</tr>
|
|
414
|
+
<tr class="failed">
|
|
415
|
+
<td><a href="#ELEM-418">expecting usual text node should be Failure</a></td>
|
|
416
|
+
<td>Failure</td>
|
|
417
|
+
</tr>
|
|
418
|
+
<tr class="failed">
|
|
419
|
+
<th><a href="#ELEM-436">When result is zero-length text node</a></th>
|
|
420
|
+
<th>passed: 1 / pending: 0 / failed: 1 / total: 2</th>
|
|
421
|
+
</tr>
|
|
422
|
+
<tr class="successful">
|
|
423
|
+
<td>expecting ... should be Success</td>
|
|
424
|
+
<td>Success</td>
|
|
425
|
+
</tr>
|
|
426
|
+
<tr class="failed">
|
|
427
|
+
<td><a href="#ELEM-437">expecting usual text node should be Failure</a></td>
|
|
428
|
+
<td>Failure</td>
|
|
429
|
+
</tr>
|
|
430
|
+
<tr class="failed">
|
|
431
|
+
<th><a href="#ELEM-455">When result is three-dot text node</a></th>
|
|
432
|
+
<th>passed: 1 / pending: 0 / failed: 2 / total: 3</th>
|
|
433
|
+
</tr>
|
|
434
|
+
<tr class="successful">
|
|
435
|
+
<td>expecting ... should be Success</td>
|
|
436
|
+
<td>Success</td>
|
|
437
|
+
</tr>
|
|
438
|
+
<tr class="failed">
|
|
439
|
+
<td><a href="#ELEM-456">expecting usual text node should be Failure</a></td>
|
|
440
|
+
<td>Failure</td>
|
|
441
|
+
</tr>
|
|
442
|
+
<tr class="failed">
|
|
443
|
+
<td><a href="#ELEM-474">expecting '...' should be Failure</a></td>
|
|
444
|
+
<td>Failure</td>
|
|
445
|
+
</tr>
|
|
446
|
+
</tbody>
|
|
447
|
+
</table>
|
|
448
|
+
<h3 id="ELEM-401">For resultant text node When result is usual text node</h3>
|
|
449
|
+
<h4 id="ELEM-402">expecting '...' should be Failure</h4>
|
|
450
|
+
<table class="xspecResult">
|
|
451
|
+
<thead>
|
|
452
|
+
<tr>
|
|
453
|
+
<th>Result</th>
|
|
454
|
+
<th>Expected Result</th>
|
|
455
|
+
</tr>
|
|
456
|
+
</thead>
|
|
457
|
+
<tbody>
|
|
458
|
+
<tr>
|
|
459
|
+
<td>
|
|
460
|
+
<p>XPath <code>/node()</code> from:
|
|
461
|
+
</p><pre><span class="diff">text</span></pre></td>
|
|
462
|
+
<td><pre>'...'</pre></td>
|
|
463
|
+
</tr>
|
|
464
|
+
</tbody>
|
|
465
|
+
</table>
|
|
466
|
+
<h3 id="ELEM-417">For resultant text node When result is whitespace-only text node</h3>
|
|
467
|
+
<h4 id="ELEM-418">expecting usual text node should be Failure</h4>
|
|
468
|
+
<table class="xspecResult">
|
|
469
|
+
<thead>
|
|
470
|
+
<tr>
|
|
471
|
+
<th>Result</th>
|
|
472
|
+
<th>Expected Result</th>
|
|
473
|
+
</tr>
|
|
474
|
+
</thead>
|
|
475
|
+
<tbody>
|
|
476
|
+
<tr>
|
|
477
|
+
<td>
|
|
478
|
+
<p>XPath <code>/node()</code> from:
|
|
479
|
+
</p><pre><span class="whitespace">\t\n\r.</span></pre></td>
|
|
480
|
+
<td>
|
|
481
|
+
<p>XPath <code>/node()</code> from:
|
|
482
|
+
</p><pre><span class="diff">text</span></pre></td>
|
|
483
|
+
</tr>
|
|
484
|
+
</tbody>
|
|
485
|
+
</table>
|
|
486
|
+
<h3 id="ELEM-436">For resultant text node When result is zero-length text node</h3>
|
|
487
|
+
<h4 id="ELEM-437">expecting usual text node should be Failure</h4>
|
|
488
|
+
<table class="xspecResult">
|
|
489
|
+
<thead>
|
|
490
|
+
<tr>
|
|
491
|
+
<th>Result</th>
|
|
492
|
+
<th>Expected Result</th>
|
|
493
|
+
</tr>
|
|
494
|
+
</thead>
|
|
495
|
+
<tbody>
|
|
496
|
+
<tr>
|
|
497
|
+
<td>
|
|
498
|
+
<p>XPath <code>/node()</code> from:
|
|
499
|
+
</p><pre><span class="whitespace"></span></pre></td>
|
|
500
|
+
<td>
|
|
501
|
+
<p>XPath <code>/node()</code> from:
|
|
502
|
+
</p><pre><span class="diff">text</span></pre></td>
|
|
503
|
+
</tr>
|
|
504
|
+
</tbody>
|
|
505
|
+
</table>
|
|
506
|
+
<h3 id="ELEM-455">For resultant text node When result is three-dot text node</h3>
|
|
507
|
+
<h4 id="ELEM-456">expecting usual text node should be Failure</h4>
|
|
508
|
+
<table class="xspecResult">
|
|
509
|
+
<thead>
|
|
510
|
+
<tr>
|
|
511
|
+
<th>Result</th>
|
|
512
|
+
<th>Expected Result</th>
|
|
513
|
+
</tr>
|
|
514
|
+
</thead>
|
|
515
|
+
<tbody>
|
|
516
|
+
<tr>
|
|
517
|
+
<td>
|
|
518
|
+
<p>XPath <code>/node()</code> from:
|
|
519
|
+
</p><pre><span class="diff">...</span></pre></td>
|
|
520
|
+
<td>
|
|
521
|
+
<p>XPath <code>/node()</code> from:
|
|
522
|
+
</p><pre><span class="diff">text</span></pre></td>
|
|
523
|
+
</tr>
|
|
524
|
+
</tbody>
|
|
525
|
+
</table>
|
|
526
|
+
<h4 id="ELEM-474">expecting '...' should be Failure</h4>
|
|
527
|
+
<table class="xspecResult">
|
|
528
|
+
<thead>
|
|
529
|
+
<tr>
|
|
530
|
+
<th>Result</th>
|
|
531
|
+
<th>Expected Result</th>
|
|
532
|
+
</tr>
|
|
533
|
+
</thead>
|
|
534
|
+
<tbody>
|
|
535
|
+
<tr>
|
|
536
|
+
<td>
|
|
537
|
+
<p>XPath <code>/node()</code> from:
|
|
538
|
+
</p><pre><span class="diff">...</span></pre></td>
|
|
539
|
+
<td><pre>'...'</pre></td>
|
|
540
|
+
</tr>
|
|
541
|
+
</tbody>
|
|
542
|
+
</table>
|
|
543
|
+
</div>
|
|
544
|
+
<div id="ELEM-490">
|
|
545
|
+
<h2 class="successful">For resultant comment<span class="scenario-totals">passed: 5 / pending: 0 / failed: 1 / total: 6</span></h2>
|
|
546
|
+
<table class="xspec" id="ELEM-492">
|
|
547
|
+
<col width="75%" />
|
|
548
|
+
<col width="25%" />
|
|
549
|
+
<tbody>
|
|
550
|
+
<tr class="successful">
|
|
551
|
+
<th>For resultant comment</th>
|
|
552
|
+
<th>passed: 5 / pending: 0 / failed: 1 / total: 6</th>
|
|
553
|
+
</tr>
|
|
554
|
+
<tr class="successful">
|
|
555
|
+
<th>When result is <!--comment--> </th>
|
|
556
|
+
<th>passed: 2 / pending: 0 / failed: 0 / total: 2</th>
|
|
557
|
+
</tr>
|
|
558
|
+
<tr class="successful">
|
|
559
|
+
<td>expecting <!--...--> should be Success</td>
|
|
560
|
+
<td>Success</td>
|
|
561
|
+
</tr>
|
|
562
|
+
<tr class="successful">
|
|
563
|
+
<td>expecting ... should be Success</td>
|
|
564
|
+
<td>Success</td>
|
|
565
|
+
</tr>
|
|
566
|
+
<tr class="successful">
|
|
567
|
+
<th>When result is <!----> </th>
|
|
568
|
+
<th>passed: 1 / pending: 0 / failed: 0 / total: 1</th>
|
|
569
|
+
</tr>
|
|
570
|
+
<tr class="successful">
|
|
571
|
+
<td>expecting <!--...--> should be Success</td>
|
|
572
|
+
<td>Success</td>
|
|
573
|
+
</tr>
|
|
574
|
+
<tr class="failed">
|
|
575
|
+
<th><a href="#ELEM-528">When result is <!--...--> </a></th>
|
|
576
|
+
<th>passed: 2 / pending: 0 / failed: 1 / total: 3</th>
|
|
577
|
+
</tr>
|
|
578
|
+
<tr class="successful">
|
|
579
|
+
<td>expecting <!--...--> should be Success</td>
|
|
580
|
+
<td>Success</td>
|
|
581
|
+
</tr>
|
|
582
|
+
<tr class="successful">
|
|
583
|
+
<td>expecting ... should be Success</td>
|
|
584
|
+
<td>Success</td>
|
|
585
|
+
</tr>
|
|
586
|
+
<tr class="failed">
|
|
587
|
+
<td><a href="#ELEM-529">expecting <!--comment--> should be Failure</a></td>
|
|
588
|
+
<td>Failure</td>
|
|
589
|
+
</tr>
|
|
590
|
+
</tbody>
|
|
591
|
+
</table>
|
|
592
|
+
<h3 id="ELEM-528">For resultant comment When result is <!--...--> </h3>
|
|
593
|
+
<h4 id="ELEM-529">expecting <!--comment--> should be Failure</h4>
|
|
594
|
+
<table class="xspecResult">
|
|
595
|
+
<thead>
|
|
596
|
+
<tr>
|
|
597
|
+
<th>Result</th>
|
|
598
|
+
<th>Expected Result</th>
|
|
599
|
+
</tr>
|
|
600
|
+
</thead>
|
|
601
|
+
<tbody>
|
|
602
|
+
<tr>
|
|
603
|
+
<td>
|
|
604
|
+
<p>XPath <code>/node()</code> from:
|
|
605
|
+
</p><pre><span class="diff"><--...--></span></pre></td>
|
|
606
|
+
<td>
|
|
607
|
+
<p>XPath <code>/node()</code> from:
|
|
608
|
+
</p><pre><span class="diff"><--comment--></span></pre></td>
|
|
609
|
+
</tr>
|
|
610
|
+
</tbody>
|
|
611
|
+
</table>
|
|
612
|
+
</div>
|
|
613
|
+
<div id="ELEM-548">
|
|
614
|
+
<h2 class="successful">For resultant processing instruction<span class="scenario-totals">passed: 5 / pending: 0 / failed: 1 / total: 6</span></h2>
|
|
615
|
+
<table class="xspec" id="ELEM-550">
|
|
616
|
+
<col width="75%" />
|
|
617
|
+
<col width="25%" />
|
|
618
|
+
<tbody>
|
|
619
|
+
<tr class="successful">
|
|
620
|
+
<th>For resultant processing instruction</th>
|
|
621
|
+
<th>passed: 5 / pending: 0 / failed: 1 / total: 6</th>
|
|
622
|
+
</tr>
|
|
623
|
+
<tr class="successful">
|
|
624
|
+
<th>When result is <?pi data?> </th>
|
|
625
|
+
<th>passed: 2 / pending: 0 / failed: 0 / total: 2</th>
|
|
626
|
+
</tr>
|
|
627
|
+
<tr class="successful">
|
|
628
|
+
<td>expecting <?pi ...?> should be Success</td>
|
|
629
|
+
<td>Success</td>
|
|
630
|
+
</tr>
|
|
631
|
+
<tr class="successful">
|
|
632
|
+
<td>expecting ... should be Success</td>
|
|
633
|
+
<td>Success</td>
|
|
634
|
+
</tr>
|
|
635
|
+
<tr class="successful">
|
|
636
|
+
<th>When result is <?pi?> </th>
|
|
637
|
+
<th>passed: 1 / pending: 0 / failed: 0 / total: 1</th>
|
|
638
|
+
</tr>
|
|
639
|
+
<tr class="successful">
|
|
640
|
+
<td>expecting <?pi ...?> should be Success</td>
|
|
641
|
+
<td>Success</td>
|
|
642
|
+
</tr>
|
|
643
|
+
<tr class="failed">
|
|
644
|
+
<th><a href="#ELEM-586">When result is <?pi ...?> </a></th>
|
|
645
|
+
<th>passed: 2 / pending: 0 / failed: 1 / total: 3</th>
|
|
646
|
+
</tr>
|
|
647
|
+
<tr class="successful">
|
|
648
|
+
<td>expecting <?pi ...?> should be Success</td>
|
|
649
|
+
<td>Success</td>
|
|
650
|
+
</tr>
|
|
651
|
+
<tr class="successful">
|
|
652
|
+
<td>expecting ... should be Success</td>
|
|
653
|
+
<td>Success</td>
|
|
654
|
+
</tr>
|
|
655
|
+
<tr class="failed">
|
|
656
|
+
<td><a href="#ELEM-587">expecting <?pi data?> should be Failure</a></td>
|
|
657
|
+
<td>Failure</td>
|
|
658
|
+
</tr>
|
|
659
|
+
</tbody>
|
|
660
|
+
</table>
|
|
661
|
+
<h3 id="ELEM-586">For resultant processing instruction When result is <?pi ...?> </h3>
|
|
662
|
+
<h4 id="ELEM-587">expecting <?pi data?> should be Failure</h4>
|
|
663
|
+
<table class="xspecResult">
|
|
664
|
+
<thead>
|
|
665
|
+
<tr>
|
|
666
|
+
<th>Result</th>
|
|
667
|
+
<th>Expected Result</th>
|
|
668
|
+
</tr>
|
|
669
|
+
</thead>
|
|
670
|
+
<tbody>
|
|
671
|
+
<tr>
|
|
672
|
+
<td>
|
|
673
|
+
<p>XPath <code>/node()</code> from:
|
|
674
|
+
</p><pre><span class="diff"><?pi ...?></span></pre></td>
|
|
675
|
+
<td>
|
|
676
|
+
<p>XPath <code>/node()</code> from:
|
|
677
|
+
</p><pre><span class="diff"><?pi data?></span></pre></td>
|
|
678
|
+
</tr>
|
|
679
|
+
</tbody>
|
|
680
|
+
</table>
|
|
681
|
+
</div>
|
|
682
|
+
<div id="ELEM-606">
|
|
683
|
+
<h2 class="successful">For resultant document node<span class="scenario-totals">passed: 5 / pending: 0 / failed: 2 / total: 7</span></h2>
|
|
684
|
+
<table class="xspec" id="ELEM-608">
|
|
685
|
+
<col width="75%" />
|
|
686
|
+
<col width="25%" />
|
|
687
|
+
<tbody>
|
|
688
|
+
<tr class="successful">
|
|
689
|
+
<th>For resultant document node</th>
|
|
690
|
+
<th>passed: 5 / pending: 0 / failed: 2 / total: 7</th>
|
|
691
|
+
</tr>
|
|
692
|
+
<tr class="successful">
|
|
693
|
+
<th>When result is <xsl:document><?pi?><!--comment--><elem /></xsl:document> </th>
|
|
694
|
+
<th>passed: 2 / pending: 0 / failed: 0 / total: 2</th>
|
|
695
|
+
</tr>
|
|
696
|
+
<tr class="successful">
|
|
697
|
+
<td>expecting <xsl:document>...</xsl:document> should be Success</td>
|
|
698
|
+
<td>Success</td>
|
|
699
|
+
</tr>
|
|
700
|
+
<tr class="successful">
|
|
701
|
+
<td>expecting ... should be Success</td>
|
|
702
|
+
<td>Success</td>
|
|
703
|
+
</tr>
|
|
704
|
+
<tr class="failed">
|
|
705
|
+
<th><a href="#ELEM-649">When result is <xsl:document /> </a></th>
|
|
706
|
+
<th>passed: 1 / pending: 0 / failed: 1 / total: 2</th>
|
|
707
|
+
</tr>
|
|
708
|
+
<tr class="successful">
|
|
709
|
+
<td>expecting ... should be Success</td>
|
|
710
|
+
<td>Success</td>
|
|
711
|
+
</tr>
|
|
712
|
+
<tr class="failed">
|
|
713
|
+
<td><a href="#ELEM-650">expecting <xsl:document>...</xsl:document> should be Failure</a></td>
|
|
714
|
+
<td>Failure</td>
|
|
715
|
+
</tr>
|
|
716
|
+
<tr class="failed">
|
|
717
|
+
<th><a href="#ELEM-665">When result is <xsl:document>...</xsl:document> </a></th>
|
|
718
|
+
<th>passed: 2 / pending: 0 / failed: 1 / total: 3</th>
|
|
719
|
+
</tr>
|
|
720
|
+
<tr class="successful">
|
|
721
|
+
<td>expecting <xsl:document>...</xsl:document> should be Success</td>
|
|
722
|
+
<td>Success</td>
|
|
723
|
+
</tr>
|
|
724
|
+
<tr class="successful">
|
|
725
|
+
<td>expecting ... should be Success</td>
|
|
726
|
+
<td>Success</td>
|
|
727
|
+
</tr>
|
|
728
|
+
<tr class="failed">
|
|
729
|
+
<td><a href="#ELEM-666">expecting <xsl:document>text</xsl:document> should be Failure</a></td>
|
|
730
|
+
<td>Failure</td>
|
|
731
|
+
</tr>
|
|
732
|
+
</tbody>
|
|
733
|
+
</table>
|
|
734
|
+
<h3 id="ELEM-649">For resultant document node When result is <xsl:document /> </h3>
|
|
735
|
+
<h4 id="ELEM-650">expecting <xsl:document>...</xsl:document> should be Failure</h4>
|
|
736
|
+
<table class="xspecResult">
|
|
737
|
+
<thead>
|
|
738
|
+
<tr>
|
|
739
|
+
<th>Result</th>
|
|
740
|
+
<th>Expected Result</th>
|
|
741
|
+
</tr>
|
|
742
|
+
</thead>
|
|
743
|
+
<tbody>
|
|
744
|
+
<tr>
|
|
745
|
+
<td><pre>/</pre></td>
|
|
746
|
+
<td>
|
|
747
|
+
<p>XPath <code>/</code> from:
|
|
748
|
+
</p><pre><span class="diff">...</span></pre></td>
|
|
749
|
+
</tr>
|
|
750
|
+
</tbody>
|
|
751
|
+
</table>
|
|
752
|
+
<h3 id="ELEM-665">For resultant document node When result is <xsl:document>...</xsl:document> </h3>
|
|
753
|
+
<h4 id="ELEM-666">expecting <xsl:document>text</xsl:document> should be Failure</h4>
|
|
754
|
+
<table class="xspecResult">
|
|
755
|
+
<thead>
|
|
756
|
+
<tr>
|
|
757
|
+
<th>Result</th>
|
|
758
|
+
<th>Expected Result</th>
|
|
759
|
+
</tr>
|
|
760
|
+
</thead>
|
|
761
|
+
<tbody>
|
|
762
|
+
<tr>
|
|
763
|
+
<td>
|
|
764
|
+
<p>XPath <code>/</code> from:
|
|
765
|
+
</p><pre><span class="diff">...</span></pre></td>
|
|
766
|
+
<td>
|
|
767
|
+
<p>XPath <code>/</code> from:
|
|
768
|
+
</p><pre><span class="diff">text</span></pre></td>
|
|
769
|
+
</tr>
|
|
770
|
+
</tbody>
|
|
771
|
+
</table>
|
|
772
|
+
</div>
|
|
773
|
+
<div id="ELEM-685">
|
|
774
|
+
<h2 class="successful">For resultant namespace node (TODO: xspec/xspec#67)<span class="scenario-totals">passed: 3 / pending: 0 / failed: 4 / total: 7</span></h2>
|
|
775
|
+
<table class="xspec" id="ELEM-687">
|
|
776
|
+
<col width="75%" />
|
|
777
|
+
<col width="25%" />
|
|
778
|
+
<tbody>
|
|
779
|
+
<tr class="successful">
|
|
780
|
+
<th>For resultant namespace node (TODO: xspec/xspec#67)</th>
|
|
781
|
+
<th>passed: 3 / pending: 0 / failed: 4 / total: 7</th>
|
|
782
|
+
</tr>
|
|
783
|
+
<tr class="failed">
|
|
784
|
+
<th><a href="#ELEM-731">When result is xmlns:prefix="namespace-uri" </a></th>
|
|
785
|
+
<th>passed: 1 / pending: 0 / failed: 1 / total: 2</th>
|
|
786
|
+
</tr>
|
|
787
|
+
<tr class="failed">
|
|
788
|
+
<td><a href="#ELEM-732">expecting xmlns:prefix="..." should be Success</a></td>
|
|
789
|
+
<td>Failure</td>
|
|
790
|
+
</tr>
|
|
791
|
+
<tr class="successful">
|
|
792
|
+
<td>expecting ... should be Success</td>
|
|
793
|
+
<td>Success</td>
|
|
794
|
+
</tr>
|
|
795
|
+
<tr class="failed">
|
|
796
|
+
<th><a href="#ELEM-744">When result is xmlns="namespace-uri" </a></th>
|
|
797
|
+
<th>passed: 1 / pending: 0 / failed: 1 / total: 2</th>
|
|
798
|
+
</tr>
|
|
799
|
+
<tr class="failed">
|
|
800
|
+
<td><a href="#ELEM-745">expecting xmlns="..." should be Success</a></td>
|
|
801
|
+
<td>Failure</td>
|
|
802
|
+
</tr>
|
|
803
|
+
<tr class="successful">
|
|
804
|
+
<td>expecting ... should be Success</td>
|
|
805
|
+
<td>Success</td>
|
|
806
|
+
</tr>
|
|
807
|
+
<tr class="failed">
|
|
808
|
+
<th><a href="#ELEM-757">When result is xmlns:prefix="..." </a></th>
|
|
809
|
+
<th>passed: 1 / pending: 0 / failed: 2 / total: 3</th>
|
|
810
|
+
</tr>
|
|
811
|
+
<tr class="failed">
|
|
812
|
+
<td><a href="#ELEM-758">expecting xmlns:prefix="..." should be Success</a></td>
|
|
813
|
+
<td>Failure</td>
|
|
814
|
+
</tr>
|
|
815
|
+
<tr class="successful">
|
|
816
|
+
<td>expecting ... should be Success</td>
|
|
817
|
+
<td>Success</td>
|
|
818
|
+
</tr>
|
|
819
|
+
<tr class="failed">
|
|
820
|
+
<td><a href="#ELEM-770">expecting xmlns:prefix="namespace-uri" should be Failure</a></td>
|
|
821
|
+
<td>Failure</td>
|
|
822
|
+
</tr>
|
|
823
|
+
</tbody>
|
|
824
|
+
</table>
|
|
825
|
+
<h3 id="ELEM-731">For resultant namespace node (TODO: xspec/xspec#67) When result is xmlns:prefix="namespace-uri"
|
|
826
|
+
|
|
827
|
+
</h3>
|
|
828
|
+
<h4 id="ELEM-732">expecting xmlns:prefix="..." should be Success</h4>
|
|
829
|
+
<table class="xspecResult">
|
|
830
|
+
<thead>
|
|
831
|
+
<tr>
|
|
832
|
+
<th>Result</th>
|
|
833
|
+
<th>Expected Result</th>
|
|
834
|
+
</tr>
|
|
835
|
+
</thead>
|
|
836
|
+
<tbody>
|
|
837
|
+
<tr>
|
|
838
|
+
<td><pre>/node()</pre></td>
|
|
839
|
+
<td><pre>/node()</pre></td>
|
|
840
|
+
</tr>
|
|
841
|
+
</tbody>
|
|
842
|
+
</table>
|
|
843
|
+
<h3 id="ELEM-744">For resultant namespace node (TODO: xspec/xspec#67) When result is xmlns="namespace-uri"
|
|
844
|
+
|
|
845
|
+
</h3>
|
|
846
|
+
<h4 id="ELEM-745">expecting xmlns="..." should be Success</h4>
|
|
847
|
+
<table class="xspecResult">
|
|
848
|
+
<thead>
|
|
849
|
+
<tr>
|
|
850
|
+
<th>Result</th>
|
|
851
|
+
<th>Expected Result</th>
|
|
852
|
+
</tr>
|
|
853
|
+
</thead>
|
|
854
|
+
<tbody>
|
|
855
|
+
<tr>
|
|
856
|
+
<td><pre>/node()</pre></td>
|
|
857
|
+
<td><pre>/node()</pre></td>
|
|
858
|
+
</tr>
|
|
859
|
+
</tbody>
|
|
860
|
+
</table>
|
|
861
|
+
<h3 id="ELEM-757">For resultant namespace node (TODO: xspec/xspec#67) When result is xmlns:prefix="..."
|
|
862
|
+
|
|
863
|
+
</h3>
|
|
864
|
+
<h4 id="ELEM-758">expecting xmlns:prefix="..." should be Success</h4>
|
|
865
|
+
<table class="xspecResult">
|
|
866
|
+
<thead>
|
|
867
|
+
<tr>
|
|
868
|
+
<th>Result</th>
|
|
869
|
+
<th>Expected Result</th>
|
|
870
|
+
</tr>
|
|
871
|
+
</thead>
|
|
872
|
+
<tbody>
|
|
873
|
+
<tr>
|
|
874
|
+
<td><pre>/node()</pre></td>
|
|
875
|
+
<td><pre>/node()</pre></td>
|
|
876
|
+
</tr>
|
|
877
|
+
</tbody>
|
|
878
|
+
</table>
|
|
879
|
+
<h4 id="ELEM-770">expecting xmlns:prefix="namespace-uri" should be Failure</h4>
|
|
880
|
+
<table class="xspecResult">
|
|
881
|
+
<thead>
|
|
882
|
+
<tr>
|
|
883
|
+
<th>Result</th>
|
|
884
|
+
<th>Expected Result</th>
|
|
885
|
+
</tr>
|
|
886
|
+
</thead>
|
|
887
|
+
<tbody>
|
|
888
|
+
<tr>
|
|
889
|
+
<td><pre>/node()</pre></td>
|
|
890
|
+
<td><pre>/node()</pre></td>
|
|
891
|
+
</tr>
|
|
892
|
+
</tbody>
|
|
893
|
+
</table>
|
|
894
|
+
</div>
|
|
895
|
+
<div id="ELEM-783">
|
|
896
|
+
<h2 class="successful">For resultant sequence of multiple nodes<span class="scenario-totals">passed: 2 / pending: 0 / failed: 3 / total: 5</span></h2>
|
|
897
|
+
<table class="xspec" id="ELEM-785">
|
|
898
|
+
<col width="75%" />
|
|
899
|
+
<col width="25%" />
|
|
900
|
+
<tbody>
|
|
901
|
+
<tr class="successful">
|
|
902
|
+
<th>For resultant sequence of multiple nodes</th>
|
|
903
|
+
<th>passed: 2 / pending: 0 / failed: 3 / total: 5</th>
|
|
904
|
+
</tr>
|
|
905
|
+
<tr class="failed">
|
|
906
|
+
<th><a href="#ELEM-814">When result is sequence of <elem1 /><elem2 /> </a></th>
|
|
907
|
+
<th>passed: 2 / pending: 0 / failed: 3 / total: 5</th>
|
|
908
|
+
</tr>
|
|
909
|
+
<tr class="successful">
|
|
910
|
+
<td>expecting ...<elem2 /> should be Success</td>
|
|
911
|
+
<td>Success</td>
|
|
912
|
+
</tr>
|
|
913
|
+
<tr class="successful">
|
|
914
|
+
<td>expecting sequence of two ... should be Success</td>
|
|
915
|
+
<td>Success</td>
|
|
916
|
+
</tr>
|
|
917
|
+
<tr class="failed">
|
|
918
|
+
<td><a href="#ELEM-815">expecting ... should be Failure</a></td>
|
|
919
|
+
<td>Failure</td>
|
|
920
|
+
</tr>
|
|
921
|
+
<tr class="failed">
|
|
922
|
+
<td><a href="#ELEM-832">expecting ...... should be Failure</a></td>
|
|
923
|
+
<td>Failure</td>
|
|
924
|
+
</tr>
|
|
925
|
+
<tr class="failed">
|
|
926
|
+
<td><a href="#ELEM-849">expecting sequence of three ... should be Failure</a></td>
|
|
927
|
+
<td>Failure</td>
|
|
928
|
+
</tr>
|
|
929
|
+
</tbody>
|
|
930
|
+
</table>
|
|
931
|
+
<h3 id="ELEM-814">For resultant sequence of multiple nodes When result is sequence of <elem1 /><elem2
|
|
932
|
+
/>
|
|
933
|
+
</h3>
|
|
934
|
+
<h4 id="ELEM-815">expecting ... should be Failure</h4>
|
|
935
|
+
<table class="xspecResult">
|
|
936
|
+
<thead>
|
|
937
|
+
<tr>
|
|
938
|
+
<th>Result</th>
|
|
939
|
+
<th>Expected Result</th>
|
|
940
|
+
</tr>
|
|
941
|
+
</thead>
|
|
942
|
+
<tbody>
|
|
943
|
+
<tr>
|
|
944
|
+
<td><pre><<span class="same">elem1</span> /><<span class="diff">elem2</span> /></pre></td>
|
|
945
|
+
<td>
|
|
946
|
+
<p>XPath <code>/node()</code> from:
|
|
947
|
+
</p><pre><span class="same">...</span></pre></td>
|
|
948
|
+
</tr>
|
|
949
|
+
</tbody>
|
|
950
|
+
</table>
|
|
951
|
+
<h4 id="ELEM-832">expecting ...... should be Failure</h4>
|
|
952
|
+
<table class="xspecResult">
|
|
953
|
+
<thead>
|
|
954
|
+
<tr>
|
|
955
|
+
<th>Result</th>
|
|
956
|
+
<th>Expected Result</th>
|
|
957
|
+
</tr>
|
|
958
|
+
</thead>
|
|
959
|
+
<tbody>
|
|
960
|
+
<tr>
|
|
961
|
+
<td><pre><<span class="diff">elem1</span> /><<span class="diff">elem2</span> /></pre></td>
|
|
962
|
+
<td>
|
|
963
|
+
<p>XPath <code>/node()</code> from:
|
|
964
|
+
</p><pre><span class="diff">......</span></pre></td>
|
|
965
|
+
</tr>
|
|
966
|
+
</tbody>
|
|
967
|
+
</table>
|
|
968
|
+
<h4 id="ELEM-849">expecting sequence of three ... should be Failure</h4>
|
|
969
|
+
<table class="xspecResult">
|
|
970
|
+
<thead>
|
|
971
|
+
<tr>
|
|
972
|
+
<th>Result</th>
|
|
973
|
+
<th>Expected Result</th>
|
|
974
|
+
</tr>
|
|
975
|
+
</thead>
|
|
976
|
+
<tbody>
|
|
977
|
+
<tr>
|
|
978
|
+
<td><pre><<span class="diff">elem1</span> /><<span class="diff">elem2</span> /></pre></td>
|
|
979
|
+
<td>
|
|
980
|
+
<p>XPath <code>/node()</code> from:
|
|
981
|
+
</p><pre><span class="diff">.........</span></pre></td>
|
|
982
|
+
</tr>
|
|
983
|
+
</tbody>
|
|
984
|
+
</table>
|
|
985
|
+
</div>
|
|
986
|
+
<div id="ELEM-867">
|
|
987
|
+
<h2 class="failed">When result is empty sequence<span class="scenario-totals">passed: 0 / pending: 0 / failed: 1 / total: 1</span></h2>
|
|
988
|
+
<table class="xspec" id="ELEM-869">
|
|
989
|
+
<col width="75%" />
|
|
990
|
+
<col width="25%" />
|
|
991
|
+
<tbody>
|
|
992
|
+
<tr class="failed">
|
|
993
|
+
<th>When result is empty sequence</th>
|
|
994
|
+
<th>passed: 0 / pending: 0 / failed: 1 / total: 1</th>
|
|
995
|
+
</tr>
|
|
996
|
+
<tr class="failed">
|
|
997
|
+
<td><a href="#ELEM-881">expecting ... should be Failure</a></td>
|
|
998
|
+
<td>Failure</td>
|
|
999
|
+
</tr>
|
|
1000
|
+
</tbody>
|
|
1001
|
+
</table>
|
|
1002
|
+
<h3 id="ELEM-867">When result is empty sequence</h3>
|
|
1003
|
+
<h4 id="ELEM-881">expecting ... should be Failure</h4>
|
|
1004
|
+
<table class="xspecResult">
|
|
1005
|
+
<thead>
|
|
1006
|
+
<tr>
|
|
1007
|
+
<th>Result</th>
|
|
1008
|
+
<th>Expected Result</th>
|
|
1009
|
+
</tr>
|
|
1010
|
+
</thead>
|
|
1011
|
+
<tbody>
|
|
1012
|
+
<tr>
|
|
1013
|
+
<td><pre>()</pre></td>
|
|
1014
|
+
<td>
|
|
1015
|
+
<p>XPath <code>/node()</code> from:
|
|
1016
|
+
</p><pre><span class="diff">...</span></pre></td>
|
|
1017
|
+
</tr>
|
|
1018
|
+
</tbody>
|
|
1019
|
+
</table>
|
|
1020
|
+
</div>
|
|
1021
|
+
<div id="ELEM-897">
|
|
1022
|
+
<h2 class="successful">For resultant atomic value<span class="scenario-totals">passed: 2 / pending: 0 / failed: 4 / total: 6</span></h2>
|
|
1023
|
+
<table class="xspec" id="ELEM-899">
|
|
1024
|
+
<col width="75%" />
|
|
1025
|
+
<col width="25%" />
|
|
1026
|
+
<tbody>
|
|
1027
|
+
<tr class="successful">
|
|
1028
|
+
<th>For resultant atomic value</th>
|
|
1029
|
+
<th>passed: 2 / pending: 0 / failed: 4 / total: 6</th>
|
|
1030
|
+
</tr>
|
|
1031
|
+
<tr class="failed">
|
|
1032
|
+
<th><a href="#ELEM-936">When result is 'string'</a></th>
|
|
1033
|
+
<th>passed: 1 / pending: 0 / failed: 2 / total: 3</th>
|
|
1034
|
+
</tr>
|
|
1035
|
+
<tr class="successful">
|
|
1036
|
+
<td>expecting 'string' should be Success</td>
|
|
1037
|
+
<td>Success</td>
|
|
1038
|
+
</tr>
|
|
1039
|
+
<tr class="failed">
|
|
1040
|
+
<td><a href="#ELEM-937">expecting ... should be Failure</a></td>
|
|
1041
|
+
<td>Failure</td>
|
|
1042
|
+
</tr>
|
|
1043
|
+
<tr class="failed">
|
|
1044
|
+
<td><a href="#ELEM-952">expecting '...' should be Failure</a></td>
|
|
1045
|
+
<td>Failure</td>
|
|
1046
|
+
</tr>
|
|
1047
|
+
<tr class="failed">
|
|
1048
|
+
<th><a href="#ELEM-964">When result is '...'</a></th>
|
|
1049
|
+
<th>passed: 1 / pending: 0 / failed: 2 / total: 3</th>
|
|
1050
|
+
</tr>
|
|
1051
|
+
<tr class="successful">
|
|
1052
|
+
<td>expecting '...' should be Success</td>
|
|
1053
|
+
<td>Success</td>
|
|
1054
|
+
</tr>
|
|
1055
|
+
<tr class="failed">
|
|
1056
|
+
<td><a href="#ELEM-965">expecting ... should be Failure</a></td>
|
|
1057
|
+
<td>Failure</td>
|
|
1058
|
+
</tr>
|
|
1059
|
+
<tr class="failed">
|
|
1060
|
+
<td><a href="#ELEM-980">expecting 'string' should be Failure</a></td>
|
|
1061
|
+
<td>Failure</td>
|
|
1062
|
+
</tr>
|
|
1063
|
+
</tbody>
|
|
1064
|
+
</table>
|
|
1065
|
+
<h3 id="ELEM-936">For resultant atomic value When result is 'string'</h3>
|
|
1066
|
+
<h4 id="ELEM-937">expecting ... should be Failure</h4>
|
|
1067
|
+
<table class="xspecResult">
|
|
1068
|
+
<thead>
|
|
1069
|
+
<tr>
|
|
1070
|
+
<th>Result</th>
|
|
1071
|
+
<th>Expected Result</th>
|
|
1072
|
+
</tr>
|
|
1073
|
+
</thead>
|
|
1074
|
+
<tbody>
|
|
1075
|
+
<tr>
|
|
1076
|
+
<td><pre>'string'</pre></td>
|
|
1077
|
+
<td>
|
|
1078
|
+
<p>XPath <code>/node()</code> from:
|
|
1079
|
+
</p><pre><span class="diff">...</span></pre></td>
|
|
1080
|
+
</tr>
|
|
1081
|
+
</tbody>
|
|
1082
|
+
</table>
|
|
1083
|
+
<h4 id="ELEM-952">expecting '...' should be Failure</h4>
|
|
1084
|
+
<table class="xspecResult">
|
|
1085
|
+
<thead>
|
|
1086
|
+
<tr>
|
|
1087
|
+
<th>Result</th>
|
|
1088
|
+
<th>Expected Result</th>
|
|
1089
|
+
</tr>
|
|
1090
|
+
</thead>
|
|
1091
|
+
<tbody>
|
|
1092
|
+
<tr>
|
|
1093
|
+
<td><pre>'string'</pre></td>
|
|
1094
|
+
<td><pre>'...'</pre></td>
|
|
1095
|
+
</tr>
|
|
1096
|
+
</tbody>
|
|
1097
|
+
</table>
|
|
1098
|
+
<h3 id="ELEM-964">For resultant atomic value When result is '...'</h3>
|
|
1099
|
+
<h4 id="ELEM-965">expecting ... should be Failure</h4>
|
|
1100
|
+
<table class="xspecResult">
|
|
1101
|
+
<thead>
|
|
1102
|
+
<tr>
|
|
1103
|
+
<th>Result</th>
|
|
1104
|
+
<th>Expected Result</th>
|
|
1105
|
+
</tr>
|
|
1106
|
+
</thead>
|
|
1107
|
+
<tbody>
|
|
1108
|
+
<tr>
|
|
1109
|
+
<td><pre>'...'</pre></td>
|
|
1110
|
+
<td>
|
|
1111
|
+
<p>XPath <code>/node()</code> from:
|
|
1112
|
+
</p><pre><span class="diff">...</span></pre></td>
|
|
1113
|
+
</tr>
|
|
1114
|
+
</tbody>
|
|
1115
|
+
</table>
|
|
1116
|
+
<h4 id="ELEM-980">expecting 'string' should be Failure</h4>
|
|
1117
|
+
<table class="xspecResult">
|
|
1118
|
+
<thead>
|
|
1119
|
+
<tr>
|
|
1120
|
+
<th>Result</th>
|
|
1121
|
+
<th>Expected Result</th>
|
|
1122
|
+
</tr>
|
|
1123
|
+
</thead>
|
|
1124
|
+
<tbody>
|
|
1125
|
+
<tr>
|
|
1126
|
+
<td><pre>'...'</pre></td>
|
|
1127
|
+
<td><pre>'string'</pre></td>
|
|
1128
|
+
</tr>
|
|
1129
|
+
</tbody>
|
|
1130
|
+
</table>
|
|
1131
|
+
</div>
|
|
1132
|
+
<div id="ELEM-993">
|
|
1133
|
+
<h2 class="failed">For any resultant item<span class="scenario-totals">passed: 0 / pending: 0 / failed: 4 / total: 4</span></h2>
|
|
1134
|
+
<table class="xspec" id="ELEM-995">
|
|
1135
|
+
<col width="75%" />
|
|
1136
|
+
<col width="25%" />
|
|
1137
|
+
<tbody>
|
|
1138
|
+
<tr class="failed">
|
|
1139
|
+
<th>For any resultant item</th>
|
|
1140
|
+
<th>passed: 0 / pending: 0 / failed: 4 / total: 4</th>
|
|
1141
|
+
</tr>
|
|
1142
|
+
<tr class="failed">
|
|
1143
|
+
<td><a href="#ELEM-1019">expecting .... (four dots) should be Failure</a></td>
|
|
1144
|
+
<td>Failure</td>
|
|
1145
|
+
</tr>
|
|
1146
|
+
<tr class="failed">
|
|
1147
|
+
<td><a href="#ELEM-1037">expecting ...x (three dots with extra character) should be Failure</a></td>
|
|
1148
|
+
<td>Failure</td>
|
|
1149
|
+
</tr>
|
|
1150
|
+
<tr class="failed">
|
|
1151
|
+
<td><a href="#ELEM-1055">expecting ... with surrounding whitespace should be Failure</a></td>
|
|
1152
|
+
<td>Failure</td>
|
|
1153
|
+
</tr>
|
|
1154
|
+
<tr class="failed">
|
|
1155
|
+
<td><a href="#ELEM-1073">expecting '...' (xs:string) should be Failure</a></td>
|
|
1156
|
+
<td>Failure</td>
|
|
1157
|
+
</tr>
|
|
1158
|
+
</tbody>
|
|
1159
|
+
</table>
|
|
1160
|
+
<h3 id="ELEM-993">For any resultant item</h3>
|
|
1161
|
+
<h4 id="ELEM-1019">expecting .... (four dots) should be Failure</h4>
|
|
1162
|
+
<table class="xspecResult">
|
|
1163
|
+
<thead>
|
|
1164
|
+
<tr>
|
|
1165
|
+
<th>Result</th>
|
|
1166
|
+
<th>Expected Result</th>
|
|
1167
|
+
</tr>
|
|
1168
|
+
</thead>
|
|
1169
|
+
<tbody>
|
|
1170
|
+
<tr>
|
|
1171
|
+
<td>
|
|
1172
|
+
<p>XPath <code>/node()</code> from:
|
|
1173
|
+
</p><pre><span class="diff">item</span></pre></td>
|
|
1174
|
+
<td>
|
|
1175
|
+
<p>XPath <code>/node()</code> from:
|
|
1176
|
+
</p><pre><span class="diff">....</span></pre></td>
|
|
1177
|
+
</tr>
|
|
1178
|
+
</tbody>
|
|
1179
|
+
</table>
|
|
1180
|
+
<h4 id="ELEM-1037">expecting ...x (three dots with extra character) should be Failure</h4>
|
|
1181
|
+
<table class="xspecResult">
|
|
1182
|
+
<thead>
|
|
1183
|
+
<tr>
|
|
1184
|
+
<th>Result</th>
|
|
1185
|
+
<th>Expected Result</th>
|
|
1186
|
+
</tr>
|
|
1187
|
+
</thead>
|
|
1188
|
+
<tbody>
|
|
1189
|
+
<tr>
|
|
1190
|
+
<td>
|
|
1191
|
+
<p>XPath <code>/node()</code> from:
|
|
1192
|
+
</p><pre><span class="diff">item</span></pre></td>
|
|
1193
|
+
<td>
|
|
1194
|
+
<p>XPath <code>/node()</code> from:
|
|
1195
|
+
</p><pre><span class="diff">...x</span></pre></td>
|
|
1196
|
+
</tr>
|
|
1197
|
+
</tbody>
|
|
1198
|
+
</table>
|
|
1199
|
+
<h4 id="ELEM-1055">expecting ... with surrounding whitespace should be Failure</h4>
|
|
1200
|
+
<table class="xspecResult">
|
|
1201
|
+
<thead>
|
|
1202
|
+
<tr>
|
|
1203
|
+
<th>Result</th>
|
|
1204
|
+
<th>Expected Result</th>
|
|
1205
|
+
</tr>
|
|
1206
|
+
</thead>
|
|
1207
|
+
<tbody>
|
|
1208
|
+
<tr>
|
|
1209
|
+
<td>
|
|
1210
|
+
<p>XPath <code>/node()</code> from:
|
|
1211
|
+
</p><pre><span class="diff">item</span></pre></td>
|
|
1212
|
+
<td>
|
|
1213
|
+
<p>XPath <code>/node()</code> from:
|
|
1214
|
+
</p><pre><span class="diff"> ...</span></pre></td>
|
|
1215
|
+
</tr>
|
|
1216
|
+
</tbody>
|
|
1217
|
+
</table>
|
|
1218
|
+
<h4 id="ELEM-1073">expecting '...' (xs:string) should be Failure</h4>
|
|
1219
|
+
<table class="xspecResult">
|
|
1220
|
+
<thead>
|
|
1221
|
+
<tr>
|
|
1222
|
+
<th>Result</th>
|
|
1223
|
+
<th>Expected Result</th>
|
|
1224
|
+
</tr>
|
|
1225
|
+
</thead>
|
|
1226
|
+
<tbody>
|
|
1227
|
+
<tr>
|
|
1228
|
+
<td>
|
|
1229
|
+
<p>XPath <code>/node()</code> from:
|
|
1230
|
+
</p><pre><span class="diff">item</span></pre></td>
|
|
1231
|
+
<td><pre>'...'</pre></td>
|
|
1232
|
+
</tr>
|
|
1233
|
+
</tbody>
|
|
1234
|
+
</table>
|
|
1235
|
+
</div>
|
|
1236
|
+
</body>
|
|
1237
|
+
</html>
|