Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-5616

Generated RSS don't support latin entities during xml parse

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium (View bug fix roadmap)
    • 3.7
    • 3.0.3
    • None
    • None
    • Server: Linux, j2sdk 1.4.2_04 and MySQL; Client: WinXP, Firefox 1.0.

      The generated RSS content from issue navigator don't support XHTML latin characteres (http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_Latin-1_characters) during xml parse from a rss/xml utility.

      The XML parse result the following error message: The entity "ecirc" was referenced, but not declared.

      Other error messages occurs for other latin characteres entities like the instance described above.

      Some issues content and site content contains XHTML automaticaly encoded characters that was persisted into the database (e.g. &ecirc. Then, the generated rss content will be contains this characteres that aren't recognized by a rss/xml utility parser.

      The attach contain a generated rss file that show the problem. This files contains entities not recognized like ê and &ccedil equivalents to the characters "ê" and "ç", respectively.

      May be this issue affects other jira versions.

        1. jira-results.xml
          22 kB
        2. navigator-rss.jsp
          5 kB

            [JRASERVER-5616] Generated RSS don't support latin entities during xml parse

            This should be fixed as a result of JRA-10404.

            Daniel Hurst added a comment - This should be fixed as a result of JRA-10404 .

            Hi Scott & Spock

            This seems to have been fixed in head.

            -Daniel

            Daniel Hurst added a comment - Hi Scott & Spock This seems to have been fixed in head. -Daniel

            Daniel,

            Can you see if this is fixed in head?

            Scott Farquhar added a comment - Daniel, Can you see if this is fixed in head?

            Dr. Spock added a comment -

            The attach 'navigator-rss.jsp' shows one possible solution to this issue. Other possible solution is to add the following dtd fragment into generated rss content:
            <!DOCTYPE rss [
            <!ENTITY % HTMLlat1 PUBLIC
            "-//W3C//ENTITIES Latin 1 for XHTML//EN"
            "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent">
            %HTMLlat1;
            ]>

            Dr. Spock added a comment - The attach 'navigator-rss.jsp' shows one possible solution to this issue. Other possible solution is to add the following dtd fragment into generated rss content: <!DOCTYPE rss [ <!ENTITY % HTMLlat1 PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent"> %HTMLlat1; ]>

              daniel.hurst@atlassian.com Daniel Hurst
              ced68d1f0462 Dr. Spock
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: