<?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>949</bug_id>
          
          <creation_ts>2004-11-22 10:56:04 +0000</creation_ts>
          <short_desc>incorrect &quot;End tag for element&quot;-error in JavaScript</short_desc>
          <delta_ts>2004-11-22 18:53:52 +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>0.6.7</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://www.bouwgilde-zzp.net/cgi-bin/zzp-cust-login.php</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Peter Elbertse">P.Elbertse</reporter>
          <assigned_to name="Terje Bless">link</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>2643</commentid>
    <comment_count>0</comment_count>
    <who name="Peter Elbertse">P.Elbertse</who>
    <bug_when>2004-11-22 10:56:04 +0000</bug_when>
    <thetext>When a javascript string is built up with the &quot;+&quot;-sign, the HTML validation 
will not be done upon the complete string, but on the substrings. For this 
reason:

myHint.innerHTML     = &quot;&lt;center&gt;&lt;small&gt;&quot; + text + &quot;&lt;/small&gt;&lt;/center&gt;&quot; ;

Will result in the following errors like:

------
Line 15, column 68: end tag for element &quot;CENTER&quot; which is not open

... = &quot;&lt;center&gt;&lt;small&gt;&quot; + text + &quot;&lt;/small&gt;&lt;/center&gt;&quot; ;
------</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2644</commentid>
    <comment_count>1</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2004-11-22 18:53:52 +0000</bug_when>
    <thetext>The error message you cited also contains:

   &quot;If this error occured in a script section of your document, you should
    probably read this FAQ entry.&quot;

...where &quot;FAQ entry&quot; is a link to
http://validator.w3.org/docs/help.html#faq-javascript</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>