[ http://issues.apache.org/jira/browse/XALANJ-1478?page=all ]

Brian Minchau closed XALANJ-1478.
---------------------------------


Closing this issue.

> bad XSL provides no useful error message
> ----------------------------------------
>
>                 Key: XALANJ-1478
>                 URL: http://issues.apache.org/jira/browse/XALANJ-1478
>             Project: XalanJ2
>          Issue Type: Bug
>          Components: Xalan
>    Affects Versions: 2.5Dx
>         Environment: Operating System: Windows XP
> Platform: PC
>            Reporter: rich gooding
>         Assigned To: Henry Zongaro
>         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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to