You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Stephan Plath (JIRA)" <ji...@apache.org> on 2013/11/13 13:21:21 UTC
[jira] [Created] (FLEX-33900) index.template.html is not valid
Stephan Plath created FLEX-33900:
------------------------------------
Summary: index.template.html is not valid
Key: FLEX-33900
URL: https://issues.apache.org/jira/browse/FLEX-33900
Project: Apache Flex
Issue Type: Bug
Components: .Unspecified - Compiler, Flash Integration
Affects Versions: Apache Flex 4.11.0
Reporter: Stephan Plath
Priority: Trivial
Attachments: index.template.html.patch
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 source 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: Scripts must not use the document.write() method
--
This message was sent by Atlassian JIRA
(v6.1#6144)