[Bug 2769] XHTML 1.0 Strict Script error

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

           Summary: XHTML 1.0 Strict Script error
           Product: Validator
           Version: HEAD
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Parser
        AssignedTo: link@pobox.com
        ReportedBy: david@kuridza.net
         QAContact: www-validator-cvs@w3.org


I use XHTML 1.0 Strict as DTD and I found something really funny. If you have
<script type="text/javascript" href="foo.js" /> in your code, you get "This Page
Is Valid XHTML 1.0 Strict!". As a result, Internet Explorer and Opera (I haven't
checked the others) do display only blank white page while Firefox (on PC/Mac)
and Safari ignore the opened tag and display it like it's supposed to be. As far
as I know, <script> must not be used as a singleton tag.

Received on Thursday, 26 January 2006 10:59:21 UTC