Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 1.4
-
Fix Version/s: 1.5
-
Component/s: None
-
Labels:None
-
Environment:any
-
Number of attachments :
Description
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.
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.