Tag
Hash :
ea152c05
Author :
Date :
2005-06-09T18:12:28
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
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 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
========================
Expression: s
Object is a Node Set :
Set contains 1 nodes:
1 ELEMENT s
ATTRIBUTE p
TEXT
content=root
========================
Expression: s|p1/s
Object is a Node Set :
Set contains 2 nodes:
1 ELEMENT s
ATTRIBUTE p
TEXT
content=root
2 ELEMENT s
ATTRIBUTE p
TEXT
content=p1
========================
Expression: s|/root/p1/s
Object is a Node Set :
Set contains 2 nodes:
1 ELEMENT s
ATTRIBUTE p
TEXT
content=root
2 ELEMENT s
ATTRIBUTE p
TEXT
content=p1
========================
Expression: /root/p1/s|s
Object is a Node Set :
Set contains 2 nodes:
1 ELEMENT s
ATTRIBUTE p
TEXT
content=root
2 ELEMENT s
ATTRIBUTE p
TEXT
content=p1
========================
Expression: //s
Object is a Node Set :
Set contains 3 nodes:
1 ELEMENT s
ATTRIBUTE p
TEXT
content=root
2 ELEMENT s
ATTRIBUTE p
TEXT
content=p1
3 ELEMENT s
ATTRIBUTE p
TEXT
content=p2
========================
Expression: //s|p1
Object is a Node Set :
Set contains 4 nodes:
1 ELEMENT s
ATTRIBUTE p
TEXT
content=root
2 ELEMENT p1
3 ELEMENT s
ATTRIBUTE p
TEXT
content=p1
4 ELEMENT s
ATTRIBUTE p
TEXT
content=p2
========================
Expression: p1|//s
Object is a Node Set :
Set contains 4 nodes:
1 ELEMENT s
ATTRIBUTE p
TEXT
content=root
2 ELEMENT p1
3 ELEMENT s
ATTRIBUTE p
TEXT
content=p1
4 ELEMENT s
ATTRIBUTE p
TEXT
content=p2