W3C home > Mailing lists > Public > www-html-editor@w3.org > January to March 2004

Errata in Modularization of XHTML 1.0 SE

From: Satoshi ISHIKAWA <webmaster@satoshii.org>
Date: Thu, 19 Feb 2004 11:05:52 +0900
To: <www-html-editor@w3.org>
Message-ID: <BC5A490F.21A2%webmaster@satoshii.org>

Hi,

I've found some errors in XHTML Modularization of XHTML 1.0 SE
(Working Draft 2004-02-18) [1].


1) I think, 'html', 'head', 'title', 'style', 'base' and 'meta'
elements should have 'id' attribute. Because in XHTML 1.0 SE DTD [2],
they are defined with 'id'. But in 5. "XHTML Abstract Modules" [3],
they are defined without 'id'.


2) In 5.2. "Core Modules" [4], the Minimal Content Model of 'body'
and 'blockquote' is defined as (Heading | Block | List)*. But in
thier DTD implementation [5], thier content is ( %Block.mix; )+.
Their content can be empty, or not?


3) In 5.2.1. "Structure Module" [6], the data type of 'profile'
attribute of 'head' element is defined as 'URI', but it should be
changed as 'URIs'. Because in HTML 4.01 7.4.2 [7], 'profile' is
defined as follows:

> This attribute specifies the location of one or more meta data
> profiles, separated by white space.
<snip/>


4) In A.3. "Importing External Namespace Schema Components" [8],
"A XML Schema" and "a XML Schema" are typos of "[A]n XML Schema".


5) In examples of E.5. "Using the new DTD" [9], namespace declaration
for prefix 'xhtml:' is lacking. That is, the following declaration
is needed.

  xmlns:xhtml="http://www.w3.org/1999/xhtml"


6) In F.3.1.1 Structure Module [5], attributes of 'html' element
are declared as follows:

> <!ATTLIST %html.qname;
>        %XSI.xmlns.attib;
>        %XSI.schemaLocation.attrib;
>        %XHTML.xmlns.attrib;
>        %XSI.schemaLocation.attrib;
>        %XHTML.version.attrib;
>        %I18n.attrib;
> >

Here are two editional errors. '%XSI.xmlns.attib;' is a typo of
'XSI.xmlns.attrib;', and reference '%XSI.schemaLocation.attrib;'
is duplicated.


7) In the same section, there is the following description.

> <![%XHTML.xsi.attrs;[
> <!-- define a parameter for the XSI schemaLocation attribute -->
> <!ENTITY % XSI.schemaLocation.attrib
>      "%XSI.pfx;schemaLocation  %URI.datatype;    #IMPLIED"
> >
> ]]>
> <!ENTITY % XSI.schemaLocation.attrib "">
> 
> <!ENTITY % html.attlist  "INCLUDE" >
> <![%html.attlist;[

<snip/>

> <!-- schemaLocation attribute from XML Schema
> -->
> <!ENTITY % XSI.schemaLocation.attrib
>      "schemaLocation   %URIs.datatype;      #IMPLIED"
> >
<snip/>

The last PEDecl for 'XSI.schemaLocation.attrib' doesn't make sense,
because the first or second PEDecl is always effective.

# I think 'schemaLocation' for 'html' element type must be prefixed,
# to begin with. 


8) In G "References" [10], some reference are already replaced.
[XHTML1] is http://www.w3.org/TR/2002/REC-xhtml1-20020801/ .
[XML] is http://www.w3.org/TR/2004/REC-xml-20040204/ .
[MATHML] is http://www.w3.org/TR/2003/REC-MathML2-20031021/ .


[1] http://www.w3.org/TR/2004/WD-xhtml-modularization-20040218/
[2] http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml1-strict.dtd
[3]http://www.w3.org/TR/2004/WD-xhtml-modularization-20040218/abstract_modul
es.html#s_xhtmlmodules
[4]http://www.w3.org/TR/2004/WD-xhtml-modularization-20040218/abstract_modul
es.html#sec_5.2.
[5]http://www.w3.org/TR/2004/WD-xhtml-modularization-20040218/dtd_module_def
s.html#a_module_Structure
[6]http://www.w3.org/TR/2004/WD-xhtml-modularization-20040218/abstract_modul
es.html#s_structuremodule
[7]http://www.w3.org/TR/1999/REC-html401-19991224/struct/global.html#adef-pr
ofile
[8]http://www.w3.org/TR/2004/WD-xhtml-modularization-20040218/schema_module_
rules.html#a_import_extschemas
[9]http://www.w3.org/TR/2004/WD-xhtml-modularization-20040218/dtd_developing
.html#sec_E.5.
[10]http://www.w3.org/TR/2004/WD-xhtml-modularization-20040218/references.ht
ml

Regards,
-- 
Satoshi ISHIKAWA / webmaster@satoshii.org
http://www.satoshii.org/markup/
Received on Wednesday, 18 February 2004 21:05:54 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:52 UTC