W3C home > Mailing lists > Public > www-html@w3.org > January 2002

XHTML 1.1 with namespaces enabled?

From: Alexander J. Vincent <jscript@pacbell.net>
Date: Tue, 29 Jan 2002 22:38:30 -0800
To: www-html@w3.org
Message-id: <3C5794E6.3000405@pacbell.net>
I've been wrestling for the last several hours over a conceptual 
barrier.  I have a document which is valid XML, but technically is not 
XHTML 1.1.  The doctype tag forces activation of the html: namespace 

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html:html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" [
               <!ENTITY % XHTML.prefixed "INCLUDE" >
               <!ENTITY % XHTML.prefix "html" >
<html:html xmlns:html="http://www.w3.org/1999/xhtml">

What bothers me is requirement 2 of XHTML 1.1, Section 2.1.1.  "The root 
element of the document must be |<html>|."  

My gut feeling says the above XML document should be treated as XHTML 
1.1.  I'd appreciate some feedback on this.
Received on Wednesday, 30 January 2002 01:38:43 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:58 UTC