[ http://issues.apache.org/jira/browse/XALANJ-1650?page=all ]
Brian Minchau updated XALANJ-1650:
----------------------------------
Version: Latest Development Code
(was: 2.5)
> 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: Latest Development Code
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]