diff options
Diffstat (limited to 'result/XPath/xptr')
-rw-r--r-- | result/XPath/xptr/chapterschildseq | 53 | ||||
-rw-r--r-- | result/XPath/xptr/chaptersparts | 44 | ||||
-rw-r--r-- | result/XPath/xptr/chaptersrange | 64 | ||||
-rw-r--r-- | result/XPath/xptr/strpoint | 75 | ||||
-rw-r--r-- | result/XPath/xptr/strrange | 96 | ||||
-rw-r--r-- | result/XPath/xptr/strrange2 | 64 | ||||
-rw-r--r-- | result/XPath/xptr/strrange3 | 48 | ||||
-rw-r--r-- | result/XPath/xptr/vidbase | 19 | ||||
-rw-r--r-- | result/XPath/xptr/vidchildseq | 36 | ||||
-rw-r--r-- | result/XPath/xptr/vidparts | 27 |
10 files changed, 526 insertions, 0 deletions
diff --git a/result/XPath/xptr/chapterschildseq b/result/XPath/xptr/chapterschildseq new file mode 100644 index 0000000..396bcac --- /dev/null +++ b/result/XPath/xptr/chapterschildseq @@ -0,0 +1,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) diff --git a/result/XPath/xptr/chaptersparts b/result/XPath/xptr/chaptersparts new file mode 100644 index 0000000..70b561b --- /dev/null +++ b/result/XPath/xptr/chaptersparts @@ -0,0 +1,44 @@ + +======================== +Expression: xpointer(//chapitre[2]) +Object is empty (NULL) + +======================== +Expression: xpointer(//chapter[2]) +Object is a Node Set : +Set contains 1 nodes: +1 ELEMENT chapter + ATTRIBUTE id + TEXT + content=chapter2 + +======================== +Expression: xpointer(//chapitre[2])xpointer(//chapter[2]) +Object is a Node Set : +Set contains 1 nodes: +1 ELEMENT chapter + ATTRIBUTE id + TEXT + content=chapter2 + +======================== +Expression: xpointer(id("chapter1")) +Object is empty (NULL) + +======================== +Expression: xpointer(//*[@id="chapter1"]) +Object is a Node Set : +Set contains 1 nodes: +1 ELEMENT chapter + ATTRIBUTE id + TEXT + content=chapter1 + +======================== +Expression: xpointer(id("chapter1"))xpointer(//*[@id="chapter1"]) +Object is a Node Set : +Set contains 1 nodes: +1 ELEMENT chapter + ATTRIBUTE id + TEXT + content=chapter1 diff --git a/result/XPath/xptr/chaptersrange b/result/XPath/xptr/chaptersrange new file mode 100644 index 0000000..c1b9cde --- /dev/null +++ b/result/XPath/xptr/chaptersrange @@ -0,0 +1,64 @@ + +======================== +Expression: xpointer(//chapter[position() = 2]/range-to(following::chapter[1])) +Object is a Location Set: +1 : Object is a range : + From node + ELEMENT chapter + ATTRIBUTE id + TEXT + content=chapter2 + To node + ELEMENT chapter + ATTRIBUTE id + TEXT + content=chapter3 + + +======================== +Expression: xpointer(//chapter[position() <= 2]/range-to(following::chapter[1])) +Object is a Location Set: +1 : Object is a range : + From node + ELEMENT chapter + ATTRIBUTE id + TEXT + content=chapter1 + To node + ELEMENT chapter + ATTRIBUTE id + TEXT + content=chapter2 + +2 : Object is a range : + From node + ELEMENT chapter + ATTRIBUTE id + TEXT + content=chapter2 + To node + ELEMENT chapter + ATTRIBUTE id + TEXT + content=chapter3 + + +======================== +Expression: xpointer(//chapter[position() = last()]/range-to(following::chapter[1])) +Object is empty (NULL) + +======================== +Expression: xpointer(//chapter[position() = 3]/range-to(/.//chapter[position() = 1])) +Object is a Location Set: +1 : Object is a range : + From node + ELEMENT chapter + ATTRIBUTE id + TEXT + content=chapter1 + To node + ELEMENT chapter + ATTRIBUTE id + TEXT + content=chapter3 + diff --git a/result/XPath/xptr/strpoint b/result/XPath/xptr/strpoint new file mode 100644 index 0000000..d6ecab3 --- /dev/null +++ b/result/XPath/xptr/strpoint @@ -0,0 +1,75 @@ + +======================== +Expression: xpointer(start-point(string-range(//p,'multiple'))) +Object is a Location Set: +1 : Object is a point : index 1 in node TEXT + content=multiple tests + + +======================== +Expression: xpointer(end-point(string-range(//p,'multiple'))) +Object is a Location Set: +1 : Object is a point : index 8 in node TEXT + content=multiple tests + + +======================== +Expression: xpointer(start-point(string-range(//p,'test'))) +Object is a Location Set: +1 : Object is a point : index 10 in node TEXT + content=a simple test + +2 : Object is a point : index 10 in node TEXT + content=multiple tests + +3 : Object is a point : index 7 in node TEXT + content=anced test + + +======================== +Expression: xpointer(end-point(string-range(//p,'test'))) +Object is a Location Set: +1 : Object is a point : index 13 in node TEXT + content=a simple test + +2 : Object is a point : index 13 in node TEXT + content=multiple tests + +3 : Object is a point : index 10 in node TEXT + content=anced test + + +======================== +Expression: xpointer(start-point(string-range(//*,'multiple',1,0))) +Object is a Location Set: +1 : Object is a point : index 1 in node TEXT + content=multiple tests + + +======================== +Expression: xpointer(end-point(string-range(//*,'multiple',1,0))) +Object is a Location Set: +1 : Object is a point : index 1 in node TEXT + content=multiple tests + + +======================== +Expression: xpointer(start-point(string-range(//*,'multiple',1,1))) +Object is a Location Set: +1 : Object is a point : index 1 in node TEXT + content=multiple tests + + +======================== +Expression: xpointer(end-point(string-range(//*,'multiple',1,1))) +Object is a Location Set: +1 : Object is a point : index 2 in node TEXT + content=multiple tests + + +======================== +Expression: xpointer(start-point(string-range(//p,'test'))[1]) +Object is a Location Set: +1 : Object is a point : index 10 in node TEXT + content=a simple test + diff --git a/result/XPath/xptr/strrange b/result/XPath/xptr/strrange new file mode 100644 index 0000000..c14ed91 --- /dev/null +++ b/result/XPath/xptr/strrange @@ -0,0 +1,96 @@ + +======================== +Expression: xpointer(string-range(//p, 'simple')) +Object is a Location Set: +1 : Object is a range : + From index 3 in node + TEXT + content=a simple test + To index 8 in node + TEXT + content=a simple test + + +======================== +Expression: xpointer(string-range(//p, 'test')) +Object is a Location Set: +1 : Object is a range : + From index 10 in node + TEXT + content=a simple test + To index 13 in node + TEXT + content=a simple test + +2 : Object is a range : + From index 10 in node + TEXT + content=multiple tests + To index 13 in node + TEXT + content=multiple tests + +3 : Object is a range : + From index 7 in node + TEXT + content=anced test + To index 10 in node + TEXT + content=anced test + + +======================== +Expression: xpointer(string-range(//p, 'difficult')) +Object is a Location Set: +1 : Object is a range : + From index 3 in node + TEXT + content=a diff + To index 4 in node + TEXT + content=cult one + + +======================== +Expression: xpointer(string-range(//p, 'spanning')) +Object is a Location Set: +1 : Object is a range : + From index 3 in node + TEXT + content=a span + To index 3 in node + TEXT + content=ing one + + +======================== +Expression: xpointer(string-range(//p, 'unbalanced')) +Object is a Location Set: +1 : Object is a range : + From index 8 in node + TEXT + content=and an unbal + To index 5 in node + TEXT + content=anced test + + +======================== +Expression: xpointer(string-range(//seq, '')) +Object is a Location Set: +1 : Object is a collapsed range : + index 1 in node + TEXT + content=123 +2 : Object is a collapsed range : + index 2 in node + TEXT + content=123 +3 : Object is a collapsed range : + index 3 in node + TEXT + content=123 +4 : Object is a collapsed range : + index 4 in node + TEXT + content=123 diff --git a/result/XPath/xptr/strrange2 b/result/XPath/xptr/strrange2 new file mode 100644 index 0000000..ea6ee45 --- /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 diff --git a/result/XPath/xptr/strrange3 b/result/XPath/xptr/strrange3 new file mode 100644 index 0000000..6d3114a --- /dev/null +++ b/result/XPath/xptr/strrange3 @@ -0,0 +1,48 @@ + +======================== +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 diff --git a/result/XPath/xptr/vidbase b/result/XPath/xptr/vidbase new file mode 100644 index 0000000..8b9e92d --- /dev/null +++ b/result/XPath/xptr/vidbase @@ -0,0 +1,19 @@ + +======================== +Expression: xpointer(id('chapter1')/p) +Object is a Node Set : +Set contains 4 nodes: +1 ELEMENT p +2 ELEMENT p +3 ELEMENT p +4 ELEMENT p + +======================== +Expression: xpointer(id('chapter1')/p[1]/range-to(following-sibling::p[2])) +Object is a Location Set: +1 : Object is a range : + From node + ELEMENT p + To node + ELEMENT p + diff --git a/result/XPath/xptr/vidchildseq b/result/XPath/xptr/vidchildseq new file mode 100644 index 0000000..eb8c5f7 --- /dev/null +++ b/result/XPath/xptr/vidchildseq @@ -0,0 +1,36 @@ + +======================== +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: chapter1/3 +Object is a Node Set : +Set contains 1 nodes: +1 ELEMENT image + ATTRIBUTE href + TEXT + content=linus.gif + +======================== +Expression: element(chapter1/3) +Object is a Node Set : +Set contains 1 nodes: +1 ELEMENT image + ATTRIBUTE href + TEXT + content=linus.gif diff --git a/result/XPath/xptr/vidparts b/result/XPath/xptr/vidparts new file mode 100644 index 0000000..bd5bd3c --- /dev/null +++ b/result/XPath/xptr/vidparts @@ -0,0 +1,27 @@ + +======================== +Expression: xpointer(id("chapter1")) +Object is a Node Set : +Set contains 1 nodes: +1 ELEMENT chapter + ATTRIBUTE id + TEXT + content=chapter1 + +======================== +Expression: xpointer(//*[@id="chapter1"]) +Object is a Node Set : +Set contains 1 nodes: +1 ELEMENT chapter + ATTRIBUTE id + TEXT + content=chapter1 + +======================== +Expression: xpointer(id("chapter1"))xpointer(//*[@id="chapter1"]) +Object is a Node Set : +Set contains 1 nodes: +1 ELEMENT chapter + ATTRIBUTE id + TEXT + content=chapter1 |