jsonix-schema-compiler
jsonix-schema-compiler copied to clipboard
Does this support XSD's that have an include statement in them?
Hi,
I have an xsd that references another XSD thats contains the types for the main schema, will this allow me to generate a JSON schema for the main schema without ignoring the include in the XSD.
Thanks, Joe
Sure, imports and includes do work.
Am 28.09.2016 um 17:08 schrieb Joe Baldwin [email protected]:
Hi,
I have an xsd that references another XSD thats contains the types for the main schema, will this allow me to generate a JSON schema for the main schema without ignoring the include in the XSD.
Thanks, Joe
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Thanks for the reply. I did try but no luck.
-jar jsonix-schema-compiler-full-2.3.9.jar -generateJsonSchema -d mappings MAIN.xsd
@joebaldwin95 It's hard to say anything without seeing your log output and maybe your schema.
I'm absolutely positive that imports and includes work. Here's a huge project which has lots of them:
https://github.com/highsource/ogc-schemas