WWW/2002/ws/ra/edcopies/ws-mex MetadataExchange.xsd,1.14,1.15

Update of /w3ccvs/WWW/2002/ws/ra/edcopies/ws-mex
In directory hutz:/tmp/cvs-serv18348/ws-mex

Modified Files:
	MetadataExchange.xsd 
Log Message:
11790


Index: MetadataExchange.xsd
===================================================================
RCS file: /w3ccvs/WWW/2002/ws/ra/edcopies/ws-mex/MetadataExchange.xsd,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- MetadataExchange.xsd	15 Dec 2010 00:26:45 -0000	1.14
+++ MetadataExchange.xsd	17 Feb 2011 23:22:08 -0000	1.15
@@ -10,6 +10,14 @@
       namespace='http://www.w3.org/2005/08/addressing'
       schemaLocation='http://www.w3.org/2006/03/addressing/ws-addr.xsd'/>
 
+  <!-- Types and global elements -->
+  <xs:simpleType name='QNameSerialization'>
+    <xs:restriction base='xs:string'>
+      <xs:pattern value='\{.*\}.+'/>
+      <!-- A QName w/o a namespace-uri is realized as "{}local-name} -->
+    </xs:restriction>
+  </xs:simpleType>
+
   <!-- GetWSDL request -->
   <xs:element name='GetWSDL'>
     <xs:complexType>
@@ -106,7 +114,7 @@
 
   <xs:element name='Dialect'>
     <xs:complexType>
-      <xs:attribute name='Type' type='xs:QName' use='required'/>
+      <xs:attribute name='Type' type='tns:QNameSerialization' use='required'/>
       <xs:attribute name='Identifier' type='xs:anyURI'/>
       <xs:attribute name='Content' type='xs:anyURI'/>
       <xs:anyAttribute namespace='##other' processContents='lax'/>
@@ -135,7 +143,7 @@
         <xs:element name='MetadataReference' type='wsa:EndpointReferenceType' />
         <xs:element name='MetadataLocation' type='tns:URI'/>
       </xs:choice>
-      <xs:attribute name='Dialect' type='xs:QName' use='required'/>
+      <xs:attribute name='Dialect' type='tns:QNameSerialization' use='required'/>
       <xs:attribute name='Identifier' type='xs:anyURI'/>
       <xs:anyAttribute namespace='##other' processContents='lax'/>
     </xs:complexType>
@@ -147,7 +155,7 @@
               maxOccurs='unbounded'/>
     </xs:sequence>
     <xs:attribute name='URL'  type='xs:anyURI' use='required'/>
-    <xs:attribute name='Type' type='xs:QName'  use='required'/>
+    <xs:attribute name='Type' type='tns:QNameSerialization'  use='required'/>
     <xs:attribute name='Identifier' type='xs:anyURI'/>
     <xs:anyAttribute namespace='##other' processContents='lax'/>
   </xs:complexType>
@@ -156,7 +164,7 @@
   <xs:complexType name='ReferenceType'>
     <xs:complexContent>
       <xs:extension base='wsa:EndpointReferenceType'>
-        <xs:attribute name='Type' type='xs:QName'  use='required'/>
+        <xs:attribute name='Type' type='tns:QNameSerialization'  use='required'/>
         <xs:attribute name='Identifier' type='xs:anyURI'/>
         <xs:anyAttribute processContents='lax'/>
       </xs:extension>

Received on Thursday, 17 February 2011 23:22:12 UTC