Lists Home |
Date Index |
From: "Eddie Robertsson" <email@example.com>
> > A.) I wouldn't call ID and IDREF co-occurrence constraints but instead
> > identity constraints of which W3C XML Schema has xs:key, xs:keyref and
> > xs:unique
> Well, I guess that depends on the definition of co-occurence constraints.
> To me a co-occurence constraint is a constraint that is applied between
> different components of an XML document. With this definition identity
> constraints would be a subset of co-occurence constraints.
Another quite interesting aspect: should schemas for XML be couched in
terms of keys (database terms) or in terms of links (hypertext terms)?
To put it another way, should we be defining endpoints or the links themselves
in a schema language for XML?