schema fixes

git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@2494 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Peter Saint-Andre 2008-11-11 17:56:55 +00:00
parent 358f60a410
commit 0879be4098
1 changed files with 30 additions and 19 deletions

View File

@ -984,24 +984,41 @@ Content-Length: 68
</xs:documentation> </xs:documentation>
</xs:annotation> </xs:annotation>
<xs:import namespace='http://etherx.jabber.org/streams'
schemaLocation='http://www.xmpp.org/schemas/streams.xsd'/>
<xs:import namespace='http://www.w3.org/XML/1998/namespace'
schemaLocation='http://www.w3.org/2001/03/xml.xsd'/>
<xs:element name='body'> <xs:element name='body'>
<xs:complexType> <xs:complexType>
<xs:choice> <xs:choice xmlns:stream='http://etherx.jabber.org/streams'>
<xs:any namespace='##any' <xs:element ref='stream:features'
minOccurs='0'
maxOccurs='1'/>
<xs:any namespace='urn:ietf:params:xml:ns:xmpp-tls'
minOccurs='0'
maxOccurs='1'/>
<xs:any namespace='urn:ietf:params:xml:ns:xmpp-sasl'
minOccurs='0'
maxOccurs='1'/>
<xs:any namespace='urn:ietf:params:xml:ns:xmpp-streams'
minOccurs='0'
maxOccurs='1'/>
<xs:any namespace='jabber:client'
minOccurs='0'
maxOccurs='unbounded'/>
<xs:element name='uri'
minOccurs='0'
maxOccurs='1'
type='xs:string'/>
<xs:any namespace='##other'
minOccurs='0' minOccurs='0'
maxOccurs='unbounded' maxOccurs='unbounded'
processContents='lax'/> processContents='lax'/>
</xs:choice> </xs:choice>
<xs:attribute name='accept' type='xs:string' use='optional'/> <xs:attribute name='accept' type='xs:string' use='optional'/>
<xs:attribute name='ack' type='xs:positiveInteger' use='optional'/> <xs:attribute name='authid' type='xs:string' use='optional'/>
<xs:attribute name='authid' type='xs:string' use='optional'>
<xs:annotation>
<xs:documentation>
The authid attribute is a legacy of earlier BOSH
versions; for details see XEP-0206.
</xs:documentation>
</xs:annotation>
<xs:attribute>
<xs:attribute name='charsets' type='xs:NMTOKENS' use='optional'/> <xs:attribute name='charsets' type='xs:NMTOKENS' use='optional'/>
<xs:attribute name='condition' use='optional'> <xs:attribute name='condition' use='optional'>
<xs:simpleType> <xs:simpleType>
@ -1019,22 +1036,17 @@ Content-Length: 68
</xs:simpleType> </xs:simpleType>
</xs:attribute> </xs:attribute>
<xs:attribute name='content' type='xs:string' use='optional'/> <xs:attribute name='content' type='xs:string' use='optional'/>
<xs:attribute name='from' type='xs:string' use='optional'/>
<xs:attribute name='hold' type='xs:byte' use='optional'/> <xs:attribute name='hold' type='xs:byte' use='optional'/>
<xs:attribute name='inactivity' type='xs:short' use='optional'/> <xs:attribute name='inactivity' type='xs:short' use='optional'/>
<xs:attribute name='key' type='xs:string' use='optional'/> <xs:attribute name='key' type='xs:string' use='optional'/>
<xs:attribute name='maxpause' type='xs:short' use='optional'/>
<xs:attribute name='newkey' type='xs:string' use='optional'/> <xs:attribute name='newkey' type='xs:string' use='optional'/>
<xs:attribute name='pause' type='xs:short' use='optional'/>
<xs:attribute name='polling' type='xs:short' use='optional'/> <xs:attribute name='polling' type='xs:short' use='optional'/>
<xs:attribute name='report' type='xs:positiveInteger' use='optional'/>
<xs:attribute name='requests' type='xs:byte' use='optional'/> <xs:attribute name='requests' type='xs:byte' use='optional'/>
<xs:attribute name='rid' type='xs:positiveInteger' use='optional'/> <xs:attribute name='rid' type='xs:positiveInteger' use='optional'/>
<xs:attribute name='route' type='xs:string' use='optional'/> <xs:attribute name='route' type='xs:string' use='optional'/>
<xs:attribute name='secure' type='xs:boolean' use='optional' default='false'/> <xs:attribute name='secure' type='xs:boolean' use='optional' default='false'/>
<xs:attribute name='sid' type='xs:string' use='optional'/> <xs:attribute name='sid' type='xs:string' use='optional'/>
<xs:attribute name='stream' type='xs:string' use='optional'/> <xs:attribute name='stream' type='xs:string' use='optional'/>
<xs:attribute name='time' type='xs:short' use='optional'/>
<xs:attribute name='to' type='xs:string' use='optional'/> <xs:attribute name='to' type='xs:string' use='optional'/>
<xs:attribute name='type' type='xs:string' use='optional'> <xs:attribute name='type' type='xs:string' use='optional'>
<xs:simpleType> <xs:simpleType>
@ -1044,10 +1056,9 @@ Content-Length: 68
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:attribute> </xs:attribute>
<xs:attribute name='ver' type='xs:string' use='optional'/>
<xs:attribute name='wait' type='xs:short' use='optional'/> <xs:attribute name='wait' type='xs:short' use='optional'/>
<xs:attribute name='xml:lang' type='xs:string' use='optional'/> <xs:attribute ref='xml:lang' use='optional'/>
<xs:anyAttribute namespace='##any' processContents='lax'/> <xs:anyAttribute namespace='##other' processContents='lax'/>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>