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

RE: Nested Documents (was: XML 2.0)

  • From: "Michael Kay" <mike@s...>
  • To: "'Richard Salz'" <rsalz@u...>
  • Date: Wed, 27 Feb 2008 09:14:45 -0000

RE:  Nested Documents (was: XML 2.0)

 > Doesn't seem like a good tradeoff just to read logfiles, especially when there's already work-arounds (which don't make the world catch on fire). 
 
I don't see how you can tell what's a good tradeoff without knowing anything about the cost of development or the cost of failure, which are both highly variable by project.
 
The right tradeoff for me on a couple of projects has been to use the workaround where log entries are added to a file containing a sequence of elements with no outer wrapper, and that file is read by referencing it as an external entity inside a document entity that serves merely to add the wrapper. That gives me as much reliability as I need (which on these projects is not that much) and more development inconvenience than I want. I could get the same level of reliability without the inconvenience if the spec allowed me to parse the unwrapped-list-of-elements directly - so the restriction in the spec is buying me nothing, therefore it can't be a good trade-off.
 
In any case, if the process writing the file fails with a disk-full error, and I want the system to be resilient to this, then surely I should deal with the disk-full exception, rather than by assuming that the failure will leave the file in an unreadable state?
 
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

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

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