[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: What is the reasoning why a well-formed XML text cannot have multipl

  • From: Tim Bray <tbray@t...>
  • To: "Clark C. Evans" <clark.evans@m...>, xml-dev@i...
  • Date: Sun, 19 Dec 1999 20:30:38 -0800

what is reasoning
At 10:15 AM 12/19/99 -0500, Clark C. Evans wrote:
>It just seems that two domains, log files and continuous 
>broadcasts are left out in the cold with this seemingly
>arbitrary choice.  So, I'm looking for answers *other*
>than the following:

Both logfiles and continuous broadcasts work just fine, simply send
a series of small XML documents rather than try to pretend the whole
logfile is one parsable object.  Which is arguably better design anyhow;
to start with, among other things you can validate each record; in 
principle you can't validate a doc until you've read it all.

I've always thought the single-root-element idea was a good one for
networked apps simply because it allows you to know unambiguously when
you're done receiving useful data, and don't have to rely the programmer
at the other end closing the socket, and the connection teardown time,
and so on.

But the real reason XML was done that way was becasuse it was one of
the things inherited from SGML that nobody ever asked to have changed.
Really, I don't recall a single word on that subject at the time. -Tim

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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.