mirror of
https://github.com/GNOME/libxml2.git
synced 2025-02-23 18:29:14 +08:00
- HTMLparser.c: some fixes on auto-open of html/head/body - encoding.c: fixed a compilation error on some gcc env - xpath.c xpointer.[ch] xpathInternals.h: improved the XPointer implementation - test/XPath/xptr/strpoint test/XPath/xptr/strrange3: added related XPointer tests and associated results Daniel
49 lines
1.1 KiB
Plaintext
49 lines
1.1 KiB
Plaintext
|
|
========================
|
|
Expression: xpointer(string-range(//p, 'test', 1, 0))
|
|
Object is a Location Set:
|
|
1 : Object is a collapsed range :
|
|
index 10 in node
|
|
TEXT
|
|
content=a simple test
|
|
2 : Object is a collapsed range :
|
|
index 10 in node
|
|
TEXT
|
|
content=multiple tests
|
|
3 : Object is a collapsed range :
|
|
index 7 in node
|
|
TEXT
|
|
content=anced test
|
|
|
|
========================
|
|
Expression: xpointer(string-range(//*, 'test', 1, 0))
|
|
Object is a Location Set:
|
|
1 : Object is a collapsed range :
|
|
index 10 in node
|
|
TEXT
|
|
content=a simple test
|
|
2 : Object is a collapsed range :
|
|
index 10 in node
|
|
TEXT
|
|
content=multiple tests
|
|
3 : Object is a collapsed range :
|
|
index 7 in node
|
|
TEXT
|
|
content=anced test
|
|
|
|
========================
|
|
Expression: xpointer(string-range(//p, 'test', 1, 0)[2])
|
|
Object is a Location Set:
|
|
1 : Object is a collapsed range :
|
|
index 10 in node
|
|
TEXT
|
|
content=multiple tests
|
|
|
|
========================
|
|
Expression: xpointer(string-range(//*, 'test', 1, 0)[2])
|
|
Object is a Location Set:
|
|
1 : Object is a collapsed range :
|
|
index 10 in node
|
|
TEXT
|
|
content=multiple tests
|