CVS Update: xmlpull-api-v1/doc

Aleksander Andrzej Slominski <[email protected]>
Newsgroups gmane.text.xml.xmlpull.devel
Message-ID <[email protected]>
aslom       02/08/08 00:04:02

  Modified:    doc      features.html properties.html
  Log:
  added two optional properties that can be used ot control XML 1.0 output
  * INDENTATION defines what is written as line indentation string
  * LINE SEPARATOR defines what is used as line separator
  
  Revision  Changes    Path
  1.14      +3 -6      xmlpull-api-v1/doc/features.html
  
  Index: features.html
  ===================================================================
  RCS file: /l/extreme/cvspub/xmlpull-api-v1/doc/features.html,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -b -t -w -r1.13 -r1.14
  --- features.html	2002/08/02 16:25:53	1.13
  +++ features.html	2002/08/08 05:04:02	1.14
  @@ -123,8 +123,7 @@
   <h3>
   &nbsp;</h3>
   <h3>
  -<a name="xml-roundtrip"></a>Optional feature: XML ROUNDTRIP<br>
  -&nbsp;</h3>
  +<a name="xml-roundtrip"></a>Optional feature: XML ROUNDTRIP</h3>
   <p>This feature is identified by
   <a href="http://xmlpull.org/v1/doc/features.html#xml-roundtrip">
   http://xmlpull.org/v1/doc/features.html#xml-roundtrip</a> </p>
  @@ -145,11 +144,9 @@
     data must be preserved</li>
     <li>DOCDECL <b>MUST</b> be reported exactly as in input</li>
   </ul>
  -<p>additionally for nextToken()</p>
  -
   <ul>
  -  <li>ignorable whites spaces outside root element <b>MUST</b> be reported as 
  -  IGNORABLE_WHITESPACE </li>
  +  <li>additionally for nextToken(): ignorable whites spaces outside root element
  +  <b>MUST</b> be reported as IGNORABLE_WHITESPACE </li>
   </ul>
   <p>By default this feature is off and it implies unchanged behavior of 
   XmlPullParser:</p>
  
  
  
  1.2       +31 -1     xmlpull-api-v1/doc/properties.html
  
  Index: properties.html
  ===================================================================
  RCS file: /l/extreme/cvspub/xmlpull-api-v1/doc/properties.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -t -w -r1.1 -r1.2
  --- properties.html	2002/04/25 04:40:41	1.1
  +++ properties.html	2002/08/08 05:04:02	1.2
  @@ -22,11 +22,41 @@
   
   Currently there is no standard properties defined.<hr>
   <h2>
  -Optional features</h2>
  +Optional properties</h2>
   <p>
   They <b>MAY</b> be supported but are not part of XMLPULL API<p>
   Please report them to XMLPULL discussion group so they can be added here and 
   made easier to discover.<p>&nbsp;</p>
  +
  +<h3>
  +<a name="serializer-indentation"></a>Optional property: SERIALIZER INDENTATION</h3>
  +<p>This property is identified by
  +<a href="http://xmlpull.org/v1/doc/properties.html#serializer-indentation">
  +http://xmlpull.org/v1/doc/properties.html#serializer-indentation</a> </p>
  +<p>OPTIONAL property with String value </p>
  +
  +<p>if length() &gt; 0 it is used otherwise if null or length() == 0 no indentation 
  +is not done</p>
  +
  +<p>For example use TAB (&quot;\t&quot;) or few spaces (&quot;&nbsp;&nbsp;&nbsp; &quot;)</p>
  +
  +<p>&nbsp;</p>
  +
  +<h3>
  +<a name="serializer-indentation"></a>Optional property: SERIALIZER LINE 
  +SEPARATOR</h3>
  +<p>This property is identified by
  +<a href="http://xmlpull.org/v1/doc/properties.html#serializer-line-separator">
  +http://xmlpull.org/v1/doc/properties.html#serializer-line-separator</a> </p>
  +<p>OPTIONAL property with String value </p>
  +
  +<p>by default it SHOULD be initialized to platform dependent values (on Windows 
  +&quot;\r\n&quot; on Unix &quot;\n&quot;);</p>
  +
  +<p>if value of property is null or String of length() == 0 no line separator 
  +will be written</p>
  +
  +<p>&nbsp;</p>
   
   <HR>
   <address><a href="http://www.extreme.indiana.edu/~aslom/">Aleksander Slominski</a><address>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.