Project

Profile

Help

Support #4911 » schemaC.xsd

Octavian Nadolu, 2021-02-17 08:20

 
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" elementFormDefault="qualified"
vc:minVersion="1.1" targetNamespace="http://www.namespace.2" xmlns:ns1="http//www.namespace.1"
xmlns:ns2="http://www.namespace.2">
<xs:import namespace="http//www.namespace.1" schemaLocation="schemaA-11.xsd"/>
<xs:include schemaLocation="SchemaB.xsd"/>
<xs:element name="root" type="ns2:ProfiledTypeB"/>
<xs:element name="s" type="ns1:Token3">
</xs:element>
<xs:complexType name="ProfiledTypeB">
<xs:complexContent>
<xs:extension base="ns2:TypeB">
<xs:assert test="ns2:child castable as ns1:Token3"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>
(3-3/3)