Linking (using embed) and XML Schema

Ronald Bourret rbourret at ito.tu-darmstadt.de
Wed Aug 4 16:47:55 BST 1999


Roger L. Costello wrote:

> Suppose that I have an XML document that is created by assembling XML
> data from various sources, using XML Link (with show="embed").  For
> example, we may create an XML document to show stock quotes, where the
> quotes are gotten from, say, three different sources.
> 
> Such a document raises interesting questions with regards to the XML
> schema for that document.  Does the schema describe the structure of the
> document *after* the embeddding process has occurred (post-embed), or,
> does the schema describe the structure of the document *before* the
> embedding process has occurred (pre-embed)?  

Interesting question.  The schema specification does not answer it.  However, it is really a question for the XLink folks, as it applies to DTDs as well as schemas. I doubt there is a simple answer, as both cases are useful.

> Another interesting question is: can we specify (in the schema?) that
> the XML parser should validate the pre-embed version versus the
> post-embed version?

Not currently.  Again, this might be a property of the link, not the schema.

-- Ron Bourret

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





More information about the Xml-dev mailing list