Home | History | Annotate | Download | only in schemas
      1 <?xml version="1.0"?>
      2 <!-- Tests xsd:any with a set of namespaces, icluding 
      3 	"##local" and "##targetNamespace". -->
      4 <xsd:schema 
      5 	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      6 	targetNamespace="http://FOO"
      7 	xmlns:foo="http://FOO">		
      8 
      9 	<xsd:element name="boo">
     10 		<xsd:complexType>
     11 			<xsd:attribute name="booAttr" type="xsd:integer" />
     12 		</xsd:complexType>
     13 	</xsd:element>
     14 
     15 	<xsd:element name="foo">
     16 		<xsd:complexType>
     17 			<xsd:sequence>
     18 				<xsd:any 
     19 					namespace="##targetNamespace http://BAR ##local" 
     20 					processContents="lax" 
     21 					maxOccurs="3"/>
     22 			</xsd:sequence>
     23 		</xsd:complexType>
     24 	</xsd:element>
     25 
     26 </xsd:schema>