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)
  • Plexus Utils
  • PLXUTILS-68

Improve pretty printing done by MXSerializer

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 1.5.1
  • Fix Version/s: 1.5.2
  • Labels:
    None
  • Patch Submitted:
    Yes

Description

The MXSerializer commonly used by the Modello generated writers produces something like

<?xml version="1.0" encoding="UTF-8"?><metadata>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-jxr-plugin</artifactId>
  <version>2.1</version>
  <versioning>
    <latest>2.1</latest>
    <release>2.1</release>
    <versions>
      <version>2.0</version>
      <version>2.1</version>
    </versions>
    <lastUpdated>20070407095323</lastUpdated>
  </versioning>
</metadata>

It would be cool if there were newlines after the XML declaration and at the end of file.

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

Attachments

  1. Text File
    pretty-xml.patch
    16/Mar/08 11:46 AM
    0.9 kB
    Benjamin Bentmann

Issue Links

is depended upon by

Improvement - An improvement or enhancement to an existing feature or task. MSHARED-69 Improve pretty printing the POM when it gets written to a file

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Benjamin Bentmann added a comment - 11/Apr/08 1:29 PM

Fixed in r7279.

Show
Benjamin Bentmann added a comment - 11/Apr/08 1:29 PM Fixed in r7279.

People

  • Assignee:
    Benjamin Bentmann
    Reporter:
    Benjamin Bentmann
Vote (0)
Watch (0)

Dates

  • Created:
    16/Mar/08 11:46 AM
    Updated:
    15/Sep/08 5:17 AM
    Resolved:
    11/Apr/08 1:29 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.