resource-lists.xsd 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Extracted from RFC 4826
  4. http://www.rfc-editor.org/rfc/rfc4826.txt
  5. -->
  6. <xs:schema targetNamespace="urn:ietf:params:xml:ns:resource-lists"
  7. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  8. xmlns="urn:ietf:params:xml:ns:resource-lists"
  9. elementFormDefault="qualified" attributeFormDefault="unqualified">
  10. <xs:import namespace="http://www.w3.org/XML/1998/namespace"
  11. schemaLocation="http://www.w3.org/2001/xml.xsd"/>
  12. <xs:complexType name="listType">
  13. <xs:sequence>
  14. <xs:element name="display-name" type="display-nameType"
  15. minOccurs="0"/>
  16. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  17. <xs:choice>
  18. <xs:element name="list">
  19. <xs:complexType>
  20. <xs:complexContent>
  21. <xs:extension base="listType"/>
  22. </xs:complexContent>
  23. </xs:complexType>
  24. </xs:element>
  25. <xs:element name="external" type="externalType"/>
  26. <xs:element name="entry" type="entryType"/>
  27. <xs:element name="entry-ref" type="entry-refType"/>
  28. </xs:choice>
  29. </xs:sequence>
  30. <xs:any namespace="##other" processContents="lax" minOccurs="0"
  31. maxOccurs="unbounded"/>
  32. </xs:sequence>
  33. <xs:attribute name="name" type="xs:string" use="optional"/>
  34. <xs:anyAttribute namespace="##other" processContents="lax"/>
  35. </xs:complexType>
  36. <xs:complexType name="entryType">
  37. <xs:sequence>
  38. <xs:element name="display-name" minOccurs="0">
  39. <xs:complexType>
  40. <xs:simpleContent>
  41. <xs:extension base="display-nameType"/>
  42. </xs:simpleContent>
  43. </xs:complexType>
  44. </xs:element>
  45. <xs:any namespace="##other" processContents="lax" minOccurs="0"
  46. maxOccurs="unbounded"/>
  47. </xs:sequence>
  48. <xs:attribute name="uri" type="xs:anyURI" use="required"/>
  49. <xs:anyAttribute namespace="##other" processContents="lax"/>
  50. </xs:complexType>
  51. <xs:complexType name="entry-refType">
  52. <xs:sequence>
  53. <xs:element name="display-name" type="display-nameType"
  54. minOccurs="0"/>
  55. <xs:any namespace="##other" processContents="lax" minOccurs="0"
  56. maxOccurs="unbounded"/>
  57. </xs:sequence>
  58. <xs:attribute name="ref" type="xs:anyURI" use="required"/>
  59. <xs:anyAttribute namespace="##other" processContents="lax"/>
  60. </xs:complexType>
  61. <xs:complexType name="externalType">
  62. <xs:sequence>
  63. <xs:element name="display-name" type="display-nameType"
  64. minOccurs="0"/>
  65. <xs:any namespace="##other" processContents="lax" minOccurs="0"
  66. maxOccurs="unbounded"/>
  67. </xs:sequence>
  68. <xs:attribute name="anchor" type="xs:anyURI"/>
  69. <xs:anyAttribute namespace="##other" processContents="lax"/>
  70. </xs:complexType>
  71. <xs:element name="resource-lists">
  72. <xs:complexType>
  73. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  74. <xs:element name="list" type="listType"/>
  75. </xs:sequence>
  76. </xs:complexType>
  77. </xs:element>
  78. <xs:complexType name="display-nameType">
  79. <xs:simpleContent>
  80. <xs:extension base="xs:string">
  81. <xs:attribute ref="xml:lang"/>
  82. </xs:extension>
  83. </xs:simpleContent>
  84. </xs:complexType>
  85. </xs:schema>