RE: What is a document?
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@n... http://www.netfolder.com 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!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format