I have a warning on the line including the javascript file.
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title></title>
<script type="text/javascript" src="scripts/jquery.js"></script>
</head>
<body>
The warning is "Multiple annotations found at this line: - Undefined attribute name (src). - Undefined attribute name (type)."
I can't see where the problem is!
It's the doc type. Eclipse is going to validate the DOM against the DTD. If unknown entities are not clearly defined in the DTD, then Eclipse will raise warnings.
In the absence of an explicit doctype, you should check if the Property dialog for the file has a page for deciding what doctype to use as a default. HTML5 was only very recently added: http://dev.eclipse.org/mhonarc/lists/wtp-dev/msg07790.html .
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With