[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSchema Spec Section 2.2, Draft 1

  • From: John Cowan <cowan@l...>
  • To: XML Dev <xml-dev@i...>
  • Date: Wed, 10 Jun 1998 12:17:39 -0400

Re: XSchema Spec Section 2.2
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@c...
	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@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.