DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9135>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9135 xsltc fails idkey37 Summary: xsltc fails idkey37 Product: XalanJ2 Version: CurrentCVS Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: org.apache.xalan.xsltc AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] idkey37.xsl ----------- <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <!-- FileName: idkey37 --> <!-- Document: http://www.w3.org/TR/xslt --> <!-- DocVersion: 19991116 --> <!-- Section: 5.2 --> <!-- Creator: David Marston --> <!-- Purpose: Test id(list) filtered by a predicate, in a match pattern. --> <xsl:template match="/"> <out> <xsl:for-each select="tee/s"> <xsl:apply-templates select="r"/> </xsl:for-each> </out> </xsl:template> <xsl:template match="id('b d c')/*[@size > 17]" priority="2"> <xsl:text> </xsl:text> <big><xsl:value-of select="../@id"/></big> </xsl:template> <xsl:template match="r" priority="1"> <xsl:text> </xsl:text> <other><xsl:value-of select="../@id"/></other> </xsl:template> </xsl:stylesheet> idkey37.xml ----------- <?xml version="1.0"?> <!DOCTYPE tee [ <!ELEMENT tee (s*)> <!ELEMENT s (r)> <!ELEMENT r EMPTY> <!ATTLIST s id ID #REQUIRED> <!ATTLIST r size CDATA #REQUIRED> ]> <tee> <s id="a"><r size="20"/></s> <s id="b"><r size="18"/></s> <s id="c"><r size="12"/></s> <s id="d"><r size="19"/></s> <s id="e"><r size="14"/></s> </tee> Running xalan on idkey37 <?xml version="1.0" encoding="UTF-8"?> <out> <other>a</other> <big>b</big> <other>c</other> <big>d</big> <other>e</other></out> Running XSLTC with Xerces Parser on idkey37 <?xml version="1.0" encoding="UTF-8"?> <out> <other>a</other> <other>b</other> <other>c</other> <other>d</other> <other>e</other></out>
