|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Streams, protocols, documents and fragments was: RE: Documents and D
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@i... 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@i... the following message; (un)subscribe 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
|
|||||||||

Cart








