More structure comments

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 UTC