forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gavin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FOR-1154) Skins test site page fails HTML validation
Date Sun, 10 May 2009 23:22:45 GMT

    [ https://issues.apache.org/jira/browse/FOR-1154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707855#action_12707855
] 

Gavin commented on FOR-1154:
----------------------------

Note that the 'figure' element has as an optional 'id' attribute. This 'id' attribute is generated
from document-to-html.xsl. However it generates the same given 'id' attribute for both the
generated img element and its surrounding div element and duplicate id's are not allowed.

I'm going to change this behaviour to add '-figure' to the end of the figure id if one is
given to keep the id's unique. I'll leave the 'id' attribute as optional but also change it
to not generate a blank id if none is given, as is the case currently.

> Skins test site page fails HTML validation
> ------------------------------------------
>
>                 Key: FOR-1154
>                 URL: https://issues.apache.org/jira/browse/FOR-1154
>             Project: Forrest
>          Issue Type: Bug
>          Components: Example Sites, Skins (general issues)
>    Affects Versions: 0.9-dev
>            Reporter: Gavin
>            Assignee: Gavin
>             Fix For: 0.9-dev
>
>
> Currently, the sample page fails validation for HTML in two places.
> Error  Line 666, Column 9: syntax of attribute value does not conform to declared value.
> <div id="" style="text-align: center;">
> Line 667, Column 9: syntax of attribute value does not conform to declared value.
> <img id="" class="figure" alt="The fine Forrest logo" src="images/project-logo.p
> Full details at :-
> http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fforrest.zones.apache.org%2Fft%2Fbuild%2Fforrest-seed%2Fsamples-b%2Fsample.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message