W3C home > Mailing lists > Public > www-html-editor@w3.org > October to December 2002

Subtle conformance problem for attributes in Modularization of XHTML

From: Elliotte Rusty Harold <elharo@metalab.unc.edu>
Date: Sun, 8 Dec 2002 16:22:02 -0500
Message-Id: <p04330104ba1967711886@[192.168.254.4]>
To: www-html-editor@w3.org

Rule 5 of section 3.1, XHTML Host Language Document Type Conformance, states:

    5. The DTD which defines the document type may define additional 
elements and attributes. However, these must be in their own XML 
namespace [XMLNAMES].

Rule 5 of section 3.2, 3.2. XHTML Integration Set Document Type 
Conformance, is essentially identical.

This unfairly groups all attributes together as needing to be in a 
namespace. This makes it impossible, for example, to integrate MathML 
or SVG with XHTML in a conformant way because they use unqualified 
attributes in no namespace.

This should be rewritten (as I suspect was the original intention) so 
that only attributes added to existing XHTML elements such as tr and 
div need to be qualified. However, it should be clear that attributes 
of elements from other namespaces do not need to be qualified. 
Language like the following might work:

The DTD which defines the document type may define additional 
elements and attributes. However, additional elements must be in 
their own XML namespace [XMLNAMES]. Furthermore, additional 
attributes of XHTML elements must also  be in their own XML namespace.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          XML in a  Nutshell, 2nd Edition (O'Reilly, 2002)          |
|              http://www.cafeconleche.org/books/xian2/              |
|  http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/  |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+
Received on Sunday, 8 December 2002 16:24:24 GMT

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