- From: <bugzilla@wiggum.w3.org>
- Date: Tue, 07 Sep 2004 12:03:09 +0000
- To: www-validator-cvs@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=873
Summary: XML validation of javascript decrement variable by 1
using --
Product: Validator
Version: 0.7.0
Platform: Other
URL: http://e-cycling.szm.sk
OS/Version: other
Status: NEW
Severity: trivial
Priority: P2
Component: Parser
AssignedTo: link@pobox.com
ReportedBy: michal.szalai@pobox.sk
QAContact: www-validator-cvs@w3.org
Hi. I wanted to use on my page:
<script type="text/javascript">
<!--
var index = 10;
index--;
//-->
</script>
>From SGML parser I got this error on line where index-- is:
invalid comment declaration: found character ";" outside comment but inside
comment declaration
Of course I can use index=index-1; or index-=1; but I like to use index--;
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
Received on Tuesday, 7 September 2004 12:03:09 UTC