[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Linking a XML document to its schema

  • From: "Julian Reschke" <reschke@m...>
  • To: "Didier PH Martin" <martind@n...>,"'XML Dev'" <xml-dev@i...>
  • Date: Wed, 24 Nov 1999 15:25:51 +0100

RE: Linking a XML document to its schema

> From: owner-xml-dev@i... [mailto:owner-xml-dev@i...]On Behalf Of
> Didier PH Martin
> Sent: Wednesday, November 24, 1999 2:37 PM
> To: 'XML Dev'
> Subject: Linking a XML document to its schema
>
>
> Hi,
>
> 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
> document:
>
> <mycheck xmlns="http://www.mydomain.com/MyCheckShema.xml">
>
> .... My check content....
> <theinvoice xmlns="http://www.domain.com/theinvoice.xml">
> ...the invoice content....
> <theinvoice>
> ... other content ....
>
> </mycheck>
>
> Then the xmlns attribute URI value would be useful to something other than
> feeding XML-dev discussions.
>
> Benefits:
> ---------
> 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
> structure.
> 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).

Nice proposal.

And it's even backed by Microsoft (see MSXML behaviour).



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



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.