head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.42 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.40 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.38 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.36 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.34 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.32 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.30 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.28 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.26 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.24 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.22 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.20 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.18 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.16 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.14 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.12 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.10 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.8 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.6 pkgsrc-2021Q3-base:1.1 pkgsrc-2021Q2:1.1.0.4 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.2 pkgsrc-2021Q1-base:1.1; locks; strict; comment @# @; 1.1 date 2021.03.08.14.33.44; author nia; state Exp; branches; next ; commitid V3BdLvSjXSVhWvKC; desc @@ 1.1 log @xsd: Update to 4.0.0. Builds again. Borrowed patches from FreeBSD to rename the executable to avoid a conflict wiht lang/mono. @ text @$NetBSD$ Rename the xsd binary to xsdcxx, as lang/mono already installs an executable called xsd. --- xsd/doc/xsd.xhtml.orig 2014-07-21 06:38:41.000000000 +0000 +++ xsd/doc/xsd.xhtml @@@@ -3,11 +3,11 @@@@ - XSD 4.0.0 Compiler Command Line Manual + XSDCXX 4.0.0 Compiler Command Line Manual - + @@@@ -50,19 +50,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 @@@@ -138,10 +138,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 library + 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 (normally you just + 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.

@@@@ -219,7 +219,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

@@@@ -1530,7 +1530,7 @@@@ namespace .*

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

@