XSchema Spec Section 2.2, Draft 1

Paul Prescod papresco at technologist.com
Wed Jun 10 12:48:31 BST 1998

Chris Maden wrote:
> I believe XSC:id to be redundant; by default, an attribute is assumed
> to belong to the element on which it is found.  Attributes should only
> need qualification when they're somehow foreign to the element type,
> as global attributes (like xml:lang) are.

XSC:id is for element constraint declarations, no? Are you reading a
different spec than the one I am reading?

Anyhow: when I first started using SGML, it really bothered me that
attribute constraint declarations were not buried in element type
declarations. But now I think that it is better to strictly separate them.
It should be possible to attach attributes to any list of elements
(including ALL). I think that SGML and XML had it right, and we should go
back to that way of doing it.

If we want to allow nesting of attribute constraint declarations in
element constraint declarations, it should be a short-hand for the
expanded version. 

 Paul Prescod  - http://itrc.uwaterloo.ca/~papresco

Three things are most perilous: Connectors that corrode
Unproven algorithms, and self-modifying code

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)

More information about the Xml-dev mailing list