Closed Michael-F-Bryan closed 4 years ago
Minimal example to reproduce:
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
<xsd:complexType name="TypeSpecBase"/>
</xsd:schema>
That's embarrassing...
This should now be fixed in master
. There is another error on your document, but it happens after the parser step now.
It's caused by references to its own namespace, which unfortunately isn't supported yet (I know, it's a shame). And I have to do a major refactoring of the code-generator for it to be supported, so it may take some time
I recently tried to use this against the IEC 61131 XSD spec (it's the file format used by most PLCs) and it complained about expecting the end of
xsd:schema
but finding the start of axsd:complexType
.I'm guessing it's not able to handle multiple top-level items inside
xsd:schema
?