W3C home > Mailing lists > Public > xml-dist-app@w3.org > November 2000

RE: XML within XML - includes, transcludes, whatever

From: <Noah_Mendelsohn@lotus.com>
Date: Fri, 3 Nov 2000 12:13:37 -0500
To: "S. Mike Dierken" <mike@knownow.com>
Cc: gtn@ebt.com, xml-dist-app@w3.org
Message-ID: <OFD084F612.F2763DE1-ON8525698C.005ED3FE@lotus.com>
>> We can validate those two, seperately using the idea that
> validation is basically a boolean function
>
>    validate(node, content-model)

Right.  That's exactly how XML schemas works, except that it's:

        validate(element-information-item, element-declaration)

EII is defined in the XML infoset specification, element-declaration is in 
the XML schema structures specification.  EII corresponds approximately to 
what you call a node.  Schemas can also handle the case where you want to 
validate the envelope and the content at the same time, but using separate 
schema documents to describe the intended content of the two (or more) 
different namespaces.  Thanks.

------------------------------------------------------------------------
Noah Mendelsohn                                    Voice: 1-617-693-4036
Lotus Development Corp.                            Fax: 1-617-693-8676
One Rogers Street
Cambridge, MA 02142
------------------------------------------------------------------------
Received on Friday, 3 November 2000 12:19:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:57 GMT