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

Namespace conflict in XHTML 1.1 DTD

From: Elliotte Rusty Harold <elharo@metalab.unc.edu>
Date: Mon, 22 May 2000 14:45:40 -0700
Message-ID: <3929AA84.3F3FCC5C@metalab.unc.edu>
To: www-html-editor@w3.org
In the DTD for XHTML 1.1 (xhtml11.dtd)you write:

<!-- Use this URI to identify the default namespace:

         "http://www.w3.org/1999/xhtml"
-->

However a little later you give this example using a different default
namespace:

<!-- For example, if you are using XHTML 1.1 directly, use the FPI
     in the DOCTYPE declaration, with the xmlns attribute on the
     document element to identify the default namespace:

         <?xml version="1.0"?>
         <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
                               "xhtml11.dtd" >
         <html xmlns="http://www.w3.org/TR/xhtml"
                                       ^^^^

Note the conflict in the XHTML namespace. I suspect the firs tis
normative, but the second should still be fixed. 

-- 
+-----------------------+------------------------+-------------------+
| 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 Monday, 22 May 2000 14:50:26 GMT

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