diff options
Diffstat (limited to 'test/schemas/any2_0.xsd')
-rw-r--r-- | test/schemas/any2_0.xsd | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/test/schemas/any2_0.xsd b/test/schemas/any2_0.xsd new file mode 100644 index 0000000..2bf726e --- /dev/null +++ b/test/schemas/any2_0.xsd @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<!-- Tests xsd:any with a set of namespaces, icluding + "##local" and "##targetNamespace". --> +<xsd:schema + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://FOO" + xmlns:foo="http://FOO"> + + <xsd:element name="boo"> + <xsd:complexType> + <xsd:attribute name="booAttr" type="xsd:integer" /> + </xsd:complexType> + </xsd:element> + + <xsd:element name="foo"> + <xsd:complexType> + <xsd:sequence> + <xsd:any + namespace="##targetNamespace http://BAR ##local" + processContents="lax" + maxOccurs="3"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + +</xsd:schema>
\ No newline at end of file |