Details
-
Bug
-
Status: Open
-
Trivial
-
Resolution: Unresolved
-
Apache Flex 4.11.0
-
None
Description
index.template.html fails validation in the W3C's markup validation service.
Steps to Reproduce
1. upload index.template.html to http://validator.w3.org/
2. validate
Expected Behavior
1 error (character "$" is not allowed)
this error can be ignored, because template tokens like ${application} will be replaced during compilation and the final html file will be valid
Actual Behavior
4 errors
Line 31, 2 errors:
<meta name="google" value="notranslate" />
While there are Google resources (https://support.google.com/translate/#2641276) which state that you should use this meta tag, there are also resources which use the valid "content" attribute instead of the invalid "value" attribute: https://support.google.com/webmasters/answer/79812?hl=en
Line 90:
document.write(...
for explanation see http://www.htmlhelp.com/tools/validator/problems.html#script
A common error occurs when writing HTML tags within a SCRIPT element
Furthermore for XHTML compliance: scripts must not use the document.write() method