diff options
Diffstat (limited to 'test/XPath')
-rw-r--r-- | test/XPath/docs/str | 1 | ||||
-rw-r--r-- | test/XPath/xptr/chaptersrange | 1 | ||||
-rw-r--r-- | test/XPath/xptr/strrange | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/test/XPath/docs/str b/test/XPath/docs/str index 7127ca2a..547e54de 100644 --- a/test/XPath/docs/str +++ b/test/XPath/docs/str @@ -5,4 +5,5 @@ <p>a diff<em>i</em>cult one</p> <p><p>a span</p>n<p>ing one</p></p> <p><p>and an unbal</p><empty/>anced test</p> + <p>for empty string <seq>123</seq></p> </chapter> diff --git a/test/XPath/xptr/chaptersrange b/test/XPath/xptr/chaptersrange index 0743111e..4d7a55b4 100644 --- a/test/XPath/xptr/chaptersrange +++ b/test/XPath/xptr/chaptersrange @@ -1,3 +1,4 @@ xpointer(//chapter[position() = 2]/range-to(following::chapter[1])) xpointer(//chapter[position() <= 2]/range-to(following::chapter[1])) xpointer(//chapter[position() = last()]/range-to(following::chapter[1])) +xpointer(//chapter[position() = 3]/range-to(/.//chapter[position() = 1])) diff --git a/test/XPath/xptr/strrange b/test/XPath/xptr/strrange index 3c2aafce..32319273 100644 --- a/test/XPath/xptr/strrange +++ b/test/XPath/xptr/strrange @@ -3,3 +3,4 @@ xpointer(string-range(//p, 'test')) xpointer(string-range(//p, 'difficult')) xpointer(string-range(//p, 'spanning')) xpointer(string-range(//p, 'unbalanced')) +xpointer(string-range(//seq, '')) |