Appending to an XML document

Larry Watanabe LWatanab at JetForm.com
Fri Dec 10 16:22:37 GMT 1999


If a log file can't easily be represented as a well-formed XML document,
then that does indicate a problem with the spec. The XML spec does say that
it should be straigthforwardly usable; I don't think external parsed
entities are a straightforward way of doing a simple operation such as
append.

For someone who has to write a log file now with the current spec, either of
the proposed solutions should be fine (not maintaining the logfile as a
well-formed XML document or using external parsd entities).

-Larry Watanabe

> -----Original Message-----
> From:	uche.ogbuji at fourthought.com [SMTP:uche.ogbuji at fourthought.com]
> Sent:	Friday, December 10, 1999 10:41 AM
> To:	Larry Watanabe
> Cc:	'uche.ogbuji at fourthought.com'; Ingo Macherius; Ross Bleakney;
> xml-dev at ic.ac.uk
> Subject:	Re: Appending to an XML document 
> 
> > The decision to make an XML document contain just a single element is
> the
> > root of the problem. Perhaps the specification for future versions could
> > accept multiple elements in a single document. This would make
> concatenation
> > simple and has worked well in the lisp world which operates on similar
> > structures (s-expressions) both for representation of program and data.
> 
> While this may be the root of other problems, and I do not claim to vouch
> for 
> all such problems, it is _not_ the root of the particular problem in
> question. 
>  I see no reason why the log file must be a well-formed XML document.  Can
> you 
> tell me what is wrong with just treating it as an external parsed entity?
> 

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list