mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-29 11:21:26 +03:00
9efc476bb6
* xmlregexp.c xmlschemas.c include/libxml/xmlautomata.h: fixing bug #172215 about foreign namespaces by adding support for negated string transitions. Error messages still need to be improved. * test/schemas/any5* result/schemas/any5*: adding regression tests for this. Daniel
15 lines
409 B
XML
15 lines
409 B
XML
<?xml version="1.0"?>
|
|
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
targetNamespace="urn:test:foo"
|
|
elementFormDefault="qualified">
|
|
<xsd:element name="foo">
|
|
<xsd:complexType>
|
|
<xsd:sequence>
|
|
<xsd:element name="boo"/>
|
|
<xsd:any namespace="##other" maxOccurs="5" processContents="lax"/>
|
|
<xsd:element name="boo"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
</xsd:element>
|
|
</xsd:schema>
|