- From: <jaf@it.uc3m.es>
- Date: Wed, 19 Sep 2007 10:53:40 -0500
- To: public-xhtml2@w3.org
- CC: voyager-issues@mn.aptest.com
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
--1973641611-1620904720-1189855782=:6181
Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1; FORMAT=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-ID: <Pine.LNX.4.62.0709151333131.6181@ariadna.it.uc3m.es>
Hello,
I've found that the DTD of XHTML Basic 1.1 declares de hr element, but it=
=20
doesn't appear in the content model of any element, and therefore it=20
cannot be used. A detailed explanation follows.
All the information bellow is based on the revision:
http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd
Revision: $Id: xhtml-basic11.dtd,v 1.1 2007/07/20 15:00:12 jules Exp $
The XHTML DTD includes the "Presentation Module" which declares the=20
element "hr". See:
http://www.w3.org/MarkUp/DTD/xhtml-pres-1.mod=20
http://www.w3.org/MarkUp/DTD/xhtml-blkpres-1.mod
However, "hr" isn't in the content model of any element. For example, it=20
isn't in the content model of the element "body". The element "body" is=20
declared as:
(from http://www.w3.org/MarkUp/DTD/xhtml-struct-1.mod)
<!ENTITY % body.content
"( %Block.mix; )+"
>
<!ELEMENT %body.qname; %body.content; >
The entity Block.mix is declared as:
(from http://www.w3.org/MarkUp/DTD/xhtml-basic11-model-1.mod)
<!ENTITY % Block.mix
"%Heading.class;
| %List.class;
| %Block.class;
%Misc.class;"
>
You can check that "hr" is not declared in any of these entities as it=20
should.
If it helps, the following web site maintained by me shows the information=
=20
of the DTD in a more human-friednly way. All the information was=20
extracted automatically from the DTD available today (Sep 15 2007):
http://www.it.uc3m.es/jaf/xhtmlpedia/basic-1.1/
http://www.it.uc3m.es/jaf/xhtmlpedia/basic-1.1/element-body.html
http://www.it.uc3m.es/jaf/xhtmlpedia/basic-1.1/element-hr.html
Regards,
Jes=FAs Arias Fisteus
Universidad Carlos III de Madrid (Spain)
--1973641611-1620904720-1189855782=:6181--
Received on Wednesday, 19 September 2007 15:55:09 UTC