Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this support XSD's that have an include statement in them? #73

Open
joebaldwin95 opened this issue Sep 28, 2016 · 3 comments
Open

Comments

@joebaldwin95
Copy link

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

@highsource
Copy link
Owner

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.

@joebaldwin95
Copy link
Author

Thanks for the reply. I did try but no luck.

-jar jsonix-schema-compiler-full-2.3.9.jar -generateJsonSchema -d mappings MAIN.xsd

@highsource
Copy link
Owner

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants