Circular dependency removal in xml schema
[framework/web/wrt-installer.git] / configuration / access.xsd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.w3.org/ns/widgets" xmlns:widgets="http://www.w3.org/ns/widgets">
3   <xs:include schemaLocation="common.xsd"/>
4   <!--
5     Widget Access Request Policy <http://www.w3.org/TR/widgets-access/>
6     requires common.rnc
7   -->
8   <xs:element name="access">
9     <xs:complexType mixed="true">
10       <xs:attributeGroup ref="widgets:global.attrs"/>
11       <xs:attributeGroup ref="widgets:foreignAttribute"/>
12       <xs:attribute name="origin" type="xs:string"/>
13       <!-- w3c policy testcases
14       <xs:attribute name="origin" use="required">
15         <xs:simpleType>
16           <xs:union memberTypes="xs:anyURI">
17             <xs:simpleType>
18               <xs:restriction base="xs:string">
19                 <xs:enumeration value="*"/>
20               </xs:restriction>
21             </xs:simpleType>
22           </xs:union>
23         </xs:simpleType>
24       </xs:attribute>
25       -->
26       <xs:attribute name="subdomains" type="widgets:data.boolean"/>
27     </xs:complexType>
28   </xs:element>
29 </xs:schema>