You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2005/08/16 22:02:09 UTC

[jira] Updated: (MPFAQ-16) faq plugin does not produce valid XHTML 1.0 Transitional

     [ http://jira.codehaus.org/browse/MPFAQ-16?page=all ]

Lukas Theussl updated MPFAQ-16:
-------------------------------

    Attachment: valid_html.patch

A trivial change to fix this: since <title> and <faq> are the only elements allowed in <part>, it suffices
to call only the <faq> template. As such, the <title> element will not get copied over to the xdoc and html,
where it doesn't belong to.

> faq plugin does not produce valid XHTML 1.0 Transitional
> --------------------------------------------------------
>
>          Key: MPFAQ-16
>          URL: http://jira.codehaus.org/browse/MPFAQ-16
>      Project: maven-faq-plugin
>         Type: Bug
>     Versions: 1.4
>  Environment: any
>     Reporter: Lukas Theussl
>     Priority: Trivial
>  Attachments: valid_html.patch
>
> Original Estimate: 5 minutes
>         Remaining: 5 minutes
>
> The html code produced by the current maven-faq-plugin is not valid XHTML 1.0 Transitional. That's because the <title> sub-element of each <part> get's copied through in the faq.jsl file (line 64), but XHTML 1.0 allows only one <title> element per document.
> There are several possible solutions for this, the most sensible ones are:
> - rename the <title> element, so it does not conflict with the HTML keyword
> - replace the <title> element by a title="" attribute of the <part> element.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org