W3C home > Mailing lists > Public > www-html-editor@w3.org > July to September 1999

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

From: Hans v. Sommerfeld <snoopy@redbaron.bir.uunet.de>
Date: Thu, 8 Jul 1999 19:46:11 +0200 (METDST)
Message-Id: <199907081746.TAA13576@charly.peanuts.local>
To: www-html-editor@w3.org
Cc: ij@w3.org
[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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:44 GMT