Schema Editor error validating <xs:attribute ref="xm

Hello all :wink:

I’m using Tamino 4.4.1 and i’m trying to define a schema. This schema (.xsd) is validated by XMLSpy, but when I try to define it in Tamino, a validation error occurs. The tag that causes the error is :

<xs:attribute ref="xml:lang"/>


… Cannot resolve the name ‘xml:lang’ to a(n) ‘attribute declaration’ component.

I’ve included the “xml” namespace, althougt in XMLSpy is not necessary:


<xs:schema xmlns="urn:hl7-org:v3" xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:hl7-org:v3" elementFormDefault="qualified">
	<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>

…but the same error occurs. Any idea?

Thanks in advance.

Hello Carlos.

Please, read my post :

http://tamino.forums.softwareag.com/viewtopic.php?t=5198

you will find the Tamino’s documentation extract that you need.

Cheers.

Merci, Bertrand:

Your post has been very useful to solve the problem. Thank you very much. :smiley:

Carlos.