1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-24 10:12:19 -05:00

schema fixes from Gabriel de Perthuis

git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3295 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Peter Saint-Andre 2009-07-01 19:26:46 +00:00
parent 45b1d8b8ca
commit 8c0f19b45f
15 changed files with 69 additions and 53 deletions

View File

@ -705,17 +705,17 @@
<xs:element name='value' type='xs:string'/> <xs:element name='value' type='xs:string'/>
<xs:element name='reported'> <xs:element name='reported'>
<xs:complexType>
<xs:sequence>
<xs:element ref='field' maxOccurs='unbounded'/>
</xs:sequence>
</xs:complexType>
<xs:annotation> <xs:annotation>
<xs:documentation> <xs:documentation>
When contained in a "reported" element, the "field" element When contained in a "reported" element, the "field" element
SHOULD NOT contain a "value" child. SHOULD NOT contain a "value" child.
</xs:documentation> </xs:documentation>
</xs:annotation> </xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref='field' maxOccurs='unbounded'/>
</xs:sequence>
</xs:complexType>
</xs:element> </xs:element>
<xs:element name='item'> <xs:element name='item'>

View File

@ -21,7 +21,7 @@
<supersededby/> <supersededby/>
<shortname>feature-neg</shortname> <shortname>feature-neg</shortname>
<schemaloc> <schemaloc>
<url>http://www.xmpp.org/schemas/feature-neg.xsd</url> <url>http://xmpp.org/schemas/feature-neg.xsd</url>
</schemaloc> </schemaloc>
&pgmillard; &pgmillard;
&stpeter; &stpeter;
@ -295,9 +295,8 @@
xmlns='http://jabber.org/protocol/feature-neg' xmlns='http://jabber.org/protocol/feature-neg'
elementFormDefault='qualified'> elementFormDefault='qualified'>
<xs:import <xs:import namespace='jabber:x:data'
namespace='jabber:x:data' schemaLocation='http://xmpp.org/schemas/x-data.xsd'/>
schemaLocation='http://www.xmpp.org/schemas/x-data.xsd'/>
<xs:annotation> <xs:annotation>
<xs:documentation> <xs:documentation>

View File

@ -5478,7 +5478,8 @@ xmpp:darkcave@chat.shakespeare.lit?invite;jid=hecate@shakespeare.lit;password=ca
<xs:attribute name='code' use='required'> <xs:attribute name='code' use='required'>
<xs:simpleType> <xs:simpleType>
<xs:restriction base='xs:int'> <xs:restriction base='xs:int'>
<xs:length value='3'/> <xs:minInclusive value='100'/>
<xs:maxInclusive value='999'/>
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:attribute> </xs:attribute>

View File

@ -29,19 +29,19 @@
<shortname>pubsub</shortname> <shortname>pubsub</shortname>
<schemaloc> <schemaloc>
<ns>pubsub</ns> <ns>pubsub</ns>
<url>http://www.xmpp.org/schemas/pubsub.xsd</url> <url>http://xmpp.org/schemas/pubsub.xsd</url>
</schemaloc> </schemaloc>
<schemaloc> <schemaloc>
<ns>pubsub#errors</ns> <ns>pubsub#errors</ns>
<url>http://www.xmpp.org/schemas/pubsub-errors.xsd</url> <url>http://xmpp.org/schemas/pubsub-errors.xsd</url>
</schemaloc> </schemaloc>
<schemaloc> <schemaloc>
<ns>pubsub#event</ns> <ns>pubsub#event</ns>
<url>http://www.xmpp.org/schemas/pubsub-event.xsd</url> <url>http://xmpp.org/schemas/pubsub-event.xsd</url>
</schemaloc> </schemaloc>
<schemaloc> <schemaloc>
<ns>pubsub#owner</ns> <ns>pubsub#owner</ns>
<url>http://www.xmpp.org/schemas/pubsub-owner.xsd</url> <url>http://xmpp.org/schemas/pubsub-owner.xsd</url>
</schemaloc> </schemaloc>
<discuss>pubsub</discuss> <discuss>pubsub</discuss>
@ -6034,13 +6034,13 @@ xmpp:pubsub.shakespeare.lit?pubsub;action=retrieve;node=princely_musings
<xs:annotation> <xs:annotation>
<xs:documentation> <xs:documentation>
The protocol documented by this schema is defined in The protocol documented by this schema is defined in
XEP-0060: http://www.xmpp.org/extensions/xep-0060.html XEP-0060: http://xmpp.org/extensions/xep-0060.html
</xs:documentation> </xs:documentation>
</xs:annotation> </xs:annotation>
<xs:import <xs:import
namespace='jabber:x:data' namespace='jabber:x:data'
schemaLocation='http://www.xmpp.org/schemas/x-data.xsd'/> schemaLocation='http://xmpp.org/schemas/x-data.xsd'/>
<xs:element name='pubsub'> <xs:element name='pubsub'>
<xs:complexType> <xs:complexType>
@ -6249,7 +6249,7 @@ xmpp:pubsub.shakespeare.lit?pubsub;action=retrieve;node=princely_musings
This namespace is used for error reporting only, as This namespace is used for error reporting only, as
defined in XEP-0060: defined in XEP-0060:
http://www.xmpp.org/extensions/xep-0060.html http://xmpp.org/extensions/xep-0060.html
</xs:documentation> </xs:documentation>
</xs:annotation> </xs:annotation>
@ -6353,13 +6353,13 @@ xmpp:pubsub.shakespeare.lit?pubsub;action=retrieve;node=princely_musings
<xs:annotation> <xs:annotation>
<xs:documentation> <xs:documentation>
The protocol documented by this schema is defined in The protocol documented by this schema is defined in
XEP-0060: http://www.xmpp.org/extensions/xep-0060.html XEP-0060: http://xmpp.org/extensions/xep-0060.html
</xs:documentation> </xs:documentation>
</xs:annotation> </xs:annotation>
<xs:import <xs:import
namespace='jabber:x:data' namespace='jabber:x:data'
schemaLocation='http://www.xmpp.org/schemas/x-data.xsd'/> schemaLocation='http://xmpp.org/schemas/x-data.xsd'/>
<xs:element name='event'> <xs:element name='event'>
<xs:complexType> <xs:complexType>
@ -6510,13 +6510,13 @@ xmpp:pubsub.shakespeare.lit?pubsub;action=retrieve;node=princely_musings
<xs:annotation> <xs:annotation>
<xs:documentation> <xs:documentation>
The protocol documented by this schema is defined in The protocol documented by this schema is defined in
XEP-0060: http://www.xmpp.org/extensions/xep-0060.html XEP-0060: http://xmpp.org/extensions/xep-0060.html
</xs:documentation> </xs:documentation>
</xs:annotation> </xs:annotation>
<xs:import <xs:import
namespace='jabber:x:data' namespace='jabber:x:data'
schemaLocation='http://www.xmpp.org/schemas/x-data.xsd'/> schemaLocation='http://xmpp.org/schemas/x-data.xsd'/>
<xs:element name='pubsub'> <xs:element name='pubsub'>
<xs:complexType> <xs:complexType>

View File

@ -1198,7 +1198,7 @@
<xs:element ref='rule' minOccurs='1' maxOccurs='unbounded'/> <xs:element ref='rule' minOccurs='1' maxOccurs='unbounded'/>
</xs:sequence> </xs:sequence>
<xs:attribute name='from' use='optional' type='xs:string'/> <xs:attribute name='from' use='optional' type='xs:string'/>
<xs:attribute name='per-hop' use='optional' type='xs:bool' default='false'/> <xs:attribute name='per-hop' use='optional' type='xs:boolean' default='false'/>
<xs:attribute name='status' use='optional' type='xs:NCName'/> <xs:attribute name='status' use='optional' type='xs:NCName'/>
<xs:attribute name='to' use='optional' type='xs:string'/> <xs:attribute name='to' use='optional' type='xs:string'/>
</xs:complexType> </xs:complexType>

View File

@ -266,7 +266,7 @@
</tr> </tr>
<tr> <tr>
<td>timestamp</td> <td>timestamp</td>
<td>xs:datetime</td> <td>xs:dateTime</td>
<td>UTC timestamp specifying the moment when the reading was taken (MUST conform to the DateTime profile of &xep0082;)</td> <td>UTC timestamp specifying the moment when the reading was taken (MUST conform to the DateTime profile of &xep0082;)</td>
<td>2004-02-19T21:12Z</td> <td>2004-02-19T21:12Z</td>
</tr> </tr>
@ -511,7 +511,7 @@
<xs:element name='speed' minOccurs='0' type='xs:decimal'/> <xs:element name='speed' minOccurs='0' type='xs:decimal'/>
<xs:element name='street' minOccurs='0' type='xs:string'/> <xs:element name='street' minOccurs='0' type='xs:string'/>
<xs:element name='text' minOccurs='0' type='xs:string'/> <xs:element name='text' minOccurs='0' type='xs:string'/>
<xs:element name='timestamp' minOccurs='0' type='xs:datetime'/> <xs:element name='timestamp' minOccurs='0' type='xs:dateTime'/>
<xs:element name='uri' minOccurs='0' type='xs:anyURI'/> <xs:element name='uri' minOccurs='0' type='xs:anyURI'/>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>

View File

@ -148,7 +148,9 @@ SERVER:
</xs:documentation> </xs:documentation>
</xs:annotation> </xs:annotation>
<xs:element name='roster' type='xs:string'/> <xs:element name='roster' type='xs:string'/>
</xs:schema>
]]></code> ]]></code>
</section1> </section1>
</xep> </xep>

View File

@ -540,7 +540,7 @@
</xs:documentation> </xs:documentation>
</xs:annotation> </xs:annotation>
<xs:element name='data' type='xs:base64Binary'> <xs:element name='data' type='xs:base64Binary'/>
</xs:schema> </xs:schema>
]]></code> ]]></code>

View File

@ -351,10 +351,10 @@
</xs:documentation> </xs:documentation>
</xs:annotation> </xs:annotation>
<xs:complexType> <xs:complexType>
<xs:all xmlns:fneg='http://jabber.org/protocol/feature-neg'> <xs:sequence xmlns:fneg='http://jabber.org/protocol/feature-neg'>
<xs:any namespace='##other' minOccurs='0'/>
<xs:element ref='fneg:feature'/> <xs:element ref='fneg:feature'/>
<xs:any namespace='##other'/> </xs:sequence>
</xs:all>
<xs:attribute name='id' type='xs:string' use='optional'/> <xs:attribute name='id' type='xs:string' use='optional'/>
<xs:attribute name='mime-type' type='xs:string' use='optional'/> <xs:attribute name='mime-type' type='xs:string' use='optional'/>
<xs:attribute name='profile' type='xs:string' use='optional'/> <xs:attribute name='profile' type='xs:string' use='optional'/>

View File

@ -21,11 +21,11 @@
<shortname>component</shortname> <shortname>component</shortname>
<schemaloc> <schemaloc>
<ns>jabber:component:accept</ns> <ns>jabber:component:accept</ns>
<url>http://www.xmpp.org/schemas/component-accept.xsd</url> <url>http://xmpp.org/schemas/component-accept.xsd</url>
</schemaloc> </schemaloc>
<schemaloc> <schemaloc>
<ns>jabber:component:connect</ns> <ns>jabber:component:connect</ns>
<url>http://www.xmpp.org/schemas/component-connect.xsd</url> <url>http://xmpp.org/schemas/component-connect.xsd</url>
</schemaloc> </schemaloc>
&stpeter; &stpeter;
<revision> <revision>
@ -134,15 +134,19 @@
xmlns='jabber:component:accept' xmlns='jabber:component:accept'
elementFormDefault='qualified'> elementFormDefault='qualified'>
<xs:import namespace='urn:ietf:params:xml:ns:xmpp-streams'/>
<xs:annotation> <xs:annotation>
<xs:documentation> <xs:documentation>
The protocol documented by this schema is defined in The protocol documented by this schema is defined in
XEP-0114: http://www.xmpp.org/extensions/xep-0114.html XEP-0114: http://xmpp.org/extensions/xep-0114.html
</xs:documentation> </xs:documentation>
</xs:annotation> </xs:annotation>
<xs:import namespace='urn:ietf:params:xml:ns:xmpp-streams'
schemaLocation='http://xmpp.org/schemas/streamerror.xsd'/>
<xs:import namespace='http://www.w3.org/XML/1998/namespace'
schemaLocation='http://www.w3.org/2001/03/xml.xsd'/>
<xs:element name='handshake' type='xs:string'/> <xs:element name='handshake' type='xs:string'/>
<xs:element name='message'> <xs:element name='message'>
@ -338,15 +342,19 @@
xmlns='jabber:component:connect' xmlns='jabber:component:connect'
elementFormDefault='qualified'> elementFormDefault='qualified'>
<xs:import namespace='urn:ietf:params:xml:ns:xmpp-streams'/>
<xs:annotation> <xs:annotation>
<xs:documentation> <xs:documentation>
The protocol documented by this schema is defined in The protocol documented by this schema is defined in
XEP-0114: http://www.xmpp.org/extensions/xep-0114.html XEP-0114: http://xmpp.org/extensions/xep-0114.html
</xs:documentation> </xs:documentation>
</xs:annotation> </xs:annotation>
<xs:import namespace='urn:ietf:params:xml:ns:xmpp-streams'
schemaLocation='http://xmpp.org/schemas/streamerror.xsd'/>
<xs:import namespace='http://www.w3.org/XML/1998/namespace'
schemaLocation='http://www.w3.org/2001/03/xml.xsd'/>
<xs:element name='handshake' type='xs:string'/> <xs:element name='handshake' type='xs:string'/>
<xs:element name='message'> <xs:element name='message'>
@ -508,7 +516,7 @@
<xs:element name='error'> <xs:element name='error'>
<xs:complexType> <xs:complexType>
<xs:sequence xmlns:err='urn:ietf:params:xml:ns:xmpp-streams'> <xs:sequence xmlns:err='urn:ietf:params:xml:ns:xmpp-streams'>
<xs:group ref='err:stanzaErrorGroup'/> <xs:group ref='err:streamErrorGroup'/>
<xs:element ref='err:text' <xs:element ref='err:text'
minOccurs='0' minOccurs='0'
maxOccurs='1'/> maxOccurs='1'/>

View File

@ -950,7 +950,8 @@
</xs:documentation> </xs:documentation>
</xs:annotation> </xs:annotation>
<xs:import namespace='jabber:client'/> <xs:import namespace='jabber:client'
schemaLocation='http://xmpp.org/schemas/jabber-client.xsd'/>
<xs:annotation> <xs:annotation>
<xs:documentation> <xs:documentation>
@ -1011,11 +1012,15 @@
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name='uri' type='xs:string'> <xs:element name='uri'>
<xs:complexType> <xs:complexType>
<xs:simpleContent>
<xs:extension base='xs:string'>
<xs:attribute name='scheme' <xs:attribute name='scheme'
type='xs:NCNAME' type='xs:NCNAME'
use='required'/> use='required'/>
</xs:extension>
</xs:simpleContent>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>

View File

@ -301,8 +301,6 @@
xmlns='http://jabber.org/protocol/compress' xmlns='http://jabber.org/protocol/compress'
elementFormDefault='qualified'> elementFormDefault='qualified'>
<xs:import namespace='urn:ietf:params:xml:ns:xmpp-stanzas'/>
<xs:annotation> <xs:annotation>
<xs:documentation> <xs:documentation>
The protocol documented by this schema is defined in The protocol documented by this schema is defined in
@ -310,6 +308,9 @@
</xs:documentation> </xs:documentation>
</xs:annotation> </xs:annotation>
<xs:import namespace='urn:ietf:params:xml:ns:xmpp-stanzas'
schemaLocation='http://xmpp.org/schemas/stanzaerror.xsd'/>
<xs:element name='compress'> <xs:element name='compress'>
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>

View File

@ -303,9 +303,9 @@
<xs:sequence> <xs:sequence>
<xs:element name='group' type='xs:string' minOccurs='0' maxOccurs='unbounded'/> <xs:element name='group' type='xs:string' minOccurs='0' maxOccurs='unbounded'/>
</xs:sequence> </xs:sequence>
<xs:attribute name='action' use='optional'> <xs:attribute name='action' use='optional' default='add'>
<xs:simpleType> <xs:simpleType>
<xs:restriction base='xs:NCName' default='add'> <xs:restriction base='xs:NCName'>
<xs:enumeration value='add'/> <xs:enumeration value='add'/>
<xs:enumeration value='delete'/> <xs:enumeration value='delete'/>
<xs:enumeration value='modify'/> <xs:enumeration value='modify'/>

View File

@ -24,7 +24,7 @@
<supersededby>None</supersededby> <supersededby>None</supersededby>
<shortname>captcha</shortname> <shortname>captcha</shortname>
<schemaloc> <schemaloc>
<url>http://www.xmpp.org/schemas/captcha.xsd</url> <url>http://xmpp.org/schemas/captcha.xsd</url>
</schemaloc> </schemaloc>
&ianpaterson; &ianpaterson;
&stpeter; &stpeter;
@ -849,12 +849,12 @@
<xs:annotation> <xs:annotation>
<xs:documentation> <xs:documentation>
The protocol documented by this schema is defined in The protocol documented by this schema is defined in
XEP-0158: http://www.xmpp.org/extensions/xep-0158.html XEP-0158: http://xmpp.org/extensions/xep-0158.html
</xs:documentation> </xs:documentation>
</xs:annotation> </xs:annotation>
<xs:import namespace='jabber:x:data' <xs:import namespace='jabber:x:data'
schemaLocation='http://www.xmpp.org/schemas/x-data.xsd'/> schemaLocation='http://xmpp.org/schemas/x-data.xsd'/>
<xs:element name='captcha'> <xs:element name='captcha'>
<xs:complexType> <xs:complexType>

View File

@ -566,7 +566,7 @@ S: <t stanzas='10'/>
<xs:complexType> <xs:complexType>
<xs:sequence xmlns:err='urn:ietf:params:xml:ns:xmpp-stanzas' <xs:sequence xmlns:err='urn:ietf:params:xml:ns:xmpp-stanzas'
minOccurs='0' minOccurs='0'
minOccurs='1'> maxOccurs='1'>
<xs:group ref='err:stanzaErrorGroup'/> <xs:group ref='err:stanzaErrorGroup'/>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
@ -584,9 +584,9 @@ S: <t stanzas='10'/>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name='resume' type='resumptionElementType'> <xs:element name='resume' type='resumptionElementType'/>
<xs:element name='resumed' type='resumptionElementType'> <xs:element name='resumed' type='resumptionElementType'/>
<xs:element name='sm'> <xs:element name='sm'>
<xs:complexType> <xs:complexType>