shale-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reind (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SHALE-247) s:validatorScript produces invalid html markup
Date Fri, 04 Aug 2006 14:39:22 GMT
     [ http://issues.apache.org/struts/browse/SHALE-247?page=all ]

Reind updated SHALE-247:
------------------------

    Affects Version/s: 1.0.2
                           (was: Nightly)

Edit:
The attached patch is for 1.0.2 , not the nightly build. There seems to be another issue with
validatorScript in the nightlies

> s:validatorScript produces invalid html markup
> ----------------------------------------------
>
>                 Key: SHALE-247
>                 URL: http://issues.apache.org/struts/browse/SHALE-247
>             Project: Shale
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.2
>         Environment: myfaces 1.1.5
>            Reporter: Reind
>            Priority: Minor
>         Attachments: site.patch
>
>
> The javascript that the <s:validatorScript> component generates does not validate
against XHTML 1.0 Transitional using the validator on http://validator.w3.org/.
> The validation error happens because the component creates an extraneous html comment
start/stop before and after the javascript it generates.
> Output:
> <script type="text/javascript" language="Javascript1.1">
> <!--
> <!--
> var bCancel = false;
> ...
> -->
> //-->
> Fix:
> <script type="text/javascript" language="Javascript1.1"><!--
> var bCancel = false;
> ...
> ...
> //-->

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message