Daniel Veillard | c0826a7 | 2004-08-10 14:17:33 +0000 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <!-- Tests xsd:any with "##any". --> |
| 3 | <xsd:schema |
| 4 | xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
| 5 | targetNamespace="http://FOO" |
| 6 | xmlns:foo="http://FOO"> |
| 7 | |
| 8 | <xsd:element name="boo"> |
| 9 | <xsd:complexType> |
| 10 | <xsd:attribute name="booAttr" type="xsd:integer" /> |
| 11 | </xsd:complexType> |
| 12 | </xsd:element> |
| 13 | |
| 14 | <xsd:element name="foo"> |
| 15 | <xsd:complexType> |
| 16 | <xsd:sequence> |
| 17 | <xsd:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="3"/> |
| 18 | </xsd:sequence> |
| 19 | </xsd:complexType> |
| 20 | </xsd:element> |
| 21 | |
| 22 | </xsd:schema> |