Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why is ChangeAgent reporting HTML syntax errors in my JavaScript or ASP code?

0
Posted

Why is ChangeAgent reporting HTML syntax errors in my JavaScript or ASP code?

0

ChangeAgent parses pages looking for tags delimited by ‘<' and '>‘. If it sees HTML code with a greater than or less than sign (rather than > and <) and no matching angle bracket it reports it as an HTML syntax error, since it is possibly a broken tag. Within script code, ChangeAgent tries to ignore the greater than and less than comparison operators while still looking for static URL text. In some cases ChangeAgent is “overly vigilant” in reporting HTML syntax errors where it shouldn’t. One example is when ChangeAgent searches for literal URLs in JavaScript function calls. If your JavaScript uses parentheses to group an expression containing a greater than or less than operator, such as “(a.getMonth() > 10)”, ChangeAgent may interpret the parentheses as a function call and falsely report an HTML syntax error. False HTML syntax error reports of this type will be fixed in a future version. NOTE: These HTML syntax error are advisory only and do not indicate critical errors. You can

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123