Hi All,
I have built this schema:
<?xml version="1.0" encoding="UTF-8"?>
<!--W3C Schema erstellt mit XMLSpy v2008 rel. 2 sp2 -->
<xs:schema .. xmlns:pc=...." targetNamespace="....">
<xs:include schemaLocation="OTA_Profile.xsd"/>
<xs:element name="PotsdamCache">
<xs:complexType>
<xs:sequence>
<xs:element ref="pc:Content"/>
</xs:sequence>
</xs:complexType>
<xs:complexType>
<xs:element name="Errors" type="ErrorsType">
<xs:annotation>
<xs:documentation xml:lang="en-us">Standard way to indicate that an error occurred during the processing of an OTA message.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:complexType>
</xs:element>
<xs:element name="Content" type="xs:string"/>
</xs:schema>
the inclusion of the 2nd "xs:complexType" for "ErrorsType" is giving me problems.
I get the error: </xs:complexType> is at this position under element not allowed.
I have the schema reference included: <xs:include schemaLocation="OTA_Profile.xsd"/>
which contains the definition of "ErrorsType".
Could someone please help?
Thanks.