[xsd-users] Relating XSD identifiers to C++ identifiers
Iain Sharp
isharp at atis.org
Fri Feb 9 06:24:15 EST 2018
One thing I do note in this context - some of the doxygen comments generated by CS are rather misleading. For example, I have a class called "announcedAttribute1", with the description "Class corresponding to the announcedAttribute1 schema type.", but there is no schema type "announcedAttribute1", this is a name assigned by CS to a schema type called "announcedAttribute". I also have a similar description for "announcedAttribute1_base" which appears because "announcedAttribute1" is a list.
Regards
Iain
-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com]
Sent: 02 February 2018 14:29
To: Iain Sharp <isharp at atis.org>
Cc: xsd-users at codesynthesis.com
Subject: Re: [xsd-users] Relating XSD identifiers to C++ identifiers
Iain Sharp <isharp at atis.org> writes:
> I am working on a committee-defined set of XSDs that have a
> complicated structure which means that various special cases occur
> when CodeSynthesis Tree chooses the identifiers to use in its object
> model. So I can automate some higher layer code generation I would
> like to have a machine readable map between the elements and
> identifiers used in the XSD and the corresponding identifiers in the C++ object model.
>
> Is there an easy way to generate this information?
You could probably extract this information from the --name-regex-trace option output. See the NAMING CONVENTION section in the xsd man page for details.
Boris
More information about the xsd-users
mailing list