trunk/resources/tests/dom3/Core/files/datatype_normalization2.svg.xsd
changeset 0 5057afe1ec87
equal deleted inserted replaced
-1:000000000000 0:5057afe1ec87
       
     1 <!--
       
     2 
       
     3 Copyright (c) 2001-2004 World Wide Web Consortium, 
       
     4 (Massachusetts Institute of Technology, Institut National de
       
     5 Recherche en Informatique et en Automatique, Keio University).  All 
       
     6 Rights Reserved.  This program is distributed under the W3C's Software
       
     7 Intellectual Property License.  This program is distributed in the 
       
     8 hope that it will be useful, but WITHOUT ANY WARRANTY; without even
       
     9 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
       
    10 PURPOSE.  
       
    11 
       
    12 See W3C License http://www.w3.org/Consortium/Legal/ for more details.
       
    13 
       
    14 -->
       
    15 
       
    16 <!--
       
    17 
       
    18 This schema is attempts to use every construct that could
       
    19 be interrogated by DOM Level 3 and is no way intended to
       
    20 be a general purpose schema for SVG  
       
    21 
       
    22 -->
       
    23 
       
    24 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
       
    25 	targetNamespace="http://www.w3.org/2000/svg"
       
    26 	xmlns="http://www.w3.org/2000/svg"
       
    27 	xmlns:xhtml="http://www.w3.org/1999/xhtml">
       
    28 
       
    29   <xsd:import namespace="http://www.w3.org/1999/xhtml" schemaLocation="datatype_normalization2.xsd"/>
       
    30 
       
    31   <xsd:element name="svg">
       
    32   	 <xsd:complexType>
       
    33   	 	<xsd:sequence>
       
    34   	 		<xsd:element ref="rect"/>
       
    35   	 		<xsd:element ref="script"/>
       
    36   	 		<xsd:element ref="xhtml:body"/>
       
    37   	 	</xsd:sequence>
       
    38   	 </xsd:complexType>
       
    39   </xsd:element>
       
    40   
       
    41   <xsd:element name="rect">
       
    42   	<xsd:complexType>
       
    43   		<xsd:attribute name="x" type="xsd:double" use="required"/>
       
    44   		<xsd:attribute name="y" type="xsd:double" use="required"/>
       
    45   		<xsd:attribute name="height" type="xsd:double" use="required"/>
       
    46   		<xsd:attribute name="width" type="xsd:double" use="required"/>
       
    47   	</xsd:complexType>
       
    48   </xsd:element>
       
    49   
       
    50   <xsd:element name="script">
       
    51   	<xsd:complexType>
       
    52   		<xsd:simpleContent>
       
    53   			<xsd:extension base="xsd:string">
       
    54   				<xsd:attribute name="type" type="xsd:string" use="required"/>
       
    55   			</xsd:extension>
       
    56   		</xsd:simpleContent>
       
    57   	</xsd:complexType>
       
    58   </xsd:element>
       
    59   			
       
    60 </xsd:schema>