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

RE: Nested Documents (was: XML 2.0)

  • From: "Johnson, Matthew C. (LNG-ALB)" <Matthew.C.Johnson@l...>
  • To: <xml-dev@l...>
  • Date: Fri, 29 Feb 2008 08:32:26 -0500

RE:  Nested Documents (was: XML 2.0)
Perhaps it is bizarre.  This note here is all redundant information (to
some extent) but I couldn't tell whether your comment it out of
disagreement or out of frustration that it seems that a step backward is
being taken.  If it's the latter, then skip this message.

However, I don't think I've heard a good solution on how to ensure that
you have everything.  Yes, it's a good idea to want the network to
ensure delivery of everything but I don't think XML is tied to protocols
that guarantee delivery.  By allowing multiple root elements, either the
network needs to guarantee delivery or the something in the content
needs to indicate either the number of root elements (an extension of
the prolog as already suggested by someone) or by indicating the end of
the stream.  If XML 2.0 (or whatever version) supports multiple roots,
it seems that it should also support a mechanism to indicate this.

The logfile use case is a great one.  But I would be pretty upset if a
hospital record got dropped.  Or in the environment I work in, it would
not be a good thing if I couldn't guarantee that a caselaw document
didn't get dropped.  I don't know the actual likelihood that the network
would fail right in between two root elements but it's a situation that
should be considered...shouldn't it?

Matt




-----Original Message-----
From: Michael Kay [mailto:mike@s...] 
Sent: Friday, February 29, 2008 4:29 AM
To: Johnson, Matthew C. (LNG-ALB); xml-dev@l...
Subject: RE:  Nested Documents (was: XML 2.0)

> I like the idea of the 
> processing instruction.  Although it seems that it should be 
> a standardized one (e.g. <?xml:docclosed ...?>) that all 
> parsers can look for. 

I'm afraid I find this all completely bizarre. I thought the days when
you
put "****" at the end of a data file because you couldn't rely on the
I/O
system reporting that you'd hit the end of your reel of paper tape were
gone
about 40 years ago.

Michael Kay
http://www.saxonica.com/



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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-2011 All Rights Reserved.