diff options
author | William M. Brack <wbrack@src.gnome.org> | 2005-06-09 18:12:28 +0000 |
---|---|---|
committer | William M. Brack <wbrack@src.gnome.org> | 2005-06-09 18:12:28 +0000 |
commit | ea152c05b3f3d9e47b282b88ffdb16fcb8c779c1 (patch) | |
tree | 81b31c845662e5f9b4d997b0d50d1c951f396232 /test/XPath | |
parent | 1c720df4e5597bc60311a80550da9f97b0f281ac (diff) | |
download | android_external_libxml2-ea152c05b3f3d9e47b282b88ffdb16fcb8c779c1.tar.gz android_external_libxml2-ea152c05b3f3d9e47b282b88ffdb16fcb8c779c1.tar.bz2 android_external_libxml2-ea152c05b3f3d9e47b282b88ffdb16fcb8c779c1.zip |
Further enhancement for XPath streaming, consolidated with schemas usage
* pattern.c, xpath.c, include/libxml/pattern.h: Further
enhancement for XPath streaming, consolidated with
schemas usage of pattern.c. Added a new enum
xmlPatternFlags.
* doc/*, testapi.c, elfgcchack.h: updated to reflect new
enum.
* test/XPath/tests/mixedpat, test/XPath/docs/mixed,
result/XPath/mixedpat: added regression test for problems
reported in bug306348
Diffstat (limited to 'test/XPath')
-rw-r--r-- | test/XPath/docs/mixed | 10 | ||||
-rw-r--r-- | test/XPath/tests/mixedpat | 7 |
2 files changed, 17 insertions, 0 deletions
diff --git a/test/XPath/docs/mixed b/test/XPath/docs/mixed new file mode 100644 index 00000000..3b457bc8 --- /dev/null +++ b/test/XPath/docs/mixed @@ -0,0 +1,10 @@ +<?xml version="1.0"?> +<root> + <s p="root"/> + <p1> + <s p="p1"/> + </p1> + <p2> + <s p="p2"/> + </p2> +</root> diff --git a/test/XPath/tests/mixedpat b/test/XPath/tests/mixedpat new file mode 100644 index 00000000..c212f6cd --- /dev/null +++ b/test/XPath/tests/mixedpat @@ -0,0 +1,7 @@ +s +s|p1/s +s|/root/p1/s +/root/p1/s|s +//s +//s|p1 +p1|//s |