You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by sy...@apache.org on 2001/11/06 11:47:44 UTC
cvs commit: xml-cocoon2/src/org/apache/cocoon/transformation TraxTransformer.java
sylvain 01/11/06 02:47:44
Modified: documentation/xdocs/userdocs/transformers Tag:
cocoon_20_branch xslt-transformer.xml
src/org/apache/cocoon/transformation Tag: cocoon_20_branch
TraxTransformer.java
Log:
Append '-role' to the xslt processor role name, to avoid confusion with a class name.
Revision Changes Path
No revision
No revision
1.1.2.4 +1 -1 xml-cocoon2/documentation/xdocs/userdocs/transformers/xslt-transformer.xml
Index: xslt-transformer.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/documentation/xdocs/userdocs/transformers/xslt-transformer.xml,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -r1.1.2.3 -r1.1.2.4
--- xslt-transformer.xml 2001/10/25 07:43:52 1.1.2.3
+++ xslt-transformer.xml 2001/11/06 10:47:43 1.1.2.4
@@ -41,7 +41,7 @@
cookies from the request available in the XSLT stylesheetas.
Note that this might have issues concerning cachability of the generated output of this
transformer. This property is false by default.</li>
- <li>xslt-processor: [role name] - This configuration allows to specify the XSLT processor (see below)
+ <li>xslt-processor-role: [role name] - This configuration allows to specify the XSLT processor (see below)
that will be used by its role name. This allows to have several XSLT processors in the configuration
(e.g. Xalan and Saxon) and choose one or the other depending on the needs of stylesheet
specificities. This property defaults to "org.apache.cocoon.components.xslt.XSLTProcessor"
No revision
No revision
1.15.2.19 +3 -3 xml-cocoon2/src/org/apache/cocoon/transformation/TraxTransformer.java
Index: TraxTransformer.java
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/transformation/TraxTransformer.java,v
retrieving revision 1.15.2.18
retrieving revision 1.15.2.19
diff -u -r1.15.2.18 -r1.15.2.19
--- TraxTransformer.java 2001/10/10 16:56:37 1.15.2.18
+++ TraxTransformer.java 2001/11/06 10:47:44 1.15.2.19
@@ -49,7 +49,7 @@
* <map:transformer name="xslt" src="org.apache.cocoon.transformation.TraxTransformer"><br>
* <use-request-parameters>false</use-request-parameters>
* <use-browser-capabilities-db>false</use-browser-capabilities-db>
- * <xslt-processor>org.apache.cocoon.components.xslt.XSLTProcessor</xslt-processor>
+ * <xslt-processor-role>org.apache.cocoon.components.xslt.XSLTProcessor</xslt-processor-role>
* </map:transformer>
* </pre>
*
@@ -92,7 +92,7 @@
* @author <a href="mailto:cziegeler@apache.org">Carsten Ziegeler</a>
* @author <a href="mailto:giacomo@apache.org">Giacomo Pati</a>
* @author <a href="mailto:ovidiu@cup.hp.com">Ovidiu Predescu</a>
- * @version CVS $Id: TraxTransformer.java,v 1.15.2.18 2001/10/10 16:56:37 sylvain Exp $
+ * @version CVS $Id: TraxTransformer.java,v 1.15.2.19 2001/11/06 10:47:44 sylvain Exp $
*/
public class TraxTransformer extends AbstractTransformer
implements Transformer, Composable, Recyclable, Configurable, Cacheable, Disposable {
@@ -151,7 +151,7 @@
this._useBrowserCap = this.useBrowserCap;
getLogger().debug("Use browser capabilities is " + this.useBrowserCap + " for " + this);
- child = conf.getChild("xslt-processor");
+ child = conf.getChild("xslt-processor-role");
String xsltRole = child.getValue(XSLTProcessor.ROLE);
getLogger().debug("Use XSLTProcessor of role " + xsltRole);
----------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org