[tdwg-tapir] Schema modification: r398 - trunk/protocol

tdwg-tapir at lists.tdwg.org tdwg-tapir at lists.tdwg.org
Thu Jan 5 19:50:42 CET 2006


Author: renato
Date: 2006-01-05 19:50:38 +0100 (Thu, 05 Jan 2006)
New Revision: 398

Modified:
   trunk/protocol/tapir.xsd
Log:
Just moved the definition of <operationRequestGroup> and reincluded annotation about <contact> roles.


Modified: trunk/protocol/tapir.xsd
===================================================================
--- trunk/protocol/tapir.xsd	2006-01-05 18:41:13 UTC (rev 397)
+++ trunk/protocol/tapir.xsd	2006-01-05 18:50:38 UTC (rev 398)
@@ -40,11 +40,6 @@
 	<xsd:complexType name="externalResourceType">
 		<xsd:attribute name="location" type="xsd:anyURI" use="required"/>
 	</xsd:complexType>
-	<xsd:attributeGroup name="operationRequestGroup">
-		<xsd:attribute name="envelope" type="xsd:boolean" use="optional" default="true"/>
-		<xsd:attribute name="xslt" type="xsd:anyURI" use="optional"/>
-		<xsd:attribute name="xslt-apply" type="xsd:boolean" use="optional" default="false"/>
-	</xsd:attributeGroup>
 	<xsd:complexType name="languageAwareElement">
 		<xsd:annotation>
 			<xsd:documentation>A type for elements that may be language
@@ -716,6 +711,11 @@
 			<xsd:element name="diagnostics" type="diagnosticsList" minOccurs="0"/>
 		</xsd:sequence>
 	</xsd:complexType>
+	<xsd:attributeGroup name="operationRequestGroup">
+		<xsd:attribute name="envelope" type="xsd:boolean" use="optional" default="true"/>
+		<xsd:attribute name="xslt" type="xsd:anyURI" use="optional"/>
+		<xsd:attribute name="xslt-apply" type="xsd:boolean" use="optional" default="false"/>
+	</xsd:attributeGroup>
 	<xsd:attributeGroup name="pagingParameters">
 		<xsd:attribute name="count" type="xsd:boolean" use="optional" default="false"/>
 		<xsd:attribute name="start" type="xsd:nonNegativeInteger" use="optional" default="0"/>
@@ -1501,7 +1501,12 @@
 			<xsd:element name="title" type="languageAwareElement" minOccurs="0"/>
 			<xsd:element name="email" type="xsd:string"/>
 			<xsd:element name="phone" type="xsd:string" minOccurs="0"/>
-			<xsd:element name="role" type="xsd:string" maxOccurs="unbounded"/>
+			<xsd:element name="role" type="xsd:string" maxOccurs="unbounded">
+				<xsd:annotation>
+					<xsd:documentation>Used to specify the roles of a contact, such as "data
+						administrator", "system administrator", etc.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
 		</xsd:sequence>
 		<xsd:attribute ref="lang"/>
 	</xsd:complexType>
@@ -1559,7 +1564,7 @@
 				<xsd:sequence>
 					<xsd:element name="role" type="xsd:string" maxOccurs="unbounded">
 						<xsd:annotation>
-							<xsd:documentation>The roles of a related entity, such as "data
+							<xsd:documentation>Used to specify the roles of a related entity, such as "data
 								supplier", "technical host", etc.</xsd:documentation>
 						</xsd:annotation>
 					</xsd:element>





More information about the tdwg-tag mailing list