W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2005

[Bug 2308] an html file uploaded fails validation, same code pasted works

From: <bugzilla@wiggum.w3.org>
Date: Tue, 27 Sep 2005 21:33:49 +0000
To: www-validator-cvs@w3.org
Cc:
Message-Id: <E1EKN5B-0005Gt-KW@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2308

           Summary: an html file uploaded fails validation, same code pasted
                    works
           Product: Validator
           Version: 0.7.0
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Parser
        AssignedTo: link@pobox.com
        ReportedBy: lrivers@gmail.com
         QAContact: www-validator-cvs@w3.org


The validate via upload reports errors that do not exist. It appears as if extra bogus characters are 
inserted in the header.

Pasting the same content into the appropriate field validates fine.

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>Untitled</title>
</head>
<body>
    <p>Here is some text</p>
    <p><a onclick="window.open(this.href,'_blank');return false;" href="http://mosasaur.com">Some 
Other Site</a></p>
</body>
</html>
Received on Tuesday, 27 September 2005 21:34:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:15 UTC