Project

General

Profile

« Previous | Next » 

Revision 5948

Added by Jing Tao about 13 years ago

Make the schema with included schemas valid.

View differences:

company.xsd
4 4
            xmlns="http://www.company.org"
5 5
            elementFormDefault="qualified">
6 6
    <xsd:include schemaLocation="product.xsd"/>
7
    <xsd:include schemaLocation="./worker.xsd"/>
7 8
    <xsd:element name="company">
8 9
        <xsd:complexType>
9 10
            <xsd:sequence>
11
                <xsd:element name="worker" type="workerType"
12
                             maxOccurs="unbounded"/>
10 13
                <xsd:element name="product" type="productType"
11 14
                             maxOccurs="unbounded"/>
12 15
            </xsd:sequence>

Also available in: Unified diff