[Bug 2798] Error: end tag for element "A" which is not open.

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

           Summary: Error: end tag for element "A" which is not open.
           Product: Validator
           Version: HEAD
          Platform: PC
               URL: http://www.cs-software.com/W3C_A_01.html
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: Parser
        AssignedTo: link@pobox.com
        ReportedBy: jag@cs-software.com
         QAContact: www-validator-cvs@w3.org
                CC: jag@cs-software.com


Validation Error:

<!-- script below has closing </a> but it does not validate -->
<script type="text/javascript">
<!--
if (location.protocol == "http:")
  { document.write("<a href='https://www.cs-software.com/test_order.html'> click
here for secure Order Form</a>")
  }
-->
</script>

Error: Line 12 column 110: end tag for element "A" which is not open.
Sample Source file: http://www.cs-software.com/W3C_A_01.html

***************

<!-- script below has missing closing </a> but it validates -->
<script type="text/javascript">
<!--
if (location.protocol == "http:")
  { document.write("<a href='https://www.cs-software.com/test_order.html'> click
here for secure Order Form")
  }
-->
</script>
Sample Source File: http://www.cs-software.com/W3C_A_02.html

Received on Friday, 3 February 2006 09:21:53 UTC