[Bug 6337] New: Incorrectly validating tags in javascript

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

           Summary: Incorrectly validating tags in javascript
           Product: Validator
           Version: HEAD
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Parser
        AssignedTo: dave.null@w3.org
        ReportedBy: sam@xnet.tk
         QAContact: www-validator-cvs@w3.org


The following code will invalidate a document. As it counts the template html
as being part of the document.

<script type="text/javascript" charset="utf-8">
window.onload = function() {
   getTwitters('Twitter', { 
     id: 14908033, 
     count: 5, 
     enableLinks: true, 
     ignoreReplies: true, 
     clearContents: true,
     template: '<a href="http://twitter.com/%user_screen_name%/statuses/%id%/"
class="tweetLink">%time%</a><span class="tweet">%text%</span>'
   });
}
</script>


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 31 December 2008 15:37:26 UTC