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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: Streams, protocols, documents and fragments was: RE: Documents and D

[ Lists Home | Date Index | Thread Index ]
  • From: "Borden, Jonathan" <jborden@mediaone.net>
  • To: "James Tauber" <jtauber@jtauber.com>, "'XML Dev'" <xml-dev@ic.ac.uk>
  • Date: Mon, 22 Feb 1999 23:52:15 -0500

James Tauber wrote:
>
>
> Jonathan argued by assertion that document fragments are well-formed
> documents.
> What if they are not?
>
> If the original big document (no I'm not introducing a new term
> :-)) is in a
> character encoding other than UTF-8 or UTF-16, the document fragment
> achieved by plucking out a particular element is not a legal XML document.
> It would need to have a prolog to specify the encoding or some
> other method
> to declare the same.

	You are correct. not all document fragments are well-formed documents. The
point I am trying :-) to make is that the need to consider information
streams as infinitely long 'documents' composed of 'document fragments'
which contain units of information (e.g. the stock ticker) is just an
artifact of protocols which demand that a stream contain a single document.

	Assuming, then, that one could apply prologs to a stream which is composed
of multiple document fragments, it might be possible to transmit the same
information via a stream of document fragments as via a stream of documents.
I don't currently see a need to propose an infinitely long XML document as
the solution to a problem. (that is I can solve this problem at the protocol
level).

Jonathan Borden
http://jabr.ne.mediaone.net


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 (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe 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