diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-05-03 15:29:42 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-05-03 15:29:42 (GMT) |
commit | 937cfaf1a06a4a9d0c8ba119d7ce820878ff9058 (patch) | |
tree | f7b0b1bcce9ae963a0a069eafa552350eb4ee391 /libxml2/test/schemas/anyAttr-processContents-err1_0.xsd | |
parent | 4b8453f0303492a1de2dcf854555f6429fac550e (diff) | |
download | blt-937cfaf1a06a4a9d0c8ba119d7ce820878ff9058.zip blt-937cfaf1a06a4a9d0c8ba119d7ce820878ff9058.tar.gz blt-937cfaf1a06a4a9d0c8ba119d7ce820878ff9058.tar.bz2 |
inital commit
Diffstat (limited to 'libxml2/test/schemas/anyAttr-processContents-err1_0.xsd')
-rw-r--r-- | libxml2/test/schemas/anyAttr-processContents-err1_0.xsd | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/libxml2/test/schemas/anyAttr-processContents-err1_0.xsd b/libxml2/test/schemas/anyAttr-processContents-err1_0.xsd new file mode 100644 index 0000000..cc2a0fd --- /dev/null +++ b/libxml2/test/schemas/anyAttr-processContents-err1_0.xsd @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<xsd:schema xmlns:foo="http://FOO" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" + targetNamespace="http://FOO"> + + <xsd:element name="foo"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="elem.lax" type="foo:type.lax"/> + <xsd:element name="elem.strict" type="foo:type.strict"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:attribute name="bar" type="xsd:language" /> + + <xsd:complexType name="type.lax"> + <xsd:anyAttribute namespace="##any" processContents="lax"/> + </xsd:complexType> + <xsd:complexType name="type.strict"> + <xsd:anyAttribute namespace="##any" processContents="strict"/> + </xsd:complexType> + +</xsd:schema> + |