Maven Doxia

Allow pretty printing for XML based sinks

Details

  • Number of attachments :
    2

Description

The actual XhtmlBaseSink writes XML elements without any formatting. It could be improved to include PrettyPrintXMLWriter.

Issue Links

Activity

Hide
Vincent Siveton added a comment -

This is the implementation of PrettyPrintXMLWriter for the XhtmlBaseSink.
Some comments:

  • tests are updated to reflect EOL and space (ie <tag/> instead of <tag SPACE />)
  • depends on plexus-utils:1.5.7-SNAPSHOT
  • It will be a similar impl for AbstractXmlSink, but actually a lot of changes is needed.
Show
Vincent Siveton added a comment - This is the implementation of PrettyPrintXMLWriter for the XhtmlBaseSink. Some comments:
  • tests are updated to reflect EOL and space (ie <tag/> instead of <tag SPACE />)
  • depends on plexus-utils:1.5.7-SNAPSHOT
  • It will be a similar impl for AbstractXmlSink, but actually a lot of changes is needed.
Hide
Vincent Siveton added a comment -

After some discussions with Lukas, we decided that pretty printing should be out of the core modules. I added a faq in r700752.

Show
Vincent Siveton added a comment - After some discussions with Lukas, we decided that pretty printing should be out of the core modules. I added a faq in r700752.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: