ff4ff35918
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
36 lines
1.0 KiB
XML
36 lines
1.0 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
Content model error:
|
|
|
|
any-err-not-determinist-1.xsd:29: element complexType: Schemas parser error :
|
|
local complex type: The content model is not determinist.
|
|
|
|
As per Xerces and XSV this schema is OK.
|
|
|
|
The problem appears when the maxOccurs of <bar> is greater than
|
|
the one of the <any> wildcard. Additionally if both are "unbounded".
|
|
If the latter is a different issue we should add an explicit test
|
|
for it.
|
|
|
|
Examples:
|
|
<bar> <any> result
|
|
2 1 error
|
|
2 2 OK
|
|
1 2 OK
|
|
unbounded 2 error
|
|
unbounded unbounded error
|
|
2 unbounded OK
|
|
-->
|
|
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
targetNamespace="urn:test:foo"
|
|
elementFormDefault="qualified">
|
|
<xs:element name="foo">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="bar" maxOccurs="2"/>
|
|
<xs:any namespace="##other" maxOccurs="1" processContents="lax"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:schema> |