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=6752>. 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=6752 Multiple errors reporting - wrong import element confuses xalan Summary: Multiple errors reporting - wrong import element confuses xalan Product: XalanJ2 Version: 2.3 Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: org.apache.xalan AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I've just moved over to LotusXSL-J_2_3_1-bin.zip. I've noticed much improvement in returning multiple errors when they occurred in the XSLT. Thx for addressing this problem. Two additonal cases that have problems are: When there is a wrong <import> element in the middle, xalan failed to report all the following errors. consider this example: If the <import> element is not there, then xalan reports 3 errors. If the <import> element is there, xalan stopped at that point and cannot report remaining errors. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html"/> <!-- processing begins here --> <xsl:template mastch="/"> <html> <body> <!-- select the top level person --> <xsl:apply-templates select="person"> <xsl:with-param name="level" select="'0'"/> </xsl:apply-templates> </body> </html> </xsl:template> <xsl:import/> <!-- Output information for a person and recursively select all children. --> <xsl:template datch="person"> <xsl:param name="level"/> <!-- indent according to the level --> <div style="text-indnt:{$level}em"> <xsl:value-of select="@name"/> </div> <!-- recursively select children, incrementing the level --> <xsl:apply-templadtes select="person"> <xsl:with-param name="level" select="$level + 1"/> </xsl:apply-templates> </xsl:template> </xsl:stylesheet>
