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

Brian Minchau updated XALANJ-1478:
----------------------------------

    reviewer: [EMAIL PROTECTED]

Filling in the reviewer field.

> 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: 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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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

Reply via email to