You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Henry Zongaro (JIRA)" <xa...@xml.apache.org> on 2005/02/01 19:40:17 UTC
[jira] Updated: (XALANJ-1478) bad XSL provides no useful error message
[ http://issues.apache.org/jira/browse/XALANJ-1478?page=history ]
Henry Zongaro updated XALANJ-1478:
----------------------------------
Attachment: patch.j1478.txt
Attaching patch that should fix this problem.
> bad XSL provides no useful error message
> ----------------------------------------
>
> Key: XALANJ-1478
> URL: http://issues.apache.org/jira/browse/XALANJ-1478
> Project: XalanJ2
> Type: Bug
> Components: Xalan
> Versions: 2.5Dx
> Environment: Operating System: Windows XP
> Platform: PC
> Reporter: rich gooding
> Assignee: Xalan Developers Mailing List
> Attachments: patch.j1478.txt
>
> XSL below is bas because of contents of attribute 'test' on element 'if' - this
> crashes with message :
> (Location of error unknown)XSLT Error
> (javax.xml.transform.TransformerConfigurationException):
> javax.xml.transform.TransformerException: java.lang.RuntimeException:
> Programmers assertion in getNextStepPos: unknown stepType: {0}
> I think a line number would be better.
> ---------------------- XSL example ---------------------------
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" >
> <xsl:template match="/">
> <xsl:if test=".='2' or " >
> </xsl:if>
> </xsl:template>
> </xsl:stylesheet
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org