[xsd-users] Need help: type-naming and function-naming issue

JW jianwei.z at gmail.com
Tue Oct 19 13:09:20 EDT 2010


Hi,

I tried to name all class types and function names in java/ucc style but it
didn't seem to work as I expected.

This was the command line options I used:

xsd cxx-tree --type-naming java --function-naming java --root-element config
--generate-ostream --generate-serialization config.xsd

Here were some class names and function names generated by the command:

Class Variable_condition;
typedef ::Variable_condition Variable_conditionType;
const Variable_conditionType& getVariable_condition();
void setVariable_condition(const Variable_conditionType& x);

I would expect every words in the names to be capitalized such as
VariableCondition, getVariableCondition, setVariableCondition,
VariableConditionType, etc.

Did any one have similar issue before?

Thanks,
JW


More information about the xsd-users mailing list