W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2002

Can a schema be validated against another schema

From: Piccand Régis <regis.piccand@imtf.ch>
Date: Wed, 2 Jan 2002 15:40:51 +0100
Message-ID: <DF7EC83D7AFBD411965B0008C7596EC53ED4B9@imtfexchange.imtf.ch>
To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
Hi Schema gurus,
 
I would like to know if a schema can be validated against another schema, as
with XML files ?
 
If not, I guess I'm doing something wrong ... Here is what I'm trying to
achieve :
 
A high-level schema defines what could be a document type as follows :
 
<?xml version="1.0" encoding="ISO-8859-1"?><xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:include schemaLocation="D:\projects\eDoc\MDED.xsd"/>

<xs:complexType name="Document">

<xs:sequence maxOccurs="unbounded">

<xs:element name="Element" type="MetaDataElement"/>

</xs:sequence>

</xs:complexType>

</xs:schema>

 
Received on Wednesday, 2 January 2002 09:47:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:26 GMT