W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 1999

More structure comments

From: Arnold, Curt <Curt.Arnold@hyprotech.com>
Date: Thu, 1 Jul 1999 09:36:34 -0600
Message-ID: <61DAD58E8F4ED211AC8400A0C9B468731AADED@THOR>
To: "'www-xml-schema-comments@w3.org'" <www-xml-schema-comments@w3.org>
1. It seems to be superfluous to have an minOccur and maxOccur on modelGroup
as modelGroup can only appear immediately as the child of the schema and
modelGroupRef has a minOccur and maxOccur.  When generating a DTD from a
schema, the repeat counts of a modelGroup could not be put into the entity
declaration (in chance it conflicted with the repeat counts of a reference),
so there would not be an equivalence of the modelGroup and the entity.

2. It would be useful in the eventual documentation section that the Ref
tags (dataTypeRef, elementTypeRef, entityRef, notationRef,modelGroupRef,
attrGroupRef) allowed string content (current empty).  The use would be
something like

The <datatypeRef name="integer">integer</datatypeRef> is used by many
attributes of the <elementTypeRef
name="CountingToTen">CountingToTen</elementTypeRef> element.

It would be useful to have an element that represents a reference to an
attribute.  Unfortunately, there is not an unambiguous way in the current
draft to reference an attribute.

If this is allowed, then the <fixed> and <default> content of datatypeRef
need to be moved to <elementType> and <attrDecl>
Received on Thursday, 1 July 1999 13:02:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:46 GMT