[Home] [By Thread] [By Date] [Recent Entries]


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@n...
work: Michael.Kay@s... 


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member