<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>7738</bug_id>
          
          <creation_ts>2009-09-28 01:36:32 +0000</creation_ts>
          <short_desc>Validator checks /*commented-out*/ javascript code</short_desc>
          <delta_ts>2009-09-28 19:24:14 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Validator</product>
          <component>check</component>
          <version>HEAD</version>
          <rep_platform>PC</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>(Local file, not yet online)</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jesse Hammond">Jesse_Hammond</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>27698</commentid>
    <comment_count>0</comment_count>
    <who name="Jesse Hammond">Jesse_Hammond</who>
    <bug_when>2009-09-28 01:36:32 +0000</bug_when>
    <thetext>The validator detected that a javascript function was writing invalid HTML code to a SPAN. I commented that code out so I could refer back to it if need be, then wrote the correct code. Even though the old code was commented out, though, the validator was still registering it as erronous code. I had to completely delete the code instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27726</commentid>
    <comment_count>1</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2009-09-28 19:24:14 +0000</bug_when>
    <thetext>Validator does not execute or interpret javascript at all, it doesn&apos;t know what the (client side) script writes or knows anything about javascript comments, it just checks the HTML validity.  Without a URL to look at, I guess what you&apos;re seeing is quite likely covered by the validator&apos;s FAQ entry on javascript: http://validator.w3.org/docs/help.html#faq-javascript</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>