You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2011/04/26 14:31:03 UTC

[jira] [Created] (DERBY-5204) Misplaced p tags in release notes

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


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

[jira] [Commented] (DERBY-5204) Misplaced p tags in release notes

Posted by "Rick Hillegas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13025201#comment-13025201 ] 

Rick Hillegas commented on DERBY-5204:
--------------------------------------

Thanks, Knut. These changes look good to me. +1

> 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

[jira] [Updated] (DERBY-5204) Misplaced p tags in release notes

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
     [ 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

[jira] [Closed] (DERBY-5204) Misplaced p tags in release notes

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen closed DERBY-5204.
-------------------------------------

          Resolution: Fixed
       Fix Version/s: 10.9.0.0
                      10.8.1.3
    Issue & fix info:   (was: [Patch Available])

Thanks, Rick!

Committed revision 1096741. Also back-ported to 10.8 with revision 1096746.

> 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
>             Fix For: 10.8.1.3, 10.9.0.0
>
>         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

[jira] [Updated] (DERBY-5204) Misplaced p tags in release notes

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Issue & fix info: [Patch Available]

> 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