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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: What is a document?

[ Lists Home | Date Index | Thread Index ]
  • From: "Didier PH Martin" <martind@netfolder.com>
  • To: "'XML Dev'" <xml-dev@ic.ac.uk>,"Mark Birbeck" <Mark.Birbeck@iedigital.net>
  • Date: Mon, 22 Nov 1999 22:00:24 -0500

Hi Mark,

Didier PH Martin wrote:
> Didier reply:
> Yes mark, if we got the notion of scope for rendition it
> would be a lot
> easier to assemble fragment/documents into a whole. Obviously, each
> assembled part would have to take into account that it is
> included in a
> whole for rendition (i.e like an HTML+CSS document for
> example).

Mark said:
I wouldn't impose such a limitation myself. Why should the fragment
'know' anything about its container? (If I understand you correctly -
and apologies if I don't.) Provided it has its namespace declaration
then it can in theory exist in any container that will have it.

Didier reply:
It didn't meant that the fragment has to be semantically aware of the
container but more that the associated style sheet (the style sheet
associated to the fragment) has to be aware of the global context. For
instance, will only provide rendition instructions for the fragment.

Mark said:
In fact, with RDF you could just wrap some XML in a CDATA tag and bung
it in a description. Or you can place it in a BizTalk 'envelope', or you
can use MIME, or even package it up with headers and send it through
HTTP/WebDAV. Each of these has different notions of validity. RDF or
BizTalk (or XML Fragment Interchange) require that the containing
document is well-formed XML with its contained object(s). But a
PROPPATCH in WebDAV requires that the containing document is well-formed
HTTP (plus a bit), and the document describing the elements being
patched are well-formed XML. So we have different notions of
'correctness' with different transports.

So, we have the notion of a document that we need to transport, and it
has its own requirements as to well-formedness, validity, etc. And then
we have the transport mechanism which has its own means of communicating
errors, etc.. And in some situations XML will be used as the transport
mechanism - as with BizTalk - but I don't think it should logically be
treated any different to other transport mechanisms. (Of course it's
handy to have it as XML because we can use all our other tools to handle
transport.)

Didier reply:
I agree

Cheers
Didier PH Martin
mailto:martind@netfolder.com
http://www.netfolder.com


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