mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-31 13:47:30 +03:00
edc68aadf8
* xmlschemas.c: When validating a schema that includes the same file that has no targetNamespace defined an internal erro was thrown, depending on the orig namespace that should be allowed though * test/schemas/582906-* result/schemas/582906-*: 2 tests case, one where this is allowed, and one where this is forbidden
14 lines
436 B
XML
14 lines
436 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- $Id$ -->
|
|
<xs:schema xmlns="http://example.com/xml/Prog2"
|
|
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
elementFormDefault="qualified"
|
|
attributeFormDefault="unqualified"
|
|
targetNamespace="http://example.com/xml/Prog2">
|
|
|
|
<xs:include schemaLocation="582906-2-common.xsd"/>
|
|
|
|
<xs:include schemaLocation="582906-2-prog2-include.xsd"/>
|
|
|
|
</xs:schema>
|