xml-xalan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henry Zongaro (JIRA)" <xalan-...@xml.apache.org>
Subject [jira] Resolved: (XALANJ-2053) with-param causes NullPointerException when trace options used
Date Tue, 08 Feb 2005 14:30:18 GMT
     [ http://issues.apache.org/jira/browse/XALANJ-2053?page=history ]
     
Henry Zongaro resolved XALANJ-2053:
-----------------------------------

    Resolution: Duplicate

Duplicate of XALANJ-1916

> with-param causes NullPointerException when trace options used
> --------------------------------------------------------------
>
>          Key: XALANJ-2053
>          URL: http://issues.apache.org/jira/browse/XALANJ-2053
>      Project: XalanJ2
>         Type: Bug
>   Components: Trace-facility
>     Versions: 2.6
>  Environment: Win XP
>     Reporter: Kurt Hall
>     Priority: Minor

>
> Adding any trace option (-TT, -TS, -TG, -TTC) to the command line results in a NullPointerException
when a <xsl:with-param> element is used in the body of an <xsl:apply-templates>.
 
> For example, given the stylesheet:
>   <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
>     version="1.0">
>     <xsl:template match="*">
>         <xsl:apply-templates>
>           <xsl:with-param name="parm" select="'stuff'"/>
>         </xsl:apply-templates>
>     </xsl:template>
>   </xsl:stylesheet>
> the command:
>    c:\Java\j2re1.4.2_05\bin\java -Xbootclasspath/p:c:\xalan-j_2_6_0\bin\xalan.jar;c:\xerces-2_6_2\xml-apis.jar;c:\xerces-2_6_2\xercesImpl.jar
org.apache.xalan.xslt.Process -IN showbug.xml -XSL showbug.xsl -TT 
> gives the result:
>   null Line #0, Column #0: template match='/' 
> file:///c:/dev/blueprints/showbug.xsl Line #3, Column #27: template match='*' 
>   file:///c:/dev/blueprints/showbug.xsl; Line #0; Column #0; XSLT Error (javax.xml.transform.TransformerException):
java.lang.NullPointerException

-- 
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


Mime
View raw message