mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-31 13:47:30 +03:00
ba70cc0de7
* tree.c: Changed xmlSearchNsByHref to call xmlNsInScope with the prefix instead of the namespace name. * test/schemas/annot-err_0.xsd test/schemas/element-err_0.xsd: Adapted invalid values of the "id" attribute, since they are validated now.
22 lines
680 B
XML
22 lines
680 B
XML
<?xml version="1.0"?>
|
|
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
targetNamespace="http://FOO"
|
|
xmlns:goo="http://GOO"
|
|
xmlns:but="http://BUT">
|
|
<xsd:element name="foo" xml:lang="hhh">
|
|
<xsd:annotation id="id1" death="is a good entertainer" but:such="is life">
|
|
I shouldn't do this here...
|
|
<xsd:appinfo id="id2" source="somewhere"
|
|
goo:fun="bag" fun="another fun-bag">
|
|
weeelll
|
|
</xsd:appinfo>
|
|
<xsd:documentation xml:lang="*" id="id3" source="anywhere"
|
|
goo:mothers="of invention" mothers="don't do your dishes">
|
|
hmmmmmm
|
|
</xsd:documentation>
|
|
...and here as well - more than ever
|
|
</xsd:annotation>
|
|
</xsd:element>
|
|
|
|
</xsd:schema>
|