Maven Doxia
  1. Maven Doxia
  2. DOXIA-255

Allow pretty printing for XML based sinks

    Details

      Description

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

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

        Issue Links

          Activity

          Hide
          Siveton Vincent 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
          Siveton Vincent 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 .
          Hide
          Siveton Vincent 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
          Siveton Vincent 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.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development