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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: XSchema Spec Section 2.2, Draft 1

[ Lists Home | Date Index | Thread Index ]
  • From: John Cowan <cowan@locke.ccil.org>
  • To: XML Dev <xml-dev@ic.ac.uk>
  • Date: Wed, 10 Jun 1998 12:17:39 -0400

Paul Prescod wrote:

> 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.

I assume this is an error for "SGML had it right".  In XML, there
is no reason to assume that the "id ID #IMPLIED" attribute in one
element has anything to do with the "id ID #IMPLIED" attribute
in another.  There is no way of declaring in XML DTDs that two
elements have the *very same* attribute, only that they have
attributes that agree in name and type.  XML DTDs do not reify

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

I disagree.  I am willing to accept a shorthand, either by way
of general entities in XSchemas or otherwise, for copying
attribute declarations from one element to another by way of
shorthand, but not for reifying attributes independently of the
elements they are attached to.

Perhaps the practical result would be the same, but the theoretical
implications are very different.
John Cowan	http://www.ccil.org/~cowan		cowan@ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)

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


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

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