Problem with xs:include when defining an XSD

I have these two xsds, where PRQ.xsd includes SystemTypes.xsd:



- <xs:schema xmlns:tsd=“http://namespaces.softwareag.com/tamino/TaminoSchemaDefinition” xmlns:xs=“http://www.w3.org/2001/XMLSchema” elementFormDefault=“qualified” attributeFormDefault=“unqualified”>
<xs:include schemaLocation=“http://localhost:8080/Bizwork/Schema/SystemTypes.xsd” />
- xs:annotation
- xs:appinfo
- <tsd:schemaInfo name=“PRQSchema”>
<tsd:collection name=“AAA” />
- <tsd:doctype name=“PRQ”>
- tsd:logical
tsd:contentopen</tsd:content>
</tsd:logical>
</tsd:doctype>
</tsd:schemaInfo>
</xs:appinfo>
</xs:annotation>
- <xs:element name=“BizDoc”>





<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs=“http://www.w3.org/2001/XMLSchema” xmlns:tsd=“http://namespaces.softwareag.com/tamino/TaminoSchemaDefinition” elementFormDefault=“qualified” attributeFormDefault=“unqualified”>
xs:annotation
xs:appinfo
<tsd:schemaInfo name=“SystemTypesSchema”>
<tsd:collection name=“AAA”/>
<tsd:doctype name="">
tsd:logical
tsd:contentclosed</tsd:content>
</tsd:logical>
</tsd:doctype>
</tsd:schemaInfo>
</xs:appinfo>
</xs:annotation>
<xs:simpleType name=“Binary”>
<xs:restriction base=“xs:string”>
<xs:enumeration value=“Yes”/>
<xs:enumeration value=“No”/>
</xs:restriction>
</xs:simpleType>



I encounter the following error when trying to define PRQ.xsd, my schemaLocation is already an URI:
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <ino:response xmlns:ino=“http://namespaces.softwareag.com/tamino/response2” xmlns:xql=“http://metalab.unc.edu/xql/”>
- <ino:message ino:returnvalue=“7703”>
<ino:messagetext ino:code=“INOXDE7703”>validation has detected an error in document</ino:messagetext>
ino:messagelineINOXDE7740: Line 2, Column 85: (cvc-complex-type.2.4): element child error [element “xs:include” in element “xs:schema”]</ino:messageline>
</ino:message>
</ino:response>

Hi

I assume you are using Tamino 4.1 or older, which does not yet support xs:include.
Tamino 4.2 supports xs:include.

Best regards
Uli