Branch
Hash :
669bd349
Author :
Date :
2024-06-12T18:20:01
xpointer: Remove support for XPointer locations
The latest spec for what it essentially an XPath extension seems to be
this working draft from 2002:
https://www.w3.org/TR/xptr-xpointer/
The xpointer() scheme is listed as "being reviewed" in the XPointer
registry since at least 2006. libxml2 seems to be the only modern
software that tries to implement this spec, but the code has many bugs
and quality issues.
If you configure --with-legacy, old symbols are retained for ABI
compatibility.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
========================
Expression: /1/2/3
Object is a Node Set :
Set contains 1 nodes:
1 ELEMENT image
ATTRIBUTE href
TEXT
content=linus.gif
========================
Expression: element(/1/2/3)
Object is a Node Set :
Set contains 1 nodes:
1 ELEMENT image
ATTRIBUTE href
TEXT
content=linus.gif
========================
Expression: element(foo)element(/1/2/3)
Object is a Node Set :
Set contains 1 nodes:
1 ELEMENT image
ATTRIBUTE href
TEXT
content=linus.gif
========================
Expression: element(/1/2/3)element(foo)
Object is a Node Set :
Set contains 1 nodes:
1 ELEMENT image
ATTRIBUTE href
TEXT
content=linus.gif
========================
Expression: chapter1/3
Object is a Node Set :
Set contains 0 nodes:
========================
Expression: element(chapter1/3)
Object is empty (NULL)
========================
Expression: element(foo)element(chapter1/3)
Object is empty (NULL)
========================
Expression: element(chapter1/3)element(foo)
Object is empty (NULL)