jgeXml
jgeXml copied to clipboard
Is schema in multiple docs supported?
Am I correct that XSD that is spread over several documents are not supported at the moment? Basically you can put in <xs:include schemaLocation="local/path" />
in order to include referred XSD in a currect one.
Here is referance to the spec of xs:include
: https://www.w3.org/TR/xmlschema-0/#SchemaInMultDocs
Best regards, Petr
Are you trying to convert such a split XSD into JSON Schema? If so, yes, this has not been tested so far. If you have an example you could share (by gist or attachment) I could take a look.
Yes, that's what I am trying to do.
Here is an example: https://gist.github.com/yonyonson/723d94780d5c7a0e5438759a620bc94c
I try to include kontaktinfo.xsd
in the API-kontaktinfo.xsd
and get one common JSON Schema out of it.
This would be a nice feature😀 My XSDs werde splitted into several files. Do you see a chance for implementing that feature?
Thanks for your gerad work!