W3C REC HTML-4.0 24-Apr-1998 - Content model definitions

[Document]
HTML 4.0 Specification
W3C Recommendation, revised on 24-Apr-1998

[URI]
http://www.w3.org/TR/1998/REC-html40-19980424

[Download package]
html40.tgz

[File in package]
./intro/sgmltut.html

[Comments]
I don't want to look as pedantic, but for clarity of definition you should add
the '-' or 'not' operator to the content model definition description list.
Yes, you already do provide an example below the list.

3.3.3 Element declarations 
Content model definitions 


[section with suggested addition included]

<p>The content model of an element is specified with the following
syntax:

<dl>
<dt><strong>( ... )</strong>
<dd>Delimits a group.
<dt><strong>A | B</strong>
<dd>Either A or B occurs, but not both.
<dt><strong>A , B</strong>
<dd>Both A and B occur, in that order.
<dt><strong>A & B</strong>
<dd>Both A and B occur, in any order.
<dt><strong>A?</strong>
<dd>A occurs zero or one time.
<dt><strong>A*</strong>
<dd>A occurs zero or more times.
<dt><strong>A+</strong>
<dd>A occurs one or more times.

<!-- suggested addition follows: -->
<dt><strong>-(A)</strong>
<dd>The occurence of A is prohibited.
<!-- suggested addition ends. -->

</dl>


[*]
The readability of your document is really high! 
The recommended definition of HTML-4.0 is very precise and understandable.

Kind regards.

HvS
:-)

Received on Thursday, 8 July 1999 15:15:44 UTC