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"/>
5 Widget Access Request Policy <http://www.w3.org/TR/widgets-access/>
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">
16 <xs:union memberTypes="xs:anyURI">
18 <xs:restriction base="xs:string">
19 <xs:enumeration value="*"/>
26 <xs:attribute name="subdomains" type="widgets:data.boolean"/>