Circular dependency removal in xml schema
[framework/web/wrt-installer.git] / configuration / access.xsd
index 36d2937..f2404e4 100644 (file)
@@ -1,14 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <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">
-  <xs:import schemaLocation="common.xsd"/>
+  <xs:include schemaLocation="common.xsd"/>
   <!--
     Widget Access Request Policy <http://www.w3.org/TR/widgets-access/>
     requires common.rnc
   -->
   <xs:element name="access">
     <xs:complexType mixed="true">
-      <xs:attributeGroup ref="global.attrs"/>
-      <xs:attributeGroup ref="foreignAttribute"/>
+      <xs:attributeGroup ref="widgets:global.attrs"/>
+      <xs:attributeGroup ref="widgets:foreignAttribute"/>
       <xs:attribute name="origin" type="xs:string"/>
       <!-- w3c policy testcases
       <xs:attribute name="origin" use="required">
@@ -23,7 +23,7 @@
         </xs:simpleType>
       </xs:attribute>
       -->
-      <xs:attribute name="subdomains" type="data.boolean"/>
+      <xs:attribute name="subdomains" type="widgets:data.boolean"/>
     </xs:complexType>
   </xs:element>
 </xs:schema>