Re: SOM

----- Original Message -----
From: "David Valera" <dvalera@pcl-hage.nl>
To: <xmlschema-dev@w3.org>
Sent: Thursday, December 14, 2000 6:21 AM
Subject: RE: SOM


> > Sorry to jump in at the end of this thread, I've been otherwise
> > occupied for the last few days, but this is too misleading to go
> > unchallenged: an XML Schema is _not_ an XML file.
>
> I got scared when I saw this...
>
> > One schema may
> > correspond to many schema documents, they are _not_ the same thing,
> > and cannot be made so.  Schemas involving more than one namespace are
> > of necessity represented by at least a pair of schema documents.
>
> But now I can relax. :-)

[MJG]
I may be about to frighten you again...

If you represent your schema as a schema document then if that schema
involves two namespaces then you will need ( at least ) two schema
documents, one for each namespace. However, the XML Schema spec does *not*
require that a schema *ever* be represented in an XML document. In fact it
is very careful to *never* state that you must represent XML Schemas as XML.
People are at liberty to construct a set of schema components from *any*
source. For example, some people are already generating XML schema
components from a database schema, others are generating schema components
from Java classes, etc...

Martin Gudgin
DevelopMentor

Received on Thursday, 14 December 2000 15:53:07 UTC