W3C home > Mailing lists > Public > xmlschema-dev@w3.org > May 2005

RE: Multiple schemas in one document

From: Frank Gross <fg@4js.com>
Date: Tue, 10 May 2005 10:10:17 +0200
To: "Michael Kay" <mike@saxonica.com>, "'xmlschema-Dev'" <xmlschema-dev@w3.org>

Hi Michael,

  Thanks for you answer. I made a test with the Xerces-C parser, but it
complains if there is no <schema> tag as root node, so I guess I will have
to review my schema generator.


-----Original Message-----
From: xmlschema-dev-request@w3.org
[mailto:xmlschema-dev-request@w3.org]On Behalf Of Michael Kay
Sent: jeudi 5 mai 2005 10:10
To: 'Frank Gross'; 'xmlschema-Dev'
Subject: RE: Multiple schemas in one document

The spec permits it (the xs:schema element doesn't have to be the outermost
element of a document, and the definition of "schema document" is actually
an xs:schema element rather than an XML document as such). But the spec
doesn't go out of its way to encourage the practice and I'm not aware of
schema processors that enable it.

Michael Kay

> -----Original Message-----
> From: xmlschema-dev-request@w3.org
> [mailto:xmlschema-dev-request@w3.org] On Behalf Of Frank Gross
> Sent: 04 May 2005 09:41
> To: xmlschema-Dev
> Subject: Multiple schemas in one document
> Hi list,
>   I'm new to XML schema, so please excuse me if my question
> seams stupid.
> Does it exist a way to put multiple schemas (with different
> targetNamespaces) in one single document that is still considered as a
> schema and thus readable by any validator or have all schemas to be in
> separate files ???
> Regards,
> Frank GROSS.
Received on Tuesday, 10 May 2005 08:11:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:08 UTC