Closed ghilainm closed 5 years ago
Hi ghilainm - Thanks for the feedback. I can see what's wrong. It's actually the xs:documentation processing. I have a fix I will publish tomorrow after I complete unit tests.
@andrewbober Thx a lot! By the way how do you activate debug of the tool?
Xsd2JsonSchema uses the debug library for logging. Enable debugging output by setting the DEBUG environment variable.
I like to use this setting: export DEBUG=xsd2jsonschema:BaseConverter,xsd2jsonschema:ParsingState
For all possible logs use this setting (warning - this results in a ton of logging) export DEBUG=xsd2jsonschema:*
This is resolved in version 0.3.2
The code seems to not support xs:annotations.
Here is an example of failing xsd:
Remove the xs:annotations and it works fine :)