W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2002

annotation and XML Spy

From: Mikael Joukakelian <mikaelj@cae.com>
Date: Tue, 3 Sep 2002 09:52:57 -0400
Message-ID: <719A38AB7279D511B91900D0B7444A9E026116E1@caemsx03.cae.ca>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:34 GMT