Hi Thilo,
actually, it is not sufficient if an XSD spec. is syntactically correct, it shall also be valid to translate it to TTCN-3.
But what about
<xs:element name="dummy1">
</xs:element>
the default type of XSD elements is anyType, see the XSD spec. Part-1 $3.3.2:
.
"
Hence it shall be translated to XSD.AnyType. Currently this case is not handled in Part-9 $7.3, could you submit a CR for this case pls.?
or
<xs:element name="dummy2" />
This is the same as element dummy1 just using the short syntax.
or
is invalid, the name or the ref attribute (but not both) shall be present in elements, see XSD spec Part-1 $ 3.3.3 item 2.1.
or
<xs:attribute name="attrWithoutType"/>
the default type of XSD attributes is anySimpleType, see the XSD spec. Part-1 $3.2.2: "
"
Hence it shall be translated to XSD.AnySimpleType. Currently this case is not handled in Part-9 $7.4.1, could you submit a CR for this case pls.?
or
<xs:attribute name="attrEmptySimpleType">
<xs:simpleType/>
</xs:attribute>
is invalid, a <simpleType> shall have one of the childrens <restriction>, <union> or <list>.
BR, Gyorgy