OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Appending to an XML document

[ Lists Home | Date Index | Thread Index ]
  • From: "Ingo Macherius" <macherius@darmstadt.gmd.de>
  • To: uche.ogbuji@fourthought.com
  • Date: Fri, 10 Dec 1999 17:29:40 +0100

Uche,

using entities of any kind does not change the underlying data model. 
It's syntactic shugar, nothing more. The root of the problem (and a 
great help in other cases) is indeed the fact that any XML 1.0 
document must have a single root.

There are several fields where this is assumend a problem, just think 
e.g. of the return values of XPath or XQL expression, which rarely 
are single-rooted. Think how often you have heared the term "virtual 
root node" recently. Think of Murata's "forest automata". Forest, not 
tree. Guess why.

However, plainly dropping the tree structure of XML is too hasty. The 
main problem here is the fact that there is not much between a tree 
and a general DAG (graph). Oodles of folks are in search for a 
convenient data model just in the middle of tree and graph. This 
would help to truly merge hyperlinks, RDF and XML. Check 
http://www.w3.org/TR/schema-arch

Thus: entities are truely no soulution. However, so far nobody 
succeded in suggesting a "true" non-tree data model for XML.

	++im

uche.ogbuji@fourthought.com <uche.ogbuji@fourthought.com> wrote at 10 Dec 99, 8:41:

> > The decision to make an XML document contain just a single element is the
> > root of the problem.
> 
> 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 

--
Ingo Macherius//Dolivostrasse 15//D-64293 Darmstadt//+49-6151-869-882
GMD-IPSI German National Research Center for Information Technology
mailto:macherius@gmd.de http://www.darmstadt.gmd.de/~inim/
Information!=Knowledge!=Wisdom!=Truth!=Beauty!=Love!=Music==BEST (Zappa)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@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@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS