Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] XML-aware programming language?

From: Burak Emir <Burak.Emir@----.-->
To: Elliotte Harold <elharo@-------.---.--->
Date: 12/2/2004 2:24:00 PM
Elliotte Harold wrote:

> There are many different possible tree models for XML. The deeper you 
> look the more differences you find between DOM, the XML Infoset, XPath 
> 1.0, XPath 2.0, and other tree-based data models. But it doesn't stop 
> there. There are non-tree-based models of XML documents, and these may 
> also be profitably used in the right circumstances. XML is defined 
> such that it is possible to represent a well-formed document as a 
> tree. It is by no means necessary to do so.
>
Well, the thread is on XML-aware programming languages, and every such 
thing needs to define a data model.

No language designer can seriously claim that his language is the right 
one for all circumstances.

But, to process XML in a program, you can never do without the tree view.

> SAX exposes probably the most popular non-tree model, but it's hardly 
> the only one. Indeed there are non-event, non-tree models as well. Some 

Aha, event-based and in which order are the events called?

> people have shredded XML documents into relational tables. That works 
> too. None of these models are more correct than any of the others. 
> It's simply a question of which is most useful for the problem at hand 
> given the available tools.

But tools bring you only this far, and a programming language is 
providing more coherence than using a set of ill-matching tools. At 
least that is the assumption under which to design an XML aware 
programming language, and I find it valid.

regards,
Burak Emir

http://lamp.epfl.ch/~buraq


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent