Problem with XML SPY and Tamino standard index!

Hello,

I try to add an standard index on an attribute like the following example.

<xs:attribute name = “ID” type = “xs: string” use=“required”>
xs:annotation
xs:appinfo
tsd:attributeInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:attributeInfo>
</xs:appinfo>
</xs:annotation>
</xs:attribute>

The file is well formed. As soon as I change the view to schema/wsdl under XML Spy, all above code disapears and there is only the attribute left like following example

<xs:attribute name=“ID” type=“xs:string” use=“required”/>

I have tried with the latest version of XML Spy and the result is the same. What is the problem and how can I resolve it?

Regards

Hello Roland,

You faced a bug I reported to Altova support a while ago.
The bug is referenced into their “Bugzilla” as :

“6337 - annotation elements without a documentation parent are removed from the schema design view”

This defect has been fixed with XMLSy 2005 rel2. You need to update your release of XMLSpy.

Cheers.

Hi Bertrand,

Thanks a lot.

Regards