Linking a XML document to its schema

Julian Reschke reschke at
Thu Nov 25 10:36:40 GMT 1999

> From: owner-xml-dev at [mailto:owner-xml-dev at]On Behalf Of
> Don Park
> Sent: Thursday, November 25, 1999 10:25 AM
> To: 'XML Dev'
> Subject: RE: Linking a XML document to its schema
> >But then -- if you do not associate the schema with a
> >namespace -- how do you mix elements from different
> >namespaces / schemas in one document without breaking
> >validation?
> Julian,
> I do not see the problem you are describing.  Care to
> elaborate with an example?

Maybe I have misunderstood something...

My understanding is that namespaces are here to give us the power to mix
different vocabularies within one XML document, for instance mixing XSL
statements with HTML output in a stylesheet.

An XML schema (again, my understanding) defines rules how a validating XML
parser can validate constraints on the document structure. If an element
content is "open", I am free to add other elements, in particular elements
from a different namespace. For instance, xsl:template might have an open
content model and allow to insert any kind of tags, for example a
<html:title>. However the title tag itself can only contain character data
(I guess :-).

So it seems it is best to have one XML schema reference per namespace that
is in use in the document, right? My impression was that this wouldn't work
with the proposal you made...

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list