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


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] XML 1.1 and other specs

[ Lists Home | Date Index | Thread Index ]

John Cowan:
> If the Infoset were an API, I would absolutely agree with 
> you.  The DOM
> *is* an API, and has the same lack of rules, which is one 
> reason why it's a poor API, as we both know.  But the Infoset 
> is only an abstract data model, and it doesn't need to 
> enforce well-formedness rules.  It's just a way of talking 
> about what it is that concrete APIs and other processes have 
> or make available.

A good abstract data model would certainly define a set of integrity
constraints, and I would expect a good abstract data model for XML to
include constraints such as "an element cannot have two attributes with
the same name".

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com 


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

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