[tdwg-tapir] Schema modification: r556 - trunk/protocol
Author: renato Date: 2006-09-25 19:33:48 +0200 (Mon, 25 Sep 2006) New Revision: 556
Modified: trunk/protocol/tapir.xsd Log: Language handling is now uniform across the protocol by using only the xml:lang attribute: * Removed global "lang" attribute definition. * Changed entityInformationType to reference xml:lang. * Included optional attribute xml:lang in metadataResultType so that a default language can be assigned to an entire document.
Modified: trunk/protocol/tapir.xsd =================================================================== --- trunk/protocol/tapir.xsd 2006-09-11 09:20:56 UTC (rev 555) +++ trunk/protocol/tapir.xsd 2006-09-25 17:33:48 UTC (rev 556) @@ -66,16 +66,6 @@ base="xsd:string"/> </xsd:simpleType> <!-- ============================================= --> - <!-- GLOBAL ATTRIBUTES--> - <!-- ============================================= --> - <xsd:attribute name="lang" type="xsd:language"> - xsd:annotation - xsd:documentationAttribute for language identification. This attribute was globally - declared to be referenced by others, and therefore simulate the same way of using - xml:lang (in case it could be necessary to switch to xml:lang in the future).</xsd:documentation> - </xsd:annotation> - </xsd:attribute> - <!-- ============================================= --> <!-- GENERAL COMPLEX TYPE DEFINITIONS--> <!-- ============================================= --> <xsd:complexType name="externalResourceType"> @@ -1581,6 +1571,7 @@ </xsd:element> <xsd:element ref="custom" minOccurs="0"/> </xsd:sequence> + <xsd:attribute ref="xml:lang" use="optional"/> </xsd:complexType> <xsd:complexType name="relatedEntityInformationType"> xsd:annotation @@ -1676,7 +1667,7 @@ </xsd:element> <xsd:element ref="custom" minOccurs="0"/> </xsd:sequence> - <xsd:attribute ref="lang"/> + <xsd:attribute ref="xml:lang" use="optional"/> </xsd:complexType> <!-- ===== INVENTORY===== --> <xsd:element name="inventory" type="inventoryResultType" />
participants (1)
-
tdwg-tapir@lists.tdwg.org