vgritsenko    2003/07/29 11:02:57

  Modified:    src/webapp sitemap.xmap
  Log:
  Add comment about html4 doctype. Align serializer's definitions.
  
  Revision  Changes    Path
  1.6       +51 -48    cocoon-2.0/src/webapp/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/cocoon-2.0/src/webapp/sitemap.xmap,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- sitemap.xmap      10 Jun 2003 23:48:27 -0000      1.5
  +++ sitemap.xmap      29 Jul 2003 18:02:57 -0000      1.6
  @@ -185,58 +185,62 @@
                           logger="sitemap.serializer.html"
                           pool-max="32" pool-min="4" pool-grow="4">
         <buffer-size>1024</buffer-size>
  +      <!-- Uncomment if you want to specify HTML4 doctype in your output document:
  +      <doctype-public>-//W3C//DTD HTML 4.01 Transitional//EN</doctype-public>    
  +      <doctype-system>http://www.w3.org/TR/html4/strict.dtd</doctype-system>
  +      -->
       </map:serializer>
   
  -   <map:serializer name="vrml"   mime-type="model/vrml"       
logger="sitemap.serializer.vrml"
  -                   src="org.apache.cocoon.serialization.TextSerializer"/>
  +    <map:serializer name="vrml"   mime-type="model/vrml"       
logger="sitemap.serializer.vrml"
  +                    src="org.apache.cocoon.serialization.TextSerializer"/>
   
  -   <map:serializer name="wml"    mime-type="text/vnd.wap.wml" 
logger="sitemap.serializer.wml"
  -                   src="org.apache.cocoon.serialization.XMLSerializer">
  -    <doctype-public>-//WAPFORUM//DTD WML 1.1//EN</doctype-public>
  -    <doctype-system>http://www.wapforum.org/DTD/wml_1.1.xml</doctype-system>
  -    <encoding>ASCII</encoding>
  -    <omit-xml-declaration>yes</omit-xml-declaration>
  -   </map:serializer>
  -
  -   <map:serializer name="svgxml" mime-type="image/svg+xml"    
logger="sitemap.serializer.svgxml"
  -                   src="org.apache.cocoon.serialization.XMLSerializer">
  -    <doctype-public>-//W3C//DTD SVG 1.0//EN</doctype-public>
  -    
<doctype-system>http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd</doctype-system>
  -   </map:serializer>
  -
  -   <map:serializer name="xhtml" mime-type="text/html"         
logger="sitemap.serializer.xhtml"
  -                   src="org.apache.cocoon.serialization.XMLSerializer"
  -                   pool-max="64" pool-min="2" pool-grow="2">
  -     <!--
  -       You can choose from Strict, Transitional, or Frameset XHTML.
  -       For Strict XHTML, set doctype to:
  -         <doctype-public>-//W3C//DTD XHTML 1.0 Strict//EN</doctype-public>
  -         
<doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</doctype-system>
  -       For Transitional XHTML, set doctype to:
  -         <doctype-public>-//W3C//DTD XHTML 1.0 Transitional//EN</doctype-public>
  -         
<doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</doctype-system>
  -       For Frameset XHTML, set doctype to:
  -         <doctype-public>-//W3C//DTD XHTML 1.0 Frameset//EN</doctype-public>
  -         
<doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd</doctype-system>
  +    <map:serializer name="wml"    mime-type="text/vnd.wap.wml" 
logger="sitemap.serializer.wml"
  +                    src="org.apache.cocoon.serialization.XMLSerializer">
  +      <doctype-public>-//WAPFORUM//DTD WML 1.1//EN</doctype-public>
  +      <doctype-system>http://www.wapforum.org/DTD/wml_1.1.xml</doctype-system>
  +      <encoding>ASCII</encoding>
  +      <omit-xml-declaration>yes</omit-xml-declaration>
  +    </map:serializer>
  +
  +    <map:serializer name="svgxml" mime-type="image/svg+xml"    
logger="sitemap.serializer.svgxml"
  +                    src="org.apache.cocoon.serialization.XMLSerializer">
  +      <doctype-public>-//W3C//DTD SVG 1.0//EN</doctype-public>
  +      
<doctype-system>http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd</doctype-system>
  +    </map:serializer>
  +
  +    <map:serializer name="xhtml" mime-type="text/html"         
logger="sitemap.serializer.xhtml"
  +                    src="org.apache.cocoon.serialization.XMLSerializer"
  +                    pool-max="64" pool-min="2" pool-grow="2">
  +      <!--
  +        You can choose from Strict, Transitional, or Frameset XHTML.
  +        For Strict XHTML, set doctype to:
  +          <doctype-public>-//W3C//DTD XHTML 1.0 Strict//EN</doctype-public>
  +          
<doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</doctype-system>
  +        For Transitional XHTML, set doctype to:
  +          <doctype-public>-//W3C//DTD XHTML 1.0 Transitional//EN</doctype-public>
  +          
<doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</doctype-system>
  +        For Frameset XHTML, set doctype to:
  +          <doctype-public>-//W3C//DTD XHTML 1.0 Frameset//EN</doctype-public>
  +          
<doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd</doctype-system>
          
  -       Default XHTML doctype in Cocoon is XHTML Strict. If you want to use more 
than one
  -       XHTML DTD simulteneously, you can define several XHTML serializers.
  -     -->
  -     <doctype-public>-//W3C//DTD XHTML 1.0 Strict//EN</doctype-public>
  -     
<doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</doctype-system>
  -     <encoding>UTF-8</encoding>
  -   </map:serializer>
  -
  -   <map:serializer name="xhtml11" mime-type="application/xhtml+xml" 
logger="sitemap.serializer.xhtml"
  -                   src="org.apache.cocoon.serialization.XMLSerializer"
  -                   pool-max="64" pool-min="2" pool-grow="2">
  -     <doctype-public>-//W3C//DTD XHTML 1.1//EN</doctype-public>
  -     <doctype-system>http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd</doctype-system>
  -     <encoding>UTF-8</encoding>
  -   </map:serializer>   
  +        Default XHTML doctype in Cocoon is XHTML Strict. If you want to use more 
than one
  +        XHTML DTD simulteneously, you can define several XHTML serializers.
  +      -->
  +      <doctype-public>-//W3C//DTD XHTML 1.0 Strict//EN</doctype-public>
  +      
<doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</doctype-system>
  +      <encoding>UTF-8</encoding>
  +    </map:serializer>
  +
  +    <map:serializer name="xhtml11" mime-type="application/xhtml+xml" 
logger="sitemap.serializer.xhtml"
  +                    src="org.apache.cocoon.serialization.XMLSerializer"
  +                    pool-max="64" pool-min="2" pool-grow="2">
  +      <doctype-public>-//W3C//DTD XHTML 1.1//EN</doctype-public>
  +      <doctype-system>http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd</doctype-system>
  +      <encoding>UTF-8</encoding>
  +    </map:serializer>   
   
  -   <map:serializer name="text"   mime-type="text/plain"        
logger="sitemap.serializer.text"
  -                   src="org.apache.cocoon.serialization.TextSerializer"/>
  +    <map:serializer name="text"   mime-type="text/plain"        
logger="sitemap.serializer.text"
  +                    src="org.apache.cocoon.serialization.TextSerializer"/>
     </map:serializers>
   
   <!--
  @@ -422,7 +426,6 @@
     <map:view name="links" from-position="last">
      <map:serialize type="links"/>
     </map:view>
  -
    </map:views>
   
   <!-- =========================== Resources ================================= -->
  
  
  

Reply via email to