W3C home > Mailing lists > Public > www-validator-cvs@w3.org > June 2004

[Bug 811] New: Odd behaviour with custom FPI/SI

From: <bugzilla@wiggum.w3.org>
Date: Fri, 25 Jun 2004 09:51:59 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1BdnNH-0007N2-0B@wiggum.w3.org>

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

           Summary: Odd behaviour with custom FPI/SI
           Product: Validator
           Version: 0.6.7
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: check
        AssignedTo: link@pobox.com
        ReportedBy: bjoern@hoehrmann.de
         QAContact: www-validator-cvs@w3.org


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Foo//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-foo.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<p><font>...</font></p>
</body>
</html>

Validator claims

  This Page Is Valid -//W3C//DTD XHTML 1.0 Foo//EN!

But Validation should clearly fail as the FPI is not known and 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-foo.dtd does not exist.
The example slightly modified

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Foo//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<p><font>...</font></p>
</body>
</html>

Again:

  This Page Is Valid -//W3C//DTD XHTML 1.0 Foo//EN!

http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd does exist and prohibes the 
<font> element, so this should not validate either.



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
Received on Friday, 25 June 2004 05:52:14 UTC

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