pyxb.exceptions_.SchemaValidationError: Value constraint on element {http://www.tce.sp.gov.br/audesp/xml/tagcomum}TipoTAditivoOutros with non-simple content
The specific item is this:
<xs:complexTypename="TAditivoOutros_t"><xs:sequence><!-- 14 - Outros --><xs:elementname="TipoTAditivoOutros"fixed="14"minOccurs="1"maxOccurs="1"/><xs:elementname="DescricaoTAditivoOutros"type="tag:StringAte100_t"minOccurs="1"maxOccurs="1"/></xs:sequence></xs:complexType>
Anyone can help me on generating the py file for this XSD?
Thanks!
David
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to generate a py class from the xsd in the gist: https://gist.github.com/c0h1b4/cd6aeccf0208d64f863a943a40b4c732
I am getting the following error:
pyxb.exceptions_.SchemaValidationError: Value constraint on element {http://www.tce.sp.gov.br/audesp/xml/tagcomum}TipoTAditivoOutros with non-simple content
The specific item is this:
Anyone can help me on generating the py file for this XSD?
Thanks!
David
See issue 82.