Maven Doxia
  1. Maven Doxia
  2. DOXIA-255

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.

      1. DOXIA-255_doxia.diff
        22 kB
        Vincent Siveton
      2. DOXIA-255_doxia-sitetools.diff
        4 kB
        Vincent Siveton

        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

            • Assignee:
              Vincent Siveton
              Reporter:
              Vincent Siveton
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: