XPath test suite
This XPath test suite aims to validate the XPath implementation used in RefleX.
RefleX is based on Jaxen +
additional hacks that legitimate the presence of this test suite. The XPath test suite
is those supplied by Jaxen, but each test is run inside an active sheet to check that
the RefleX layer doesn't break the engine.
For that matter, RefleX fixes some bugs that are present
in Jaxen (see what fails in the JUnit test).
Test-harness :
[tests/xunit/jaxen/jaxen.exp]
Report
[tests/xunit/jaxen/jaxen-err.xml]
| Skip Test name | Tests | Errors | Failure |
---|
3 Summary of XPath tests | 34
(154) | 0
(0) | 0
(0) |
1/34 | [jaxen24] test for jaxen-24 | 4 | 0 | 0 |
2/34 | [simple] test for jaxen-3 | 1 | 0 | 0 |
3/34 | [jaxen3] test for jaxen-3 | 1 | 0 | 0 |
4/34 | [numbers] parser test cases all of which should fail | 8 | 0 | 0 |
XPath failure : /numbers numbers
org.inria.ns.reflex.structures.RecoverableException: org.inria.ns.reflex.structures.InitializationException: org.inria.ns.reflex.xml.UnmarshalException: java.lang.reflect.InvocationTargetException
/XCL:active-sheet[1]/XCL:set[2]
XCL -> http://ns.inria.org/active-tags/xcl
file:///media/USER/projects/eclipse/RefleX/src/tests/xunit/jaxen/jaxen.exp
/exp:module[1]/exp:element[1]/xcl:for-each[1]/xunit:test-case[1]/xcl:for-each[1]/exp:unmarshal[1]
exp -> http://ns.inria.org/active-tags/exp
xcl -> http://ns.inria.org/active-tags/xcl
xunit -> http://reflex.gforge.inria.fr/xunit.html
XPath failure : /a/b[c > d]efg
org.inria.ns.reflex.structures.RecoverableException: org.inria.ns.reflex.structures.InitializationException: org.inria.ns.reflex.xml.UnmarshalException: java.lang.reflect.InvocationTargetException
/XCL:active-sheet[1]/XCL:set[2]
XCL -> http://ns.inria.org/active-tags/xcl
file:///media/USER/projects/eclipse/RefleX/src/tests/xunit/jaxen/jaxen.exp
/exp:module[1]/exp:element[1]/xcl:for-each[1]/xunit:test-case[1]/xcl:for-each[1]/exp:unmarshal[1]
exp -> http://ns.inria.org/active-tags/exp
xcl -> http://ns.inria.org/active-tags/xcl
xunit -> http://reflex.gforge.inria.fr/xunit.html
XPath failure : /inv/child::
org.inria.ns.reflex.structures.RecoverableException: org.inria.ns.reflex.structures.InitializationException: org.inria.ns.reflex.xml.UnmarshalException: java.lang.reflect.InvocationTargetException
/XCL:active-sheet[1]/XCL:set[2]
XCL -> http://ns.inria.org/active-tags/xcl
file:///media/USER/projects/eclipse/RefleX/src/tests/xunit/jaxen/jaxen.exp
/exp:module[1]/exp:element[1]/xcl:for-each[1]/xunit:test-case[1]/xcl:for-each[1]/exp:unmarshal[1]
exp -> http://ns.inria.org/active-tags/exp
xcl -> http://ns.inria.org/active-tags/xcl
xunit -> http://reflex.gforge.inria.fr/xunit.html
XPath failure : /invoice/@test[abcd
org.inria.ns.reflex.structures.RecoverableException: org.inria.ns.reflex.structures.InitializationException: org.inria.ns.reflex.xml.UnmarshalException: java.lang.reflect.InvocationTargetException
/XCL:active-sheet[1]/XCL:set[2]
XCL -> http://ns.inria.org/active-tags/xcl
file:///media/USER/projects/eclipse/RefleX/src/tests/xunit/jaxen/jaxen.exp
/exp:module[1]/exp:element[1]/xcl:for-each[1]/xunit:test-case[1]/xcl:for-each[1]/exp:unmarshal[1]
exp -> http://ns.inria.org/active-tags/exp
xcl -> http://ns.inria.org/active-tags/xcl
xunit -> http://reflex.gforge.inria.fr/xunit.html
XPath failure : /invoice/@test[abcd > x
org.inria.ns.reflex.structures.RecoverableException: org.inria.ns.reflex.structures.InitializationException: org.inria.ns.reflex.xml.UnmarshalException: java.lang.reflect.InvocationTargetException
/XCL:active-sheet[1]/XCL:set[2]
XCL -> http://ns.inria.org/active-tags/xcl
file:///media/USER/projects/eclipse/RefleX/src/tests/xunit/jaxen/jaxen.exp
/exp:module[1]/exp:element[1]/xcl:for-each[1]/xunit:test-case[1]/xcl:for-each[1]/exp:unmarshal[1]
exp -> http://ns.inria.org/active-tags/exp
xcl -> http://ns.inria.org/active-tags/xcl
xunit -> http://reflex.gforge.inria.fr/xunit.html
XPath failure : string-length('a
org.inria.ns.reflex.structures.RecoverableException: org.inria.ns.reflex.structures.InitializationException: org.inria.ns.reflex.xml.UnmarshalException: java.lang.reflect.InvocationTargetException
/XCL:active-sheet[1]/XCL:set[2]
XCL -> http://ns.inria.org/active-tags/xcl
file:///media/USER/projects/eclipse/RefleX/src/tests/xunit/jaxen/jaxen.exp
/exp:module[1]/exp:element[1]/xcl:for-each[1]/xunit:test-case[1]/xcl:for-each[1]/exp:unmarshal[1]
exp -> http://ns.inria.org/active-tags/exp
xcl -> http://ns.inria.org/active-tags/xcl
xunit -> http://reflex.gforge.inria.fr/xunit.html
XPath failure : /descendant::()
org.inria.ns.reflex.structures.RecoverableException: org.inria.ns.reflex.structures.InitializationException: org.inria.ns.reflex.xml.UnmarshalException: java.lang.reflect.InvocationTargetException
/XCL:active-sheet[1]/XCL:set[2]
XCL -> http://ns.inria.org/active-tags/xcl
file:///media/USER/projects/eclipse/RefleX/src/tests/xunit/jaxen/jaxen.exp
/exp:module[1]/exp:element[1]/xcl:for-each[1]/xunit:test-case[1]/xcl:for-each[1]/exp:unmarshal[1]
exp -> http://ns.inria.org/active-tags/exp
xcl -> http://ns.inria.org/active-tags/xcl
xunit -> http://reflex.gforge.inria.fr/xunit.html
XPath failure : (1 + 1
org.inria.ns.reflex.structures.RecoverableException: org.inria.ns.reflex.structures.InitializationException: org.inria.ns.reflex.xml.UnmarshalException: java.lang.reflect.InvocationTargetException
/XCL:active-sheet[1]/XCL:set[2]
XCL -> http://ns.inria.org/active-tags/xcl
file:///media/USER/projects/eclipse/RefleX/src/tests/xunit/jaxen/jaxen.exp
/exp:module[1]/exp:element[1]/xcl:for-each[1]/xunit:test-case[1]/xcl:for-each[1]/exp:unmarshal[1]
exp -> http://ns.inria.org/active-tags/exp
xcl -> http://ns.inria.org/active-tags/xcl
xunit -> http://reflex.gforge.inria.fr/xunit.html
|
5/34 | [underscore] test cases for the use of underscores in names | 8 | 0 | 0 |
6/34 | [web] test cases for the use of = with nodesets | 2 | 0 | 0 |
7/34 | [numbers] | 6 | 0 | 0 |
8/34 | [numbers] test basic math... | 13 | 0 | 0 |
9/34 | [pi2] test cases for preceding axis with different node types | 8 | 0 | 0 |
10/34 | [id] | 5 | 0 | 0 |
11/34 | [id] | 1 | 0 | 0 |
12/34 | [pi] | 4 | 0 | 0 |
13/34 | [evaluate] test evaluate() extension function |
"evaluate()" is not supported.
|
14/34 | [numbers] | 7 | 0 | 0 |
15/34 | [axis] test sibling axes | 2 | 0 | 0 |
16/34 | [web] | 1 | 0 | 0 |
17/34 | [web] test name | 7 | 0 | 0 |
18/34 | [nitf] test predicates | 5 | 0 | 0 |
19/34 | [moreover] | 14 | 0 | 0 |
20/34 | [contents] test other node types | 7 | 0 | 0 |
21/34 | [fibo] test positioning | 6 | 0 | 0 |
22/34 | [web] test Axes | 4 | 0 | 0 |
23/34 | [much_ado] | 1 | 0 | 0 |
24/34 | [web] test axis node ordering | 3 | 0 | 0 |
25/34 | [text] test document function |
"document()" is not supported since it is an XSLT function.
|
26/34 | [message] |
"document()" is not supported since it is an XSLT function.
|
27/34 | [simple] | 5 | 0 | 0 |
28/34 | [web] test cases for String extension functions | 7 | 0 | 0 |
29/34 | [lang] test cases for the lang() function | 8 | 0 | 0 |
30/34 | [namespaces] test namespace | 5 | 0 | 0 |
31/34 | [defaultNamespace] | 1 | 0 | 0 |
32/34 | [text] | 2 | 0 | 0 |
33/34 | [testNamespaces] | 7 | 0 | 0 |
34/34 | [testNamespaces] | 1 | 0 | 0 |