This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 5001 - XMLNS should not be needed for XHTML *TRANSITIONAL* only for *STRICT*
Summary: XMLNS should not be needed for XHTML *TRANSITIONAL* only for *STRICT*
Status: RESOLVED INVALID
Alias: None
Product: Validator
Classification: Unclassified
Component: Parser (show other bugs)
Version: 0.8.1
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-02 23:52 UTC by Philip Brazina
Modified: 2007-09-03 00:55 UTC (History)
0 users

See Also:


Attachments

Description Philip Brazina 2007-09-02 23:52:25 UTC
Many Document Types based on XML need a mandatory xmlns="" on the root element. For example, the root element for XHTML will look like:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 

This error is given to me when using *TRANSITIONAL* format despite it is in the spec only for *STRICT* format.

The page I am validating today fails, but was validated by another version of this W3C validator on 5/19/2007 in which it passed.

This is related to bug 4961, but that is for *STRICT* format.
Comment 1 Olivier Thereaux 2007-09-03 00:55:24 UTC
http://www.w3.org/TR/xhtml1/#strict
is not for "XHTML strict" but for "strict conformance to XHTML" (whichever profile). The wording is confusing, but the need for a namespace comes from the XML nature of XHTML, whether it's the strict, transitional or frameset doctype.