[Practicalxml-commits] SF.net SVN: practicalxml:[147] branches/dev-1.1/src/main/java/net/sf/ practi
Brought to you by:
kdgregory
From: Auto-Generated S. C. M. <pra...@li...> - 2009-09-22 20:01:35
|
Revision: 147 http://practicalxml.svn.sourceforge.net/practicalxml/?rev=147&view=rev Author: kdgregory Date: 2009-09-22 20:01:27 +0000 (Tue, 22 Sep 2009) Log Message: ----------- remove Xml2JsonOptions.USE_XSI_TYPE Modified Paths: -------------- branches/dev-1.1/src/main/java/net/sf/practicalxml/converter/json/Xml2JsonOptions.java branches/dev-1.1/src/main/java/net/sf/practicalxml/converter/json/package.html Modified: branches/dev-1.1/src/main/java/net/sf/practicalxml/converter/json/Xml2JsonOptions.java =================================================================== --- branches/dev-1.1/src/main/java/net/sf/practicalxml/converter/json/Xml2JsonOptions.java 2009-09-22 19:21:25 UTC (rev 146) +++ branches/dev-1.1/src/main/java/net/sf/practicalxml/converter/json/Xml2JsonOptions.java 2009-09-22 20:01:27 UTC (rev 147) @@ -20,10 +20,5 @@ */ public enum Xml2JsonOptions { - /** - * Examines the XML element for an <code>xsi:type</code> attribute; if - * present, will only quote-delimit character data (<code>xsd:string</code>, - * <code>xsd:char</code>, and the like). - */ - USE_XSI_TYPE + // nothing here right now } Modified: branches/dev-1.1/src/main/java/net/sf/practicalxml/converter/json/package.html =================================================================== --- branches/dev-1.1/src/main/java/net/sf/practicalxml/converter/json/package.html 2009-09-22 19:21:25 UTC (rev 146) +++ branches/dev-1.1/src/main/java/net/sf/practicalxml/converter/json/package.html 2009-09-22 20:01:27 UTC (rev 147) @@ -22,8 +22,7 @@ <dd> JSON supports numbers and boolean literals in addition to quote-delimited strings. The JSON to XML conversion will handle these values transparently. The default XML to JSON conversion writes all content as quote-delimited - strings, but there is a conversion option to recognize a limited set of - non-string elements based on the <code>xsi:type</code> attribute. + strings (although this may change). <dt> Arrays, XML to JSON <dd> XML does not have a defined array construct, but may repeat elements; JSON has a defined array construct, and repeated elements will overwrite the This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |