andrewbober / xsd2jsonschema

A pure JavaScript library for translating complex XML Schemas into JSON Schemas.
https://www.xsd2jsonschema.org
Apache License 2.0
48 stars 25 forks source link

Error: Required nested sequences need to be implemented! #22

Open svrakata opened 4 years ago

svrakata commented 4 years ago

Hello,

I've got the following error while trying to parse xsd converted from dtd. Required nested sequences need to be implemented! I'm not sure what it means. What am I thinking is that your code doesn't work yet with required nested sequences or maybe there is something wrong with the xsd schema?

Thank you. Have a great day.

andrewbober commented 4 years ago

Hi @svrakata,

You are correct. Required nested sequences are not yet implemented. Would you be able to share your schema for me to use in testing?

Thanks,

Andy

svrakata commented 4 years ago

Hello again,

Here are the schemas. They are parsed from dtd to xsd via Visual Studio 2017 Sorry for delaying my answer.

Cheers.

andrewbober commented 4 years ago

Thanks @svrakata. I’ll try to include this in the next release.