cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject cvs commit: xml-cocoon2/src/org/apache/cocoon/transformation TraxTransformer.java
Date Tue, 06 Nov 2001 10:48:48 GMT
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 @@
    * &lt;map:transformer name="xslt" src="org.apache.cocoon.transformation.TraxTransformer"&gt;<br>
    *   &lt;use-request-parameters&gt;false&lt;/use-request-parameters&gt;
    *   &lt;use-browser-capabilities-db&gt;false&lt;/use-browser-capabilities-db&gt;
  - *   &lt;xslt-processor&gt;org.apache.cocoon.components.xslt.XSLTProcessor&lt;/xslt-processor&gt;
  + *   &lt;xslt-processor-role&gt;org.apache.cocoon.components.xslt.XSLTProcessor&lt;/xslt-processor-role&gt;
    * &lt;/map:transformer&gt;
    * </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.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:     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


Mime
View raw message