jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 1.x JIRA Plugin
  • MPJIRA-19

html tags inside CDATA are ignored

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Not A Bug
  • Affects Version/s: None
  • Fix Version/s: None
  • Labels:
    None

Description

Our changes.xml files contains html tags inside the <action> tag. That's the way we found to add links to our repositories in our projects. To get it to work, we used to wrap the contents of the <action> tag in a <[!CDATA[ tag.
For instance, the following <action> tag would generate a valid link in the generated report:
<action dev="cleberz"><![CDATA[Hello, <a href="www.disney.com">Disneyworld!</a>]]></action>
This worked fine till version 2.2. Version 2.3 is replacing the < and > by character references (i.e., < >) thus preventing the link from working on the report.

As a side note, if we leave out the CDATA tag, an exception is thrown by the parser, but this seems to be happening in all versions. Please fix that when possible so that we can update for the latest version. Thank you!

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Brett Porter added a comment - 06/Dec/10 4:13 PM

are you referring to Maven 2's changes plugin, or Maven 1's JIRA plugin (where this was filed)?

Show
Brett Porter added a comment - 06/Dec/10 4:13 PM are you referring to Maven 2's changes plugin, or Maven 1's JIRA plugin (where this was filed)?
Hide
Permalink
Cleber Zarate added a comment - 06/Dec/10 4:54 PM

I didn't realize this was the JIRA for the Maven 1 plugin.
The correct JIRA for this issue is http://jira.codehaus.org/browse/MCHANGES-189

Show
Cleber Zarate added a comment - 06/Dec/10 4:54 PM I didn't realize this was the JIRA for the Maven 1 plugin. The correct JIRA for this issue is http://jira.codehaus.org/browse/MCHANGES-189
Hide
Permalink
Cleber Zarate added a comment - 06/Dec/10 5:02 PM

Actually, the correct JIRA for the issue is http://jira.codehaus.org/browse/MCHANGES-190, which reports that the changes on the bug mentioned in my last comment were what caused it to break. Thanks.

Show
Cleber Zarate added a comment - 06/Dec/10 5:02 PM Actually, the correct JIRA for the issue is http://jira.codehaus.org/browse/MCHANGES-190, which reports that the changes on the bug mentioned in my last comment were what caused it to break. Thanks.

People

  • Assignee:
    Unassigned
    Reporter:
    Cleber Zarate
Vote (0)
Watch (0)

Dates

  • Created:
    06/Dec/10 4:03 PM
    Updated:
    06/Dec/10 5:02 PM
    Resolved:
    06/Dec/10 4:54 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.