Error in XHTML-1.0-Strict DTD

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 UTC