[
https://issues.apache.org/struts/browse/WW-1761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41844
]
Matt Raible commented on WW-1761:
---------------------------------
This patch has a bug that now exists in Struts 2.0.9:
-<script src="${base}/struts/css_xhtml/validation.js"
type="text/javascript"></script>
+<script type="text/javascript" src="${base}/struts/css_xhtml/validation.js"
type="text/javascript"></script>
The previous notation was correct. I'd suggest using the 2nd one and removing
the 2nd "type" attribute.
> templates don't specify type="text/javascript"; break W3C validation
> --------------------------------------------------------------------
>
> Key: WW-1761
> URL: https://issues.apache.org/struts/browse/WW-1761
> Project: Struts 2
> Issue Type: Bug
> Components: Views
> Affects Versions: 2.0.6
> Reporter: Erik Berg
> Assignee: Musachy Barroso
> Priority: Minor
> Fix For: 2.0.7
>
> Attachments: WW-1761.patch
>
>
> Same issue as WW-1627.
> /ajax/form.ftl
> /xhtml/form_validate.ftl
> /css_xhtml/form_validate.ftl
> All need to specify type="text/javascript" in their <script> tags for valid
> HTML.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.