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)
Signup
Maven 1.x Changelog Plugin
  • Maven 1.x Changelog Plugin
  • MPCHANGELOG-30

breaks on cdata on comments

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.3, 1.4
  • Fix Version/s: 1.4
  • Labels:
    None
  • Number of attachments :
    1

Description

the report is broken by cdata sections in comments: the end cdata sequence ]]> should be escaped/removed bfore writing the xml report:

BUILD FAILED
File...... file:/D:/programmi/maven/plugins/maven-xdoc-plugin-1.6-SNAPSHOT/
Element... x:parse
Line...... 98
Column.... 46
Error on line 134 of document file:/D:/apps/plugins/maven-xhtml-plugin/target/changelog.xml : The character sequence "]]>" must not appear i
n content unless used to mark the end of a CDATA section. Nested exception: The character sequence "]]>" must not appear in content unless u
sed to mark the end of a CDATA section.

The attached patch fixes it replacing ]]> in comments

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. File
    changelog_cdata_patch.diff
    07/Feb/04 3:20 PM
    1 kB
    fabrizio giustina

Issue Links

is depended upon by

Task - A task that needs to be done. MAVEN-1166 plugin issues to fix by RC2

  • Blocker - Blocks development and/or testing work, production could not run
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
fabrizio giustina added a comment - 07/Feb/04 3:20 PM

diff for ChangeLogEntry.java

Show
fabrizio giustina added a comment - 07/Feb/04 3:20 PM diff for ChangeLogEntry.java
Hide
Permalink
Brett Porter added a comment - 29/Feb/04 9:00 PM

applies

Show
Brett Porter added a comment - 29/Feb/04 9:00 PM applies

People

  • Assignee:
    Unassigned
    Reporter:
    fabrizio giustina
Vote (0)
Watch (0)

Dates

  • Created:
    07/Feb/04 3:19 PM
    Updated:
    29/Feb/04 9:00 PM
    Resolved:
    29/Feb/04 9:00 PM

Time Tracking

Estimated:
5m
Original Estimate - 5 minutes
Remaining:
5m
Remaining Estimate - 5 minutes
Logged:
Not Specified
Time Spent - Not Specified
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.