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

Gavin commented on FOR-1168:
----------------------------

See http://www.w3.org/TR/xhtml1/#C_8 for more details.

Mainly we know that the 'name' attribute is deprecated but usable for backwards 
compatibility; and has been reduced to NMTOKEN status, and that + is a symbol 
that cannot be used in the value of the 'name' attribute.

We should be looking to remove 'name' altogether in future versions, for now to 
ensure backwards compatibility (as most of our documents would still be served 
as text/html) we should just remove instance of + and replace with _ .

> Sample pages that fail validation
> ---------------------------------
>
>                 Key: FOR-1168
>                 URL: https://issues.apache.org/jira/browse/FOR-1168
>             Project: Forrest
>          Issue Type: Bug
>          Components: Documentation and website, Plugin: internal.dispatcher
>    Affects Versions: 0.9-dev
>            Reporter: Gavin
>            Assignee: Gavin
>             Fix For: 0.9-dev
>
>
> The main 'sample.html' passes validation fine, however some other pages fail 
> xhtml 1.0 strict validation. Mainly due to the use of the + symbol in name 
> anchors. Not a problem for sites validating to HTML4.01.
> These pages include (but check for more)
> samples-b/usemap.html
> samples-b/xinclude.html
> samples-b/static.html
> samples-b/linking.html
> samples-b/howto-wowto.html
> samples-b/embedded_html.html
> samples-b/ascii-art.html
> locationmap/index.html
> samples-c/subdir/index.html
> samples-c/showonlywhenselected/page1.html
> samples-c/showonlywhenselected/page2.html
> pluginDocs/plugins_0_90/index.html

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