RE: Multiple schemas in one document

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.

Frank.


-----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
http://www.saxonica.com/


> -----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