W3C home > Mailing lists > Public > www-html-editor@w3.org > April to June 2002

Error in XHTML-1.0-Strict DTD

From: Chris Gray <cpgray@library.uwaterloo.ca>
Date: Mon, 22 Apr 2002 11:30:00 +0900 (JST)
Message-Id: <20020422.113000.59482803.mimasa@w3.org>
To: www-html-editor@w3.org
There are two ways in which the pre.content does not correspond to what
the comment describes.


<!-- pre uses %Inline excluding img, object, big, small, sup or sup -->

<!ENTITY % pre.content
   "(#PCDATA | a | br | span | bdo | map | tt | i | b |
      %phrase; | %inline.forms;)*">


Since %pre.content; contains %phrase; which in turn includes sup and sup
the DTD doesn't exclude sup or sub within pre.

Also %misc; is not included in %pre.content; which is included in %Inline;

Chris Gray
Library Systems
University of Waterloo
Received on Sunday, 21 April 2002 22:30:05 GMT

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