OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Linking a XML document to its schema

[ Lists Home | Date Index | Thread Index ]
  • From: "Didier PH Martin" <martind@netfolder.com>
  • To: "'XML Dev'" <xml-dev@ic.ac.uk>
  • Date: Wed, 24 Nov 1999 08:37:28 -0500


It would make sense to link an XML document or XML fragment to its schema
with the name space reference. For instance, if I would have the following

<mycheck xmlns="http://www.mydomain.com/MyCheckShema.xml">

.... My check content....
<theinvoice xmlns="http://www.domain.com/theinvoice.xml">
...the invoice content....
... other content ....


Then the xmlns attribute URI value would be useful to something other than
feeding XML-dev discussions.

Each fragment can be validated with its schema.
Each fragment is part of a namespace and the name space vocabulary is
defined by a schema.
Contrary with what we got in the SGML world, a document can be freely
aggregated from fragments and still be validated by a validating parser. The
aggregate does not have to centralize the knowledge about the document
Major benefit: re-use and modularity.

But maybe this is already a work in progress within W3C? If this is the
case, little Rascals, why do you let us sing "if I where a rich man..." by
hiding this secret :-)) Otherwise, may I take the liberty to make this
suggestion (I am modest enough to be sure that you already got this
suggestion from other people too).

Didier PH Martin

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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS