| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" |
| 3 |
xmlns:er="urn:oasis:names:tc:entity:xmlns:xml:catalog" |
| 4 |
targetNamespace="urn:oasis:names:tc:entity:xmlns:xml:catalog" |
| 5 |
elementFormDefault="qualified"> |
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
<xs:import namespace="http://www.w3.org/XML/1998/namespace"/> |
| 10 |
|
| 11 |
<xs:simpleType name="pubIdChars"> |
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
<xs:restriction base="xs:string"> |
| 16 |
<xs:pattern value="[a-zA-Z0-9\-'\(\)+,./:=?;!*#@$_%]*"/> |
| 17 |
</xs:restriction> |
| 18 |
</xs:simpleType> |
| 19 |
|
| 20 |
<xs:simpleType name="publicIdentifier"> |
| 21 |
<xs:restriction base="er:pubIdChars"/> |
| 22 |
</xs:simpleType> |
| 23 |
|
| 24 |
<xs:simpleType name="partialPublicIdentifier"> |
| 25 |
<xs:restriction base="er:pubIdChars"/> |
| 26 |
</xs:simpleType> |
| 27 |
|
| 28 |
<xs:simpleType name="systemOrPublic"> |
| 29 |
<xs:restriction base="xs:string"> |
| 30 |
<xs:enumeration value="system"/> |
| 31 |
<xs:enumeration value="public"/> |
| 32 |
</xs:restriction> |
| 33 |
</xs:simpleType> |
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
<xs:complexType name="catalog"> |
| 39 |
<xs:choice minOccurs="1" maxOccurs="unbounded"> |
| 40 |
<xs:element ref="er:public"/> |
| 41 |
<xs:element ref="er:system"/> |
| 42 |
<xs:element ref="er:uri"/> |
| 43 |
<xs:element ref="er:rewriteSystem"/> |
| 44 |
<xs:element ref="er:rewriteURI"/> |
| 45 |
<xs:element ref="er:uriSuffix"/> |
| 46 |
<xs:element ref="er:systemSuffix"/> |
| 47 |
<xs:element ref="er:delegatePublic"/> |
| 48 |
<xs:element ref="er:delegateSystem"/> |
| 49 |
<xs:element ref="er:delegateURI"/> |
| 50 |
<xs:element ref="er:nextCatalog"/> |
| 51 |
<xs:element ref="er:group"/> |
| 52 |
<xs:any namespace="##other" processContents="skip"/> |
| 53 |
</xs:choice> |
| 54 |
<xs:attribute name="id" type="xs:ID"/> |
| 55 |
<xs:attribute name="prefer" type="er:systemOrPublic"/> |
| 56 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 57 |
</xs:complexType> |
| 58 |
|
| 59 |
<xs:complexType name="public"> |
| 60 |
<xs:complexContent> |
| 61 |
<xs:restriction base="xs:anyType"> |
| 62 |
<xs:attribute name="publicId" type="er:publicIdentifier" |
| 63 |
use="required"/> |
| 64 |
<xs:attribute name="uri" type="xs:anyURI" use="required"/> |
| 65 |
<xs:attribute name="id" type="xs:ID"/> |
| 66 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 67 |
</xs:restriction> |
| 68 |
</xs:complexContent> |
| 69 |
</xs:complexType> |
| 70 |
|
| 71 |
<xs:complexType name="system"> |
| 72 |
<xs:complexContent> |
| 73 |
<xs:restriction base="xs:anyType"> |
| 74 |
<xs:attribute name="systemId" type="xs:string" |
| 75 |
use="required"/> |
| 76 |
<xs:attribute name="uri" type="xs:anyURI" use="required"/> |
| 77 |
<xs:attribute name="id" type="xs:ID"/> |
| 78 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 79 |
</xs:restriction> |
| 80 |
</xs:complexContent> |
| 81 |
</xs:complexType> |
| 82 |
|
| 83 |
<xs:complexType name="uri"> |
| 84 |
<xs:complexContent> |
| 85 |
<xs:restriction base="xs:anyType"> |
| 86 |
<xs:attribute name="name" type="xs:anyURI" |
| 87 |
use="required"/> |
| 88 |
<xs:attribute name="uri" type="xs:anyURI" use="required"/> |
| 89 |
<xs:attribute name="id" type="xs:ID"/> |
| 90 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 91 |
</xs:restriction> |
| 92 |
</xs:complexContent> |
| 93 |
</xs:complexType> |
| 94 |
|
| 95 |
<xs:complexType name="rewriteSystem"> |
| 96 |
<xs:complexContent> |
| 97 |
<xs:restriction base="xs:anyType"> |
| 98 |
<xs:attribute name="systemIdStartString" |
| 99 |
type="xs:string" |
| 100 |
use="required"/> |
| 101 |
<xs:attribute name="rewritePrefix" type="xs:string" use="required"/> |
| 102 |
<xs:attribute name="id" type="xs:ID"/> |
| 103 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 104 |
</xs:restriction> |
| 105 |
</xs:complexContent> |
| 106 |
</xs:complexType> |
| 107 |
|
| 108 |
<xs:complexType name="rewriteURI"> |
| 109 |
<xs:complexContent> |
| 110 |
<xs:restriction base="xs:anyType"> |
| 111 |
<xs:attribute name="uriStartString" |
| 112 |
type="xs:string" |
| 113 |
use="required"/> |
| 114 |
<xs:attribute name="rewritePrefix" type="xs:string" use="required"/> |
| 115 |
<xs:attribute name="id" type="xs:ID"/> |
| 116 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 117 |
</xs:restriction> |
| 118 |
</xs:complexContent> |
| 119 |
</xs:complexType> |
| 120 |
|
| 121 |
<xs:complexType name="systemSuffix"> |
| 122 |
<xs:complexContent> |
| 123 |
<xs:restriction base="xs:anyType"> |
| 124 |
<xs:attribute name="systemIdSuffix" |
| 125 |
type="xs:string" |
| 126 |
use="required"/> |
| 127 |
<xs:attribute name="uri" type="xs:anyURI" use="required"/> |
| 128 |
<xs:attribute name="id" type="xs:ID"/> |
| 129 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 130 |
</xs:restriction> |
| 131 |
</xs:complexContent> |
| 132 |
</xs:complexType> |
| 133 |
|
| 134 |
<xs:complexType name="uriSuffix"> |
| 135 |
<xs:complexContent> |
| 136 |
<xs:restriction base="xs:anyType"> |
| 137 |
<xs:attribute name="uriSuffix" |
| 138 |
type="xs:string" |
| 139 |
use="required"/> |
| 140 |
<xs:attribute name="uri" type="xs:anyURI" use="required"/> |
| 141 |
<xs:attribute name="id" type="xs:ID"/> |
| 142 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 143 |
</xs:restriction> |
| 144 |
</xs:complexContent> |
| 145 |
</xs:complexType> |
| 146 |
|
| 147 |
<xs:complexType name="delegatePublic"> |
| 148 |
<xs:complexContent> |
| 149 |
<xs:restriction base="xs:anyType"> |
| 150 |
<xs:attribute name="publicIdStartString" |
| 151 |
type="er:partialPublicIdentifier" |
| 152 |
use="required"/> |
| 153 |
<xs:attribute name="catalog" type="xs:anyURI" use="required"/> |
| 154 |
<xs:attribute name="id" type="xs:ID"/> |
| 155 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 156 |
</xs:restriction> |
| 157 |
</xs:complexContent> |
| 158 |
</xs:complexType> |
| 159 |
|
| 160 |
<xs:complexType name="delegateSystem"> |
| 161 |
<xs:complexContent> |
| 162 |
<xs:restriction base="xs:anyType"> |
| 163 |
<xs:attribute name="systemIdStartString" |
| 164 |
type="xs:string" |
| 165 |
use="required"/> |
| 166 |
<xs:attribute name="catalog" type="xs:anyURI" use="required"/> |
| 167 |
<xs:attribute name="id" type="xs:ID"/> |
| 168 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 169 |
</xs:restriction> |
| 170 |
</xs:complexContent> |
| 171 |
</xs:complexType> |
| 172 |
|
| 173 |
<xs:complexType name="delegateURI"> |
| 174 |
<xs:complexContent> |
| 175 |
<xs:restriction base="xs:anyType"> |
| 176 |
<xs:attribute name="uriStartString" |
| 177 |
type="xs:string" |
| 178 |
use="required"/> |
| 179 |
<xs:attribute name="catalog" type="xs:anyURI" use="required"/> |
| 180 |
<xs:attribute name="id" type="xs:ID"/> |
| 181 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 182 |
</xs:restriction> |
| 183 |
</xs:complexContent> |
| 184 |
</xs:complexType> |
| 185 |
|
| 186 |
<xs:complexType name="nextCatalog"> |
| 187 |
<xs:complexContent> |
| 188 |
<xs:restriction base="xs:anyType"> |
| 189 |
<xs:attribute name="catalog" type="xs:anyURI" use="required"/> |
| 190 |
<xs:attribute name="id" type="xs:ID"/> |
| 191 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 192 |
</xs:restriction> |
| 193 |
</xs:complexContent> |
| 194 |
</xs:complexType> |
| 195 |
|
| 196 |
<xs:complexType name="group"> |
| 197 |
<xs:choice minOccurs="1" maxOccurs="unbounded"> |
| 198 |
<xs:element ref="er:public"/> |
| 199 |
<xs:element ref="er:system"/> |
| 200 |
<xs:element ref="er:uri"/> |
| 201 |
<xs:element ref="er:rewriteSystem"/> |
| 202 |
<xs:element ref="er:rewriteURI"/> |
| 203 |
<xs:element ref="er:uriSuffix"/> |
| 204 |
<xs:element ref="er:systemSuffix"/> |
| 205 |
<xs:element ref="er:delegatePublic"/> |
| 206 |
<xs:element ref="er:delegateSystem"/> |
| 207 |
<xs:element ref="er:delegateURI"/> |
| 208 |
<xs:element ref="er:nextCatalog"/> |
| 209 |
<xs:any namespace="##other" processContents="skip"/> |
| 210 |
</xs:choice> |
| 211 |
<xs:attribute name="prefer" type="er:systemOrPublic"/> |
| 212 |
<xs:attribute name="id" type="xs:ID"/> |
| 213 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 214 |
</xs:complexType> |
| 215 |
|
| 216 |
<xs:element name="catalog" type="er:catalog"/> |
| 217 |
<xs:element name="public" type="er:public"/> |
| 218 |
<xs:element name="system" type="er:system"/> |
| 219 |
<xs:element name="uri" type="er:uri"/> |
| 220 |
<xs:element name="rewriteSystem" type="er:rewriteSystem"/> |
| 221 |
<xs:element name="rewriteURI" type="er:rewriteURI"/> |
| 222 |
<xs:element name="systemSuffix" type="er:systemSuffix"/> |
| 223 |
<xs:element name="uriSuffix" type="er:uriSuffix"/> |
| 224 |
<xs:element name="delegatePublic" type="er:delegatePublic"/> |
| 225 |
<xs:element name="delegateSystem" type="er:delegateSystem"/> |
| 226 |
<xs:element name="delegateURI" type="er:delegateURI"/> |
| 227 |
<xs:element name="nextCatalog" type="er:nextCatalog"/> |
| 228 |
<xs:element name="group" type="er:group"/> |
| 229 |
|
| 230 |
</xs:schema> |
| 231 |
|