Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.5Dx
-
None
-
Security Level: No security risk; visible to anyone (Ordinary problems in Xalan projects. Anybody can view the issue.)
-
None
-
Operating System: Windows XP
Platform: PC
-
PatchAvailable
Description
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:
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