OSDN Git Service

Exercising our XPath implementation with 279 of Jaxen's tests.
authorJesse Wilson <jessewilson@google.com>
Tue, 16 Mar 2010 23:52:54 +0000 (16:52 -0700)
committerJesse Wilson <jessewilson@google.com>
Tue, 16 Mar 2010 23:52:54 +0000 (16:52 -0700)
commite209b8615849755908f17053490e168051be97e0
tree0b7be55ca93a3391760ef4e27cf0271f02f63834
parent6abe2582f9dea9887b4cf6cdee200246b6e86117
Exercising our XPath implementation with 279 of Jaxen's tests.

Both our implementation and the RIv6 fail 29 tests, 17 of which are
"could not find function" failures regarding our common lack of
support for the evaluate(), document(), upper-case() and lower-case()
functions.

In addition, our implementation fails 10 additional tests:
  xml/moreover.xml / /child::node() "expected:<1> but was:<3>"
  xml/simple.xml / string() "expected:<abd> but was:<"
  xml/web.xml / /child::node() "expected:<web-app> but was:<>"
  xml/web.xml / child::node() "expected:<web-app> but was:<>"
  xml/web.xml / name(/child::node()) "expected:<web-app> but was:<>"
  xml/web.xml / name(/child::node()) "expected:<web-app> but was:<>"
  xml/web.xml / name(/node()) "expected:<web-app> but was:<>"
  xml/web.xml / name(child::node()) "expected:<web-app> but was:<>"
  xml/web.xml / name(node()) "expected:<web-app> but was:<>"
  xml/web.xml /* name(../child::node()) "expected:<web-app> but was:<>"

Change-Id: Icb4695bbf826fd8f1c1ffae5e857169ff551f75e
libcore/xml/src/test/java/org/apache/harmony/xml/JaxenXPathTestSuite.java [new file with mode: 0644]
libcore/xml/src/test/java/org/apache/harmony/xml/XsltXPathConformanceTestSuite.java