We currently support the XSD synthax where the type definition is done before the field definition :
<xs:simpleType name="BureauType"> <xs:restriction base = "xs:string"> <xs:enumeration value = "EFU"/> </xs:restriction> </xs:simpleType> <xs:element name="bureau" type = "nxs:BureauType"/>
The goal is to be able to have an inline definition of the type :
<xs:element name = "inlineBureau"> <xs:simpleType> <xs:restriction base = "xs:string"> <xs:enumeration value = "EFU"/> </xs:restriction> </xs:simpleType> </xs:element>