I tested my Zen cart based site with the W3 markup validation tool (http://validator.w3.org/) and failed the validation (mainly because of various modules and my own screw ups). I got it down from 280 errors to 11, but I am at a loss on how to resolve the following 11 errors.
-------------------------------------
Validation Output: 11 Errors
1. Error Line 50, Column 31: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified.
document.write("<script id=__ie_onload defer><\/script>");
✉
2. Error Line 50, Column 48: the name and VI delimiter can be omitted from an attribute specification only if SHORTTAG YES is specified.
document.write("<script id=__ie_onload defer><\/script>");
✉
"VI delimiter" is a technical term for the equal sign. This error message means that the name of an attribute and the equal sign cannot be omitted when specifying an attribute. A common cause for this error message is the use of "Attribute Minimization" in document types where it is not allowed, in XHTML for instance.
How to fix: For attributes such as compact, checked or selected, do not write e.g <option selected ... but rather <option selected="selected" ...
3. Error Line 50, Column 48: required attribute "type" not specified.
document.write("<script id=__ie_onload defer><\/script>");
✉
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
4. Error Line 50, Column 48: document type does not allow element "script" here.
document.write("<script id=__ie_onload defer><\/script>");
✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
5. Warning Line 50, Column 49: character "<" is the first character of a delimiter but occurred as data.
document.write("<script id=__ie_onload defer><\/script>");
✉
This message may appear in several cases:
* You tried to include the "<" character in your page: you should escape it as "<"
* You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&", which is always safe.
* Another possibility is that you forgot to close quotes in a previous tag.
6. Error Line 103, Column 6: end tag for "script" omitted, but OMITTAG NO was specified.
</head>
✉
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
7. Info Line 22, Column 0: start tag was here.
<script type="text/javascript">
8. Error Line 206, Column 112: required attribute "type" not specified.
…afe.com/private/rollover/rollover.js"></script><span id="BuySafeSealSpan"><sc
✉
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
9. Error Line 376, Column 302: document type does not allow element "form" here; missing one of "object", "applet", "map", "iframe", "ins", "del" start-tag.
…://www.aweber.com/scripts/addlead.pl"><input type="hidden" name="meta_web_for
✉
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
10. Error Line 50, Column 31: XML Parsing Error: AttValue: " or ' expected.
document.write("<script id=__ie_onload defer><\/script>");
✉
11. Error Line 50, Column 31: XML Parsing Error: attributes construct error.
document.write("<script id=__ie_onload defer><\/script>");
✉
12. Error Line 50, Column 31: XML Parsing Error: Couldn't find end of Start Tag script line 50.
document.write("<script id=__ie_onload defer><\/script>");
✉
13. Error Line 50, Column 50: XML Parsing Error: StartTag: invalid element name.
document.write("<script id=__ie_onload defer><\/script>");
✉
---------------------------------------
Can anyone help? I am sure this is simple for someone, but I am a newbie to xhtml.



