Maven Doxia
  1. Maven Doxia
  2. DOXIA-131

HtmlTools.encodeId makes id lower case

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-alpha-8
    • Fix Version/s: 1.0-alpha-9
    • Component/s: Core
    • Labels:
      None

      Description

      HtmlTools.encodeId uses Character.toLowerCase to convert its argument to lower case. I don't see the reason for that since upper case characters are legal in id's (see http://www.w3.org/TR/html4/types.html#type-name ). In particular, it's a problem with anchors/links in the xhtml sink (see DOXIA-47 ), especially if we want to create anchors from section names, to maintain backward compatibility with m1. Is there a special reason for the toLowerCase or can we remove it?

        Issue Links

          Activity

          Lukas JOSEFIK created issue -
          Lukas Theussl made changes -
          Field Original Value New Value
          Fix Version/s 1.0-beta-1 [ 13617 ]
          Dennis Lundberg made changes -
          Assignee Dennis Lundberg [ dennislundberg ]
          Dennis Lundberg made changes -
          Link This issue relates to DOXIA-47 [ DOXIA-47 ]
          Lukas Theussl made changes -
          Fix Version/s 1.0-beta-1 [ 13617 ]
          Fix Version/s 1.0-alpha-9 [ 13220 ]
          Dennis Lundberg made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 09:30:24 UTC 2015 [ 1428226224715 ]
          Mark Thomas made changes -
          Workflow jira [ 12719582 ] Default workflow, editable Closed status [ 12748701 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 23:17:25 UTC 2015 [ 1428275845026 ]
          Mark Thomas made changes -
          Workflow jira [ 12957044 ] Default workflow, editable Closed status [ 12994016 ]
          Mark Thomas made changes -
          Reporter Lukas JOSEFIK [ lukas ] Lukas Theussl [ ltheussl ]
          Mark Thomas made changes -
          Assignee dennislundberg [ dennislundberg ] Dennis Lundberg [ dennisl@apache.org ]

            People

            • Assignee:
              Dennis Lundberg
              Reporter:
              Lukas Theussl
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development