[xsd-users] Output lowercase HexBinary

Boris Kolpackov boris at codesynthesis.com
Fri Aug 26 02:32:33 EDT 2022


Miao Wang <miaowang.tw at gmail.com> writes:

> I tried the calendar example. When I ran
> 
> xsd cxx-tree --generate-xml-schema --custom-type date --hxx-epilogue
> '#include "xml-schema-custom.hxx"' xml-schema.xsd
> 
> it display
> 
> error: --extern-xml-schema is required when compiling more than one schema
> and --generate-xml-schema is specified
> 
> So, what should I do to run the example?

You need to adjust the quoting in the above example (I am guessing
you are on Windows). See the "REGEX AND SHELL QUOTING" section in
xsd(1) for details:

https://codesynthesis.com/projects/xsd/documentation/xsd.xhtml

I would suggest that you make use of the --options-file mechanism.



More information about the xsd-users mailing list