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

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