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

Error in comment in qualified names modules of http://www.w3.org/TR/xhtml-modularization/

From: Elliotte Rusty Harold <elharo@metalab.unc.edu>
Date: Fri, 18 May 2001 11:29:46 -0700
Message-ID: <3B056A1A.F8C31A45@metalab.unc.edu>
To: www-html-editor@w3.org
There's a copy-and-paste error at line 107 of
http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-qname-1.mod
Fortunately this only affects a comment. The affected code is this:

<!-- Declare a parameter entity %NS.decl.attrib; containing all
     XML namespace declaration attributes used by XHTML, including
     a default xmlns attribute when prefixing is inactive.
-->
<![%XHTML.prefixed;[
<!ENTITY % XHTML.xmlns.attrib
     "%NS.decl.attrib;
      %XLINK.xmlns.attrib;"
>
]]>


If you look you'll notice that the entity being declared here is
actually %XHTML.xmlns.attrib;. NOT %NS.decl.attrib; as erroneously
claimed in the comment. That entity is used here but was decalred
earlier. 

Furthermore the rest of the comment really describes %NS.decl.attrib;,
not %XHTML.xmlns.attrib;. I suggest changing that comment to something
like this:

<!-- Declare a parameter entity %XHTML.xmlns.attrib; containing all
     XML namespace declaration attributes used by XHTML, including
     a default xmlns attribute when prefixing is inactive,
     and any declarations of XLink attributes.
-->

-- 
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+ 
|               Java I/O (O'Reilly & Associates, 1999)               |
|            http://metalab.unc.edu/javafaq/books/javaio/            |
|   http://www.amazon.com/exec/obidos/ISBN=1565924851/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://metalab.unc.edu/javafaq/ | 
|  Read Cafe con Leche for XML News: http://metalab.unc.edu/xml/     |
+----------------------------------+---------------------------------+
Received on Friday, 18 May 2001 11:36:50 GMT

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