You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Swapan Golla (JIRA)" <xa...@xml.apache.org> on 2005/05/18 01:22:23 UTC
[jira] Commented: (XALANJ-1650) TransformerFactory ignores attribute: "auto-translet" and "use-classpath" causes an exception
[ http://issues.apache.org/jira/browse/XALANJ-1650?page=comments#action_65626 ]
Swapan Golla commented on XALANJ-1650:
--------------------------------------
I have also observed the same issue happening. The use-classpath always assumes classes to be there in classpath and does not compile if unable to find classes ( which I thought would be the default behaviour). I am running 2.6.0 Xalan on XSLTC.
> TransformerFactory ignores attribute: "auto-translet" and "use-classpath" causes an exception
> ---------------------------------------------------------------------------------------------
>
> Key: XALANJ-1650
> URL: http://issues.apache.org/jira/browse/XALANJ-1650
> Project: XalanJ2
> Type: Bug
> Components: JAXP
> Versions: 2.5
> Environment: Operating System: Windows NT/2K
> Platform: Other
> Reporter: Daniel Pfeifer
> Assignee: Xalan Developers Mailing List
>
> The XSLTC documentation states that the attribute auto-translet creates a new
> translet class if the XSL timestamp has changed. This is unfortunately not the
> case. The attribute is ignored and the translet does not reflect the changes in
> the XSL file. The InvalidAttributeException is not thrown.
> TransformerFactory tf = TransformerFactory.newInstance();
> tf.setAttribute("translet-name", className);
> tf.setAttribute("destination-directory", transletPath);
> tf.setAttribute("package-name", "org.danielp.beta.infolist.translet");
> tf.setAttribute("generate-translet", Boolean.TRUE);
> //tf.setAttribute("use-classpath", Boolean.TRUE);
> tf.setAttribute("auto-translet", Boolean.TRUE);
> Additionally the use-classpath attribute throws an exception if used if the
> translet does not exists. The documentation does not give the impression that
> this behaviour is to be expected.
--
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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
Re: [jira] Commented: (XALANJ-1650) TransformerFactory ignores attribute: "auto-translet" and "use-classpath" causes an exception
Posted by Mukul Gandhi <ga...@gmail.com>.
On 5/18/05, Swapan Golla (JIRA) <xa...@xml.apache.org> wrote:
> [ http://issues.apache.org/jira/browse/XALANJ-1650?page=comments#action_65626 ]
>
> Swapan Golla commented on XALANJ-1650:
> --------------------------------------
>
> I have also observed the same issue happening. The use-classpath always assumes classes to be there in classpath and does not compile if unable to find classes ( which I thought would be the default behaviour). I am running 2.6.0 Xalan on XSLTC.
>
> > TransformerFactory ignores attribute: "auto-translet" and "use-classpath" causes an exception
> > ---------------------------------------------------------------------------------------------
> >
> > Key: XALANJ-1650
> > URL: http://issues.apache.org/jira/browse/XALANJ-1650
> > Project: XalanJ2
> > Type: Bug
> > Components: JAXP
> > Versions: 2.5
> > Environment: Operating System: Windows NT/2K
> > Platform: Other
> > Reporter: Daniel Pfeifer
> > Assignee: Xalan Developers Mailing List
>
> >
> > The XSLTC documentation states that the attribute auto-translet creates a new
> > translet class if the XSL timestamp has changed. This is unfortunately not the
> > case. The attribute is ignored and the translet does not reflect the changes in
> > the XSL file. The InvalidAttributeException is not thrown.
> > TransformerFactory tf = TransformerFactory.newInstance();
> > tf.setAttribute("translet-name", className);
> > tf.setAttribute("destination-directory", transletPath);
> > tf.setAttribute("package-name", "org.danielp.beta.infolist.translet");
> > tf.setAttribute("generate-translet", Boolean.TRUE);
> > //tf.setAttribute("use-classpath", Boolean.TRUE);
> > tf.setAttribute("auto-translet", Boolean.TRUE);
> > Additionally the use-classpath attribute throws an exception if used if the
> > translet does not exists. The documentation does not give the impression that
> > this behaviour is to be expected.
>
> --
> 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: xalan-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xalan-dev-help@xml.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org