- From: Mikael Joukakelian <mikaelj@cae.com>
- Date: Tue, 3 Sep 2002 09:52:57 -0400
- To:
- Cc: xmlschema-dev@w3.org
This is a question concerning annotation specific to XML Spy. I have the following schema: <xs:element name="Elem1" substitutionGroup="Abstract1"> <xs:complexType> <xs:attribute name="Att1" type="xs:string"> <xs:annotation> <xs:documentation>What is the type?</xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> </xs:element> I can see the annotation in the info window of XML Spy when editing an XML instance. However this is not the case when I change the above and add several documentation nodes or when I add source or xml:lang attributes. See below: <xs:element name="Elem1" substitutionGroup="Abstract1"> <xs:complexType> <xs:attribute name="Att1" type="xs:string"> <xs:annotation> <xs:documentation source="SW_FRA.xml" xml:lang="fr">Quel est le type?</xs:documentation> <xs:documentation source="SW_ENG.xml" xml:lang="en">What is the type?</xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> </xs:element> I know that processes are not obliged to do anything specific with the source or xml:lang attributes of documentation. Any further info would be appreciated. Is there a way to get what I want or am I forced to limit myself to one documentation nods? Thanks in advance.
Received on Tuesday, 3 September 2002 09:54:12 UTC