Issue Details (XML | Word | Printable)

Key: JRA-5616
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Daniel Hurst
Reporter: Dr. Spock
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JIRA

Generated RSS don't support latin entities during xml parse

Created: 08/Jan/05 11:09 AM   Updated: 30/Aug/06 07:21 PM
Component/s: Web interface
Affects Version/s: 3.0.3
Fix Version/s: 3.7

Time Tracking:
Not Specified

File Attachments: 1. XML File jira-results.xml (22 kB)
2. File navigator-rss.jsp (5 kB)

Environment: Server: Linux, j2sdk 1.4.2_04 and MySQL; Client: WinXP, Firefox 1.0.
Issue Links:
Reference
 

Participants: Daniel Hurst, Dr. Spock and Scott Farquhar [Atlassian]
Since last comment: 2 years, 6 weeks, 1 day ago
Resolution Date: 30/Aug/06 07:15 PM
Labels:


 Description  « Hide
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.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Dr. Spock added a comment - 08/Jan/05 11:15 AM
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;
]>

Scott Farquhar [Atlassian] added a comment - 28/Aug/06 06:54 AM
Daniel,

Can you see if this is fixed in head?


Daniel Hurst added a comment - 30/Aug/06 02:34 AM
Hi Scott & Spock

This seems to have been fixed in head.

-Daniel


Daniel Hurst added a comment - 30/Aug/06 07:21 PM
This should be fixed as a result of JRA-10404.