Next in thread → Next in month →

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

From
Michael Kay <>
To
'John Cowan' <>, 'Elliotte Rusty Harold' <>
Date
2002-10-25T10:05:37Z
ID
<000301c27c0e$113f1b50$6401a8c0@pcukmka>
Thread
RE: [xml-dev] XML 1.1 and other specs
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: 
work: 
Next in thread → Next in month →