Help with target namespace when transforming xsd to tsd

Hi there! I’m new in this forum so hello everyone! I’ve just started working with XML and Tamino. I have few experience with both so I have a lot of doubts. My first assignment is to transform some valid XSD into TSD and define the resulting Tamino Schemas in a database in order to use them to validate XML files. The XSD files I have to transform follow a hierarchy like this: SCL ^ | SCL_Substation,SCL_IED,SCL_Communication,SCL_DataTypeTemplates ^ | SCL_BaseTypes ^ | SCL_Enums ^ | SCL_BaseSimpleTypes i.e., SCL_Enums includes SCL_BaseSimpleTypes; Scl_BaseTypes includes SCL_Enums; SCL_Substation,SCL_IED,SCL_Communication and SCL_DataTypeTemplates all include SCL_BaseTypes and finally, SCL includes all SCL_Substation,SCL_IED,SCL_Communication and SCL_DataTypeTemplates. The include elements have a form like this:

SCL_BaseSimpleTypes has this xs:schema root element:

While the rest of the files have this xs:schema root element:

The problem is when I transform all the XSD to TSD (except SCL_BaseSimpleType) and I save then, I get the following warning: There can be only one target namespace. This target namespace has been used: “http://www.iec.ch/61850/2003/SCL”. This namespace has not been used: “http://www.iec.ch/61850/2003/SCL”. I transform them following the “Best Transformation Practices” found in Tamino documentation and using the Schema Editor. Finally when I try to define SCL.tsd in the database I get the following error together with the warning before: Attribute targetNamespace of element schema, if present, must have exactly one corresponding namespace declaration <INOXDE7931,INOXDE7540> If I go to the logical properties and I edit de namespaces property, I can see that both http://www.iec.ch/61850/2003/SCL and scl:http://www.iec.ch/61850/2003/SCL are selected like Target. If I decide to make one of them the only target namespace, the first one for example, I get the following error: Attribute targetNamespace of element schema, if present, must have exactly one corresponding namespace declaration <INOXDE7931,INOXDE7540> This problem is solved if I delete one of the namespaces, but I don’t know if this may cause undesiderable collateral effects. This is not the only problem, I have another big doubt and don’t know if it can be related with this problem, I put it in this thread: http://tamino.forums.softwareag.com/viewtopic.php?t=5416 Hope you can help me soon, Thanks a lot!