From 4d648ad97ace1856f5b9640934acbb8c6b00281e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 5 Feb 2010 14:15:24 +0200 Subject: Cosmetic changes --- NEWS | 6 +++++- documentation/xsd.1 | 2 +- documentation/xsd.xhtml | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index d202c00..318a243 100644 --- a/NEWS +++ b/NEWS @@ -1,7 +1,7 @@ Version 3.3.0 * New option, --char-encoding, allows to specify the character encoding - that should be used in the object model. Valid values for the 'char' + that should be used in the generated code. Valid values for the 'char' character type are 'utf8' (default), 'iso8859-1' (new), 'lcp' (Xerces-C++ local code page), and 'custom' (allows to support custom encodings). Note that if you use a non-default character encoding and include some libxsd @@ -9,6 +9,10 @@ Version 3.3.0 fist include the correct xsd/cxx/xml/char-.hxx header, where is iso8859-1, lcp, etc. This mechanism replaces the XSD_USE_LCP macro. + For the wchar_t character type the only valid value for this option is + 'auto' and the encoding is automatically selected between UTF-16 and + UTF-32, depending on the wchar_t type size. + * When the XSD compiler is built with Xerces-C++ 3.1.0 or later, enable handling of multiple imports for the same namespace. Before all subsequent imports for a namespace were ignored which caused errors diff --git a/documentation/xsd.1 b/documentation/xsd.1 index 7536bb6..9beb2a3 100644 --- a/documentation/xsd.1 +++ b/documentation/xsd.1 @@ -128,7 +128,7 @@ and .BR wchar_t . . .IP "\fB\--char-encoding \fIenc\fR" -Specify the character encoding that should be used in the object model. +Specify the character encoding that should be used in the generated code. Valid values for the .B char character type are diff --git a/documentation/xsd.xhtml b/documentation/xsd.xhtml index 1330509..932689c 100644 --- a/documentation/xsd.xhtml +++ b/documentation/xsd.xhtml @@ -126,8 +126,8 @@ are char and wchar_t.
--char-encoding enc
-
Specify the character encoding that should be used in the object - model. Valid values for the char character type +
Specify the character encoding that should be used in the generated + code. Valid values for the char character type are utf8 (default), iso8859-1, lcp (Xerces-C++ local code page), and custom. If you pass custom as -- cgit v1.1