Hello Zabka,
could I please ask for an update on the problem that you are actually receiving?
The reason that I ask for this is that I took your two schemas (Eden and Dwa from your August 15th posting) and loaded them both into Tamino 4.2 with the 4.2 Schema Editor. Both loaded successfully, with no manual changes from me.
I then used XMLSpy to generate a sample document, which I successfully loaded into the “Company” doctype (as defined in the Eden schema).
It seems that there is a lot of discussion in this thread about validating the schemas against Tamino, and validating them as XSDs… The comments are all correct (in summary: the XSD validation does not look into Tamino, so does not find the type definition there), but I wonder if the discussion is really relevant - your schemas appear to work fine with Tamino!
I’m appending the schemas and document that I loaded, just for reference.
Best regards,
Trevor.
The document:
<?xml version="1.0" encoding="UTF-8"?>
<n:Company xmlns:n="http://www.company.org" xmlns:pro="http://www.product.org" xmlns:tsd="http://namespaces.softwareag.com/tamino/TaminoSchemaDefinition">
<Product>
<Type>String</Type>
</Product>
<Product>
<Type>String</Type>
</Product>
</n:Company></pre><BR>Eden schema:<BR><pre class="ip-ubbcode-code-pre"> <?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://www.company.org" xmlns="http://www.company.org" xmlns:pro="http://www.product.org" xmlns:tsd="http://namespaces.softwareag.com/tamino/TaminoSchemaDefinition" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:annotation>
<xsd:appinfo>
<tsd:schemaInfo name="Eden">
<tsd:collection name="ImportFinal"></tsd:collection>
<tsd:doctype name="Company">
<tsd:logical>
<tsd:content>closed</tsd:content>
</tsd:logical>
</tsd:doctype>
<tsd:adminInfo>
<tsd:server>4.2.1.1</tsd:server>
<tsd:modified>2004-08-26T03:20:35.029-08:00</tsd:modified>
<tsd:created>2004-08-26T03:20:35.029-08:00</tsd:created>
<tsd:version>TSD4.2</tsd:version>
</tsd:adminInfo>
</tsd:schemaInfo>
</xsd:appinfo>
</xsd:annotation>
<xsd:import namespace="http://www.product.org" schemaLocation="Dwa"/>
<xsd:element name="Company">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Product" type="pro:ProductType" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema></pre><BR>Dwa Schema:<BR><pre class="ip-ubbcode-code-pre"> <?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://www.product.org" xmlns="http://www.product.org" xmlns:tsd="http://namespaces.softwareag.com/tamino/TaminoSchemaDefinition" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:annotation>
<xsd:appinfo>
<tsd:schemaInfo name="Dwa">
<tsd:collection name="ImportFinal"></tsd:collection>
<tsd:doctype name="Dwa">
<tsd:logical>
<tsd:content>closed</tsd:content>
</tsd:logical>
</tsd:doctype>
<tsd:adminInfo>
<tsd:server>4.2.1.1</tsd:server>
<tsd:modified>2004-08-26T03:20:16.983-08:00</tsd:modified>
<tsd:created>2004-08-26T03:20:16.983-08:00</tsd:created>
<tsd:version>TSD4.2</tsd:version>
</tsd:adminInfo>
</tsd:schemaInfo>
</xsd:appinfo>
</xsd:annotation>
<xsd:element name="Dwa">
<xsd:complexType></xsd:complexType>
</xsd:element>
<xsd:complexType name="ProductType">
<xsd:sequence>
<xsd:element name="Type" type="xsd:string"></xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
#webMethods#Tamino#API-Management