cornelius / kode

XML meta programming
http://www.lst.de/~cs/kode
20 stars 10 forks source link

[kxml_compiler]Fix segfault when parsing an XSD containing a sequence type rootitem #49

Open martonmiklos opened 4 years ago

martonmiklos commented 4 years ago

The kxml_compiler segfaulted when generated code from an XSD where the root element was a complexType which was a sequence of elements. This was becasuse the subelements was not added by the schema/parser class during the parse.