You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2003/04/27 20:06:33 UTC

cvs commit: cocoon-2.1/src/documentation/xdocs/userdocs/serializers text-serializer.xml

vgritsenko    2003/04/27 11:06:33

  Modified:    .        changes.xml
               .        status.xml
               src/documentation/xdocs/userdocs/serializers
                        text-serializer.xml
               src/documentation/xdocs/userdocs/serializers
                        text-serializer.xml
  Log:
  improve text serializer docs a bit; document text serializer changes
  
  Revision  Changes    Path
  1.3       +4 -1      cocoon-2.0/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.0/changes.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- changes.xml	9 Mar 2003 00:18:56 -0000	1.2
  +++ changes.xml	27 Apr 2003 18:06:32 -0000	1.3
  @@ -41,6 +41,9 @@
    </devs>
   
    <release version="@version@" date="@date@">
  +  <action dev="VG" type="fix" fixes-bug="10242">
  +    TextSerializer now can handle absence of root element in the incoming XML.
  +  </action>
     <action dev="PF" type="fix">
       The CVS repository for Cocoon 2.0 is now called "cocoon-2.0" (no branches, just HEAD).
     </action>
  
  
  
  1.7       +3 -0      cocoon-2.1/status.xml
  
  Index: status.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/status.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- status.xml	24 Apr 2003 11:37:05 -0000	1.6
  +++ status.xml	27 Apr 2003 18:06:32 -0000	1.7
  @@ -210,6 +210,9 @@
     <changes>
   
    <release version="@version@" date="@date@">
  +  <action dev="VG" type="fix" fixes-bug="10242">
  +    TextSerializer now can handle absence of root element in the incoming XML.
  +  </action>
     <action dev="SW" type="add">
       'handle-errors' sections in the sitemap now do not have an implicit
       generator: any generator can now be used, whereas previously it was
  
  
  
  1.2       +8 -2      cocoon-2.0/src/documentation/xdocs/userdocs/serializers/text-serializer.xml
  
  Index: text-serializer.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.0/src/documentation/xdocs/userdocs/serializers/text-serializer.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- text-serializer.xml	9 Mar 2003 00:01:17 -0000	1.1
  +++ text-serializer.xml	27 Apr 2003 18:06:33 -0000	1.2
  @@ -38,7 +38,7 @@
         ]]></source>
           <p>
             The text Serializer sets the <code>method</code> property
  -          to <code>text</code>.
  +          of the XML serializer to the value <code>text</code>.
           </p>
       </s2>
       <s2 title="Pipeline Usage">
  @@ -59,13 +59,19 @@
           The pipeline snippet above serializes the SAX events of the
           announcment document resource to plain text. 
         </p>
  +      <p>
  +        Input document of the text serializer must be valid XML document. It
  +        should have at least one element, root element, which will contain
  +        all the text of the document. Root element will be ignored by text
  +        serializer and will not go into the output stream.
  +      </p>
       </s2>
       <s2 title="Further Reading">
         <p>
           As text Serializer uses the XML serializer internally, you might 
           want to read the complete list of valid XML configuration parameters.
           It is available at <link href="xml-serializer.html">XML serializer</link>
  -        user docuementation.
  +        user documentation.
         </p>
       </s2>
     </s1>
  
  
  
  1.2       +8 -2      cocoon-2.1/src/documentation/xdocs/userdocs/serializers/text-serializer.xml
  
  Index: text-serializer.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/documentation/xdocs/userdocs/serializers/text-serializer.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- text-serializer.xml	9 Mar 2003 00:08:24 -0000	1.1
  +++ text-serializer.xml	27 Apr 2003 18:06:33 -0000	1.2
  @@ -38,7 +38,7 @@
         ]]></source>
           <p>
             The text Serializer sets the <code>method</code> property
  -          to <code>text</code>.
  +          of the XML serializer to the value <code>text</code>.
           </p>
       </s2>
       <s2 title="Pipeline Usage">
  @@ -59,13 +59,19 @@
           The pipeline snippet above serializes the SAX events of the
           announcment document resource to plain text. 
         </p>
  +      <p>
  +        Input document of the text serializer must be valid XML document. It
  +        should have at least one element, root element, which will contain
  +        all the text of the document. Root element will be ignored by text
  +        serializer and will not go into the output stream.
  +      </p>
       </s2>
       <s2 title="Further Reading">
         <p>
           As text Serializer uses the XML serializer internally, you might 
           want to read the complete list of valid XML configuration parameters.
           It is available at <link href="xml-serializer.html">XML serializer</link>
  -        user docuementation.
  +        user documentation.
         </p>
       </s2>
     </s1>