[ 
https://issues.apache.org/jira/browse/FLEX-33900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stephan Plath updated FLEX-33900:
---------------------------------

    Attachment: index.template.html.patch

Patch

> 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
>              Labels: easyfix
>         Attachments: index.template.html.patch
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> 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)

Reply via email to