[xsd-users] Element names with invalid C++ preprocessor characters
Boris Kolpackov
boris at codesynthesis.com
Tue Apr 26 15:03:52 EDT 2011
Hi Matt,
Matt Burnham <mburnham at gblsys.com> writes:
> I have a schema that the root element contains invalid C++ preprocessor
> characters (specifically '-') and can't figure out how to get the parse
> and serialize functions to get generated. I get the classes OK, but no
> parse and serialize functions.
>
> My schema is something like this:
>
> <App-Configuration>
The parsing/serialization functions will be named App_Configuration
(or App_Configuration_ if the App-Configuration element is of anonymous
type). For example, if I modify the hello.xsd schema from hello example
and rename the root element to hell-o, I get hell_o for parsing functions.
Boris
More information about the xsd-users
mailing list