sylvain 01/11/06 02:48:48
Modified: documentation/xdocs/userdocs/transformers
xslt-transformer.xml
src/org/apache/cocoon/transformation TraxTransformer.java
Log:
Append '-role' to the xslt processor role name, to avoid confusion with a
class name.
Revision Changes Path
1.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.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- xslt-transformer.xml 2001/10/25 07:49:15 1.3
+++ xslt-transformer.xml 2001/11/06 10:48:48 1.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"
1.35 +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.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- TraxTransformer.java 2001/10/10 17:03:39 1.34
+++ TraxTransformer.java 2001/11/06 10:48:48 1.35
@@ -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:[EMAIL PROTECTED]">Carsten Ziegeler</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Giacomo Pati</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Ovidiu Predescu</a>
- * @version CVS $Id: TraxTransformer.java,v 1.34 2001/10/10 17:03:39 sylvain
Exp $
+ * @version CVS $Id: TraxTransformer.java,v 1.35 2001/11/06 10:48:48 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: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]