[ 
https://issues.apache.org/jira/browse/DERBY-5204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Knut Anders Hatlen updated DERBY-5204:
--------------------------------------

    Attachment: tags.diff

The attached patch attempts to fix the broken HTML by making these changes:

1) Close the paragraph before starting the unordered list in releaseSummary.xml.

2) Changed ReleaseNoteGenerator to use the inline grouping element <span> 
instead of <p> inside the anchors. The purpose of these <p> tags was just to 
group some elements together, so <span> sounds like a good match.

With these changes, the release notes that got generated in my environment 
passed validation for HTML 4.01 Transitional. (They didn't pass HTML 4.01 
Strict, though.)

> Misplaced p tags in release notes
> ---------------------------------
>
>                 Key: DERBY-5204
>                 URL: https://issues.apache.org/jira/browse/DERBY-5204
>             Project: Derby
>          Issue Type: Bug
>          Components: Build tools
>    Affects Versions: 10.8.1.2
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>         Attachments: tags.diff
>
>
> The HTML in the release notes doesn't pass the tests for HTML 4.01 
> Transitional at http://validator.w3.org. The problems are misplaced <p> tags:
> 1) The list of supported Java and JDBC is enclosed in a <p> ... </p> section. 
> A paragraph cannot contain block-level elements, like unordered lists - <ul>.
> 2) The section that summarizes issues with release notes contains anchors 
> with paragraphs nested inside them. Paragraphs cannot be nested inside 
> anchors.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to