Skip to content
Snippets Groups Projects
Commit 8765b9e7b11f authored by Nick Wellnhofer's avatar Nick Wellnhofer
Browse files

Remove test involving XPointer range-to function

Support for XPointer locations has been deprecated in libxml2.
parent ce31e4fb7347
No related branches found
No related tags found
No related merge requests found
...@@ -183,8 +183,6 @@ ...@@ -183,8 +183,6 @@
bug-182.xml \ bug-182.xml \
bug-183.xml \ bug-183.xml \
bug-184.xml \ bug-184.xml \
bug-185-data.xml \
bug-185.xml \
bug-186.xml \ bug-186.xml \
bug-187.xml \ bug-187.xml \
bug-188.xml \ bug-188.xml \
......
<!DOCTYPE test [ <!ATTLIST A id ID #REQUIRED> ] >
<test>
<A id="X"/>
<A id="Y"/>
</test>
<?xml-stylesheet href="poc.xsl" type="text/xsl"?>
<in>bug-185-data.xml#xpointer(id('X')/range-to(id('Y')))</in>
...@@ -192,7 +192,6 @@ ...@@ -192,7 +192,6 @@
bug-182.out bug-182.xsl \ bug-182.out bug-182.xsl \
bug-183.out bug-183.xsl \ bug-183.out bug-183.xsl \
bug-184.out bug-184.xsl bug-184.err \ bug-184.out bug-184.xsl bug-184.err \
bug-185.out bug-185.xsl bug-185.err \
bug-186.out bug-186.xsl \ bug-186.out bug-186.xsl \
bug-187.out bug-187.xsl bug-187.err \ bug-187.out bug-187.xsl bug-187.err \
bug-188.out bug-188.xsl bug-188-imp.out bug-188-imp.xsl \ bug-188.out bug-188.xsl bug-188-imp.out bug-188-imp.xsl \
......
runtime error: file ./bug-185.xsl line 7 element copy-of
document() : XPointer does not select a node set: #xpointer(id('X')/range-to(id('Y')))
no result for ./../docs/bug-185.xml
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="in">
<annotation>
<xsl:copy-of select="."/>
<value>
<xsl:copy-of select="document(.)"/>
</value>
</annotation>
</xsl:template>
<xsl:template match="@*|node()">
<xsl:apply-templates/>
</xsl:template>
</xsl:stylesheet>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment