1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-30 21:22:15 -05:00

defined children of legal element

git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@1361 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Peter Saint-Andre 2007-11-08 16:33:07 +00:00
parent cf66dc969f
commit 9c135ff9c1
2 changed files with 16 additions and 1 deletions

View File

@ -5,6 +5,10 @@
<!ELEMENT title (#PCDATA)* > <!ELEMENT title (#PCDATA)* >
<!ELEMENT abstract (#PCDATA)* > <!ELEMENT abstract (#PCDATA)* >
<!ELEMENT legal ( conformance, copyright, permissions, warranty ) > <!ELEMENT legal ( conformance, copyright, permissions, warranty ) >
<!ELEMENT conformance (#PCDATA | link)* >
<!ELEMENT copyright (#PCDATA | link)* >
<!ELEMENT permissions (#PCDATA | link)* >
<!ELEMENT warranty (#PCDATA | link)* >
<!ELEMENT number (#PCDATA)* > <!ELEMENT number (#PCDATA)* >
<!ELEMENT status (#PCDATA)* > <!ELEMENT status (#PCDATA)* >
<!ELEMENT type (#PCDATA)* > <!ELEMENT type (#PCDATA)* >

13
xep.xsd
View File

@ -34,7 +34,7 @@
<xs:sequence> <xs:sequence>
<xs:element name='title' type='xs:string'/> <xs:element name='title' type='xs:string'/>
<xs:element name='abstract' type='xs:string'/> <xs:element name='abstract' type='xs:string'/>
<xs:element name='legal' type='xs:string'/> <xs:element ref='legal'/>
<xs:element name='number' type='xs:byte'/> <xs:element name='number' type='xs:byte'/>
<xs:element ref='status'/> <xs:element ref='status'/>
<xs:element ref='type'/> <xs:element ref='type'/>
@ -53,6 +53,17 @@
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name='legal'>
<xs:complexType>
<xs:sequence>
<xs:element name='conformance' type='markup'/>
<xs:element name='copyright' type='markup'/>
<xs:element name='permissions' type='markup'/>
<xs:element name='warranty' type='markup'/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name='status'> <xs:element name='status'>
<xs:simpleType> <xs:simpleType>
<xs:restriction base='xs:NCNAME'> <xs:restriction base='xs:NCNAME'>