+Sun Mar 23 13:09:17 CET 2003 Daniel Veillard <daniel@veillard.com>
+
+ * tests/docs/Makefile.am tests/docs/bug-110.*
+ tests/general/Makefile.am tests/general/bug-110*: added an
+ example in the regression tests for bug #108976 which is
+ fixed in libxml2
+
Sat Mar 22 12:35:47 CET 2003 Daniel Veillard <daniel@veillard.com>
* tests/docs/Makefile.am tests/docs/bug-109.xml
bug-107.xml \
bug-108.xml \
bug-109.xml \
+ bug-110.xml bug-110.ent \
character.xml \
array.xml \
items.xml
+all:
+
+tests:
--- /dev/null
+<elem id='id0' />
--- /dev/null
+<!DOCTYPE root [
+<!ATTLIST elem id ID #IMPLIED>
+<!ENTITY target SYSTEM "bug-110.ent">
+]>
+
+<root>
+ ⌖
+ <!-- <elem id='id0' /> -->
+</root>
bug-107.out bug-107.xsl \
bug-108.out bug-108.xsl \
bug-109.out bug-109.xsl \
+ bug-110.out bug-110.xsl \
character.out character.xsl \
character2.out character2.xsl \
itemschoose.out itemschoose.xsl \
--- /dev/null
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version='1.0'>
+
+<xsl:output method='text'/>
+
+<xsl:template match="/">
+ <xsl:variable name="id1" select="generate-id(/root/elem)"/>
+ <xsl:variable name="id2" select="generate-id(id('id0'))"/>
+ <xsl:if test="$id1 = $id2">
+ <xsl:text>SUCCESS
+</xsl:text>
+ </xsl:if>
+ <xsl:if test="$id1 != $id2">
+ <xsl:text>ERROR
+</xsl:text>
+ </xsl:if>
+</xsl:template>
+</xsl:stylesheet>
+