SonarQube Plugins
  1. SonarQube Plugins
  2. SONARPLUGINS-1150

Escape messages when loading MessagesRepository

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: XML-0.1
    • Fix Version/s: XML-0.2
    • Component/s: XML
    • Labels:
      None
    • Environment:
      IExplorer 7, Google Chrome 11
    • Number of attachments :
      1

      Description

      When displaying XML Profile rules in sonar, there are some rules descriptions that invalidate the generated HTML and some browsers don't display all rules.
      i.e. Line 79 of Xerces' "XMLMessages.properties" file, is as follows:

      InvalidCommentStart = Comment must start with "<!--".

      When displayed in browser, it is interpreted by Explorer and Chrome as a HTML comment, and stop displaying the rest of the rules.

      Nore. Firefox 3.6 displays the page OK

        Issue Links

          Activity

          Matthijs Galesloot made changes -
          Field Original Value New Value
          Fix Version/s XML-0.2 [ 17353 ]
          Matthijs Galesloot made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Evgeny Mandrikov made changes -
          Link This issue is duplicated by SONARPLUGINS-1306 [ SONARPLUGINS-1306 ]
          Evgeny Mandrikov made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Matthijs Galesloot
              Reporter:
              Jorge Castello
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: