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=4921>. 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=4921 xsltc regressed on the rahtz6 test on Nov 2 Summary: xsltc regressed on the rahtz6 test on Nov 2 Product: XalanJ2 Version: 2.0.0 Platform: All OS/Version: All Status: NEW Severity: Major Priority: Other Component: org.apache.xalan.xsltc AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] This test primarilly uses keys. Although it showed a minor diff on Nov 1, by Nov2 it had regressed, so that the output was missing important content. Here's the last entry in the expected output: <h2>1976</h2> <ol> <li> <b>Munthe</b>, John Axel Viking</li> </ol> </body> </html> Here's the last entry in XSLTC's output: <h2>1976</h2> <ol></ol> </body> </html> The rest of the entries are the same; they all are missing the content that should have been derived from <xsl:for-each select="key('years',died/date/yr)"> <xsl:sort select="name/snm"/> <xsl:sort select="name/fnm"/> <li><b><xsl:apply-templates select="name/snm"/></b>, <xsl:apply-templates select="name/fnm"/></li> </xsl:for-each> Here's a snippet from the data file data1.xml <stone number="1" zona="z_A" plot="0" height="79" breadth="54" width="71" form="PLB" material="ST" cond="c_1" bits="1" dec="1" fa ces="E"> <person sex="m"><name><fnm>Francis d'Arcy Godolphin</fnm><snm>Osborne</snm></name><born><date><day>16</day><mon> 9</mon><yr>1884< /yr></date></born><died><date><day>20</day><mon> 3</mon><yr>1964</yr></date></died><pb><cty>London </cty><cny>England</cny></pb>< pd><cty>Rome </cty><cny>Italy</cny></pd><cause></cause><age status="1">79 </age><nat status="1" idref="GB"/><profess>diplomat</pr ofess><comment>12th and last Duke of Leeds;K.C.M.G., K.ST.J, K.C.S.G.</comment></person> This is the xml file rahtz6.xml <?xml version="1.0"?> <!DOCTYPE cemetery SYSTEM "cem.dtd" [ <!ENTITY data1 SYSTEM "data1.xml"> ]> <cemetery> &data1; </cemetery> This is the xsl file <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version="1.0" > <!--JOB: process cemetery file to make a year catalogue, using keys --> <xsl:key name="years" match="person" use="died/date/yr"/> <xsl:template match="/cemetery"> <html> <head> <title>Protestant Cemetery Catalogue </title> </head> <body> <xsl:for-each select="stone/person[count(.|key('years',died/date/yr)[1])=1]"> <xsl:sort select="died/date/yr"/> <h2><xsl:value-of select="died/date/yr"/></h2> <ol> <xsl:for-each select="key('years',died/date/yr)"> <xsl:sort select="name/snm"/> <xsl:sort select="name/fnm"/> <li><b><xsl:apply-templates select="name/snm"/></b>, <xsl:apply-templates select="name/fnm"/></li> </xsl:for-each> </ol> </xsl:for-each> </body> </html> </xsl:template>
