Sparx Systems Forum
Enterprise Architect => Suggestions and Requests => Topic started by: bennido on November 01, 2006, 04:53:40 pm
-
The XML schema generated for XSD Simple Types should have a global element automatically generated as well.
Global elements are generated for complex types but not for simple types. Example ....
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="Test" type="Test"/>
<xs:complexType name="Test">
<xs:sequence>
<xs:element name="Benutzer" type="Benutzer" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="Benutzer">
<xs:restriction base="xs:string"/>
</xs:simpleType>
</xs:schema>