Description: change docu from xsd to xsdcxx Author: Jörg Frings-Fürst Reviewed-by: Last-Update: 2014-07-22 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ Index: xsd/doc/xsd.1 =================================================================== --- xsd/doc/xsd.1 2014-07-21 08:38:41.000000000 +0200 +++ xsd/doc/xsd.1 2014-07-21 23:27:00.928980158 +0200 @@ -1,16 +1,16 @@ .\" Process this file with .\" groff -man -Tascii xsd.1 .\" -.TH XSD 1 "July 2014" "XSD 4.1.0" +.TH XSDCXX 1 "July 2014" "XSDCXX 4.1.0" .SH NAME -xsd \- W3C XML Schema to C++ Compiler +xsdcxx \- W3C XML Schema to C++ Compiler .\" .\" .\" .\"-------------------------------------------------------------------- .SH SYNOPSIS .\"-------------------------------------------------------------------- -.B xsd +.B xsdcxx .I command .B [ .I options @@ -20,19 +20,19 @@ .I file .B ...] .in -.B xsd help +.B xsdcxx help .B [ .I command .B ] .in -.B xsd version +.B xsdcxx version .\" .\" .\" .\"-------------------------------------------------------------------- .SH DESCRIPTION .\"-------------------------------------------------------------------- -.B xsd +.B xsdcxx generates vocabulary-specific, statically-typed C++ mapping from W3C XML Schema definitions. Particular mapping to produce is selected by a .IR command . @@ -96,7 +96,7 @@ .PP .RS .RS 3 -.B xsd help +.B xsdcxx help .I command .RE .PP @@ -127,10 +127,10 @@ uses \fBstd::unique_ptr\fR instead of deprecated \fBstd::auto_ptr\fR\. When the C++11 mode is selected, you normally don't need to perform any extra -steps other than enable C++11 in your C++ compiler, if required\. The XSD +steps other than enable C++11 in your C++ compiler, if required\. The XSDCXX compiler will automatically add the necessary macro defines to the generated -header files that will switch the header-only XSD runtime library -(\fBlibxsd\fR) to the C++11 mode\. However, if you include any of the XSD +header files that will switch the header-only XSDCXX runtime library +(\fBlibxsd\fR) to the C++11 mode\. However, if you include any of the XSDCXX runtime headers directly in your application (normally you just include the generated headers), then you will need to define the \fBXSD_CXX11\fR macro for your entire project\. @@ -1461,7 +1461,7 @@ .\" .SH DIAGNOSTICS If the input file is not a valid W3C XML Schema definition, -.B xsd +.B xsdcxx will issue diagnostic messages to .B STDERR and exit with non-zero exit code. Index: xsd/doc/xsd.xhtml =================================================================== --- xsd/doc/xsd.xhtml 2014-07-21 08:38:41.000000000 +0200 +++ xsd/doc/xsd.xhtml 2014-07-21 23:29:32.796093697 +0200 @@ -3,11 +3,11 @@ - XSD 4.1.0 Compiler Command Line Manual + XSDCXX 4.1.0 Compiler Command Line Manual - + @@ -52,19 +52,19 @@

NAME

-

xsd - W3C XML Schema to C++ Compiler

+

xsdcxx - W3C XML Schema to C++ Compiler

SYNOPSIS

-
xsd command [options] file [file ...]
-
xsd help [command]
-
xsd version
+
xsdcxx command [options] file [file ...]
+
xsdcxx help [command]
+
xsdcxx version

DESCRIPTION

-

xsd generates vocabulary-specific, statically-typed +

xsdcxx generates vocabulary-specific, statically-typed C++ mapping from W3C XML Schema definitions. Particular mapping to produce is selected by a command. Each mapping has a number of mapping-specific options that should @@ -134,10 +134,10 @@

When the C++11 mode is selected, you normally don't need to perform any extra steps other than enable C++11 in your C++ compiler, if required. The - XSD compiler will automatically add the necessary macro defines to the - generated header files that will switch the header-only XSD runtime + XSDCXX compiler will automatically add the necessary macro defines to the + generated header files that will switch the header-only XSDCXX runtime library (libxsd) to the C++11 mode. However, if you - include any of the XSD runtime headers directly in your application + include any of the XSDCXX runtime headers directly in your application (normally you just include the generated headers), then you will need to define the XSD_CXX11 macro for your entire project.

@@ -218,7 +218,7 @@

For example, if you have file hello.xsd with namespace http://example.com/hello and you run - xsd on this file, then the string in question will + xsdcxx on this file, then the string in question will be:

hello.xsd. http://example.com/hello

@@ -1564,7 +1564,7 @@

DIAGNOSTICS

If the input file is not a valid W3C XML Schema definition, - xsd will issue diagnostic messages to STDERR + xsdcxx will issue diagnostic messages to STDERR and exit with non-zero exit code.

BUGS