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

RE: Appending to an XML document

  • From: Walter Underwood <wunder@i...>
  • To: xml-dev@i...
  • Date: Fri, 10 Dec 1999 14:52:24 -0800

appending xml data logfile
At 11:09 AM 12/10/99 -0500, Larry Watanabe wrote:
>
>If a log file can't easily be represented as a well-formed XML document,
>then that does indicate a problem with the spec.

Well, time series data (a logfile) isn't normalizable in the 
relational model, so there's a problem with the SQL spec, too. 
And I'm having a lot of trouble accessing my meatloaf with my 
SCSI bus, so let's fix that while we're at it.

Seriously, I think it is good that XML documents have a 
definate end. But the logfile problem can be solved in
two (near-)standard ways.

1) Treat the logfile as an XML Fragment (see proposal at W3C).
   An XML Fragment needs to be "well-balanced", but doesn't have
   to have a single root element.

2) Treat the logfile as a series of XML documents, each of 
   which is a log record. They could be separated by formfeed
   (a character illegal inside an XML document). Since the
   the XML declaration is technically optional, it could be
   omitted.

But nobody every made representing logfiles a requirement
for a markup language. It is usually far more important that
logfiles are compact and are readable if the program crashes
(or the disk fills) when a record is partly-written.

wunder
--
Walter R. Underwood
Senior Staff Engineer
Infoseek Software
GO Network, part of The Walt Disney Company
wunder@i...
http://software.infoseek.com/cce/ (my product)
http://www.best.com/~wunder/
1-408-543-6946

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.