comments on the XHTML specification

1.	All three DTDs in appendix A contain the declarations:

	<!ENTITY % inline "a | %special; | %fontstyle; | %phrase; | %inline.forms;">

	<!-- %Inline; covers inline or "text-level" elements -->
	<!ENTITY % Inline "(#PCDATA | %inline; | %misc;)*">
	. . .
	<!ENTITY % block "p | %heading; | div | %lists; | %blocktext; | fieldset | table">

	<!ENTITY % Block "(%block; | form | %misc;)*">

	<!-- %Flow; mixes Block and Inline and is used for list items etc. -->
	<!ENTITY % Flow "(#PCDATA | %block; | form | %inline; | %misc;)*">

	The comment

	<!-- %Flow; mixes Block and Inline and is used for list items etc. -->

	should be rewritten as 

	<!-- %Flow; mixes block and inline and is used for list items etc. -->

	because "Block" and "block" as well as "Inline" and "inline" are different entities since entity names are case sensitive in XML.

2.	The focus parameter entity

	<!ENTITY % focus
	 "accesskey   %Character;    #IMPLIED
	  tabindex    %Number;       #IMPLIED
	  onfocus     %Script;       #IMPLIED
	  onblur      %Script;       #IMPLIED"
	  >

	is defined in all three DTDs  but it is not referenced in the "a", "area", "input", "textarea", and "button" ATTLIST declarations where all four of the above attributes occur and are defined in the same way.

3.	The "strict" DTD contains the statement

This DTD module is identified by the PUBLIC and SYSTEM identifiers:

            PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
                	SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"

For clarification I suggest that this statement be replaced by

This DTD module is Invoked by the DOCTYPE declaration:

            <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
                         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

where the system identifier should be changed to that of the installation.

I suggest similar statements for the "transitional" and "frameset " DTDs.

Donald Gignac  301-227-3348  "gignacda@nswccd.navy.mil"

Received on Thursday, 30 March 2000 09:38:40 UTC