diff options
| author | Daniel Veillard <veillard@src.gnome.org> | 2000-10-30 15:36:47 +0000 |
|---|---|---|
| committer | Daniel Veillard <veillard@src.gnome.org> | 2000-10-30 15:36:47 +0000 |
| commit | 2ffc3591c16807e0ba320f18ed5e3b401611bae2 (patch) | |
| tree | 66597756f09e290d1dcefdc953019f28d2cd94dd /result/XPath/xptr/strrange2 | |
| parent | 014112275becb57cdb14a5b40ac9c12960a507e2 (diff) | |
| download | platform_external_libxml2-2ffc3591c16807e0ba320f18ed5e3b401611bae2.tar.gz platform_external_libxml2-2ffc3591c16807e0ba320f18ed5e3b401611bae2.tar.bz2 platform_external_libxml2-2ffc3591c16807e0ba320f18ed5e3b401611bae2.zip | |
- parser.[ch]: added xmlIOParseDTD()
- xpointer.c: added support for the 2 extra parameters of
string-range, fixed a stoopid error when '0' was present
in XPointer expressions
- test/XPath/xptr/strrange2 result/XPath/xptr/strrange2: added
testsuite for the above
Daniel
Diffstat (limited to 'result/XPath/xptr/strrange2')
| -rw-r--r-- | result/XPath/xptr/strrange2 | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/result/XPath/xptr/strrange2 b/result/XPath/xptr/strrange2 new file mode 100644 index 00000000..ea6ee45a --- /dev/null +++ b/result/XPath/xptr/strrange2 @@ -0,0 +1,64 @@ + +======================== +Expression: xpointer(string-range(//p, 'test', 2)) +Object is a Location Set: +1 : Object is a range : + From index 11 in node + TEXT + content=a simple test + To index 13 in node + TEXT + content=a simple test + +2 : Object is a range : + From index 11 in node + TEXT + content=multiple tests + To index 13 in node + TEXT + content=multiple tests + +3 : Object is a range : + From index 8 in node + TEXT + content=anced test + To index 10 in node + TEXT + content=anced test + + +======================== +Expression: xpointer(string-range(//p, 'test', 2, 2)) +Object is a Location Set: +1 : Object is a range : + From index 11 in node + TEXT + content=a simple test + To index 12 in node + TEXT + content=a simple test + +2 : Object is a range : + From index 11 in node + TEXT + content=multiple tests + To index 12 in node + TEXT + content=multiple tests + +3 : Object is a range : + From index 8 in node + TEXT + content=anced test + To index 9 in node + TEXT + content=anced test + + +======================== +Expression: xpointer(string-range(//p, 'difficult', 1, 0)) +Object is a Location Set: +1 : Object is a collapsed range : + index 3 in node + TEXT + content=a diff |
