W3C home > Mailing lists > Public > www-validator-cvs@w3.org > April 2007

[Bug 4475] Namespace declarations treated as attributes

From: <bugzilla@wiggum.w3.org>
Date: Thu, 19 Apr 2007 13:11:57 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1HeWQX-0004wY-M7@wiggum.w3.org>


           Summary: Namespace declarations treated as attributes
           Product: Validator
           Version: 0.8.0b1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Parser
        AssignedTo: link@pobox.com
        ReportedBy: chris@w3.org
         QAContact: www-validator-cvs@w3.org

Namespaces in XML adds namespace declarations to XML. DTD-based validators,
such as the SGML validator used here, incorrectly treat namespace declaration
as attributes and report validity errors. As an example

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
<head><title>ns test</title></head>

Please consider modifying the parser such that namespace declarations are not
treated as validity errors.
Received on Thursday, 19 April 2007 13:11:59 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:28 UTC