cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@locus.apache.org
Subject cvs commit: xml-cocoon configuration.xml
Date Mon, 14 Feb 2000 13:14:15 GMT
pier        00/02/14 05:14:15

  Modified:    .        Tag: xml-cocoon2-alpha0 configuration.xml
  Log:
  Configuration updated to the current CVS content.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.2   +22 -5     xml-cocoon/Attic/configuration.xml
  
  Index: configuration.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/Attic/configuration.xml,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- configuration.xml	2000/02/07 15:36:54	1.1.2.1
  +++ configuration.xml	2000/02/14 13:14:15	1.1.2.2
  @@ -8,12 +8,12 @@
         <parameter name="className" value="org.apache.cocoon.producers.FileProducer"/>
       </producerFactory>
   
  -    <serializerFactory name="xml" class="org.apache.cocoon.serializers.XercesSerializerFactory">
  -      <parameter name="outputMethod" value="xml"/>
  +    <serializerFactory name="xml" class="org.apache.cocoon.serializers.DefaultSerializerFactory">
  +      <parameter name="className" value="org.apache.cocoon.serializers.XMLSerializer"/>
       </serializerFactory>
   
  -    <serializerFactory name="html" class="org.apache.cocoon.serializers.XercesSerializerFactory">
  -      <parameter name="outputMethod" value="html"/>
  +    <serializerFactory name="html" class="org.apache.cocoon.serializers.DefaultSerializerFactory">
  +      <parameter name="className" value="org.apache.cocoon.serializers.HTMLSerializer"/>
       </serializerFactory>
   
     </configuration>
  @@ -22,8 +22,25 @@
       <partition>
         <process match="**.html" source="c:\\java\\servlets\\cocoon\\data\\**.xml">
           <producer name="file"/>
  -        <serializer name="html"/>
  +        <serializer name="html">
  +          <parameter name="contentType" value="text/html"/>
  +        </serializer>
         </process>
  +
  +      <process match="**.txt" source="c:\\java\\servlets\\cocoon\\data\\**.xml">
  +        <producer name="file"/>
  +        <serializer name="html">
  +          <parameter name="contentType" value="text/plain"/>
  +        </serializer>
  +      </process>
  +
  +      <process match="**.xml" source="c:\\java\\servlets\\cocoon\\data\\**.xml">
  +        <producer name="file"/>
  +        <serializer name="html">
  +          <parameter name="contentType" value="text/xml"/>
  +        </serializer>
  +      </process>
  +
       </partition>
     </sitemap>
   </cocoon>
  
  
  

Mime
View raw message