CVS Update: xmlpull-api-v1/doc
Aleksander Andrzej Slominski <[email protected]> Tue, 25 Feb 2003 15:06:39 -0500 (EST)
| Newsgroups | gmane.text.xml.xmlpull.devel |
|---|---|
| Message-ID | <[email protected]> |
aslom 03/02/25 15:06:39 Modified: doc properties.html Log: * changed SERIALIZER LINE SEPARATOR property if supported to be by defualt set to just new line (\n) as it allows to write new lines as that requires no EOL normalization to be done whenparsing such XML document Revision Changes Path 1.8 +49 -28 xmlpull-api-v1/doc/properties.html Index: properties.html =================================================================== RCS file: /l/extreme/cvspub/xmlpull-api-v1/doc/properties.html,v retrieving revision 1.7 retrieving revision 1.8 diff -u -b -t -w -r1.7 -r1.8 --- properties.html 20 Oct 2002 17:32:34 -0000 1.7 +++ properties.html 25 Feb 2003 20:06:38 -0000 1.8 @@ -16,6 +16,9 @@ "<b>MAY</b>", and "<b>OPTIONAL</b>" in this document are to be interpreted as described in <a href="http://www.ietf.org/rfc/rfc2119.txt">RFC 2119</a>.</p><h2> + + + Standard properties</h2> <P> @@ -30,6 +33,15 @@ Please report them to XmlPull discussion group so they can be added here and made easier to discover.<p> </p> + +<p>NOTE:</p> to detect if optional property +is supported try to call getProperty() +and only if it returns non-null value +it can be assumed that the property is supported. +Parser implementation is required to return null +for all unknown properties names as null +is assumed to be default value for all properties. + <h3> <a name="xmldecl-version"></a>Optional property: XMLDECL VERSION</h3> <p>This property is identified by @@ -118,16 +130,25 @@ <p>If indentation is enabled passed string will be used as line separator.</p> -<p>It should be initialized to platform dependent values (on Windows "\r\n" on -Unix "\n").</p> +<p>If supported by default this property should be initialized just new line +character ("\n").</p> -<p>If value of property is null or String of length() == 0 no line separator +<p>If value of property is null or it is String of length() == 0 no line separator will be written.</p> <p> </p> + + + +<p> </p> + + + + <HR> <address><a href="http://www.extreme.indiana.edu/~aslom/">Aleksander Slominski</a><address> +<font size="2">Last Modified: $Id: properties.html,v 1.8 2003/02/25 20:06:38 aslom Exp $</font><address> </address> </address> <p> </p> ------------------------ Yahoo! Groups Sponsor ---------------------~--> Get 128 Bit SSL Encryption! http://us.click.yahoo.com/FpY02D/vN2EAA/xGHJAA/2U_rlB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: [email protected] Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/