Maven Doxia

Independent row parsing

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.1.1
  • Component/s: Core
  • Labels:
    None
  • Number of attachments :
    0

Description

Currently the table rendered formats each column depending on the definition of the first row. This is a problem when the text justification of the header row is different from the rest of the table (e.g. the header row is centered, but the rest of the table rows are left-aligned). Take this example fo instance:

*-----------------------*------------------------------------------------------------------*
|<<Phase>>              |<<Description>>                                                   |
*-----------------------+------------------------------------------------------------------+
|generate-sources	|generate any source code for inclusion in compilation.            |
*-----------------------+------------------------------------------------------------------+
|generate-resources	|generate resources for inclusion in the package.                  |
*-----------------------+------------------------------------------------------------------+
|compile	           |compile the source code of the project.                       |
*-----------------------+------------------------------------------------------------------+
|test	                |run tests using a suitable unit testing framework. These tests    |
|                       |should not require the code be packaged or deployed.              |
*-----------------------+------------------------------------------------------------------+
|package	        |take the compiled code and package it in its distributable format,|
|                       |such as JAR.                                                      |
*-----------------------+------------------------------------------------------------------+
|install	        |install the package into the local repository, for use as a       |
|                       |dependency in other projects locally.                             |
*-----------------------+------------------------------------------------------------------+

Issue Links

Activity

Hide
David Roussel added a comment -

This example appears messed up by JIRA formatting issues.

Show
David Roussel added a comment - This example appears messed up by JIRA formatting issues.
Hide
Lukas Theussl added a comment - - edited

It appears fine to me. The problem is that the whole table is formatted according to the first line

 ( *---*---* )  
and the format for the following lines
( *---+---+ ) 
is ignored. Note that I have proposed a more general solution already: http://docs.codehaus.org/display/DOXIA/Proposed+Changes+to+the+Sink+API

Show
Lukas Theussl added a comment - - edited It appears fine to me. The problem is that the whole table is formatted according to the first line
 ( *---*---* )  
and the format for the following lines
( *---+---+ ) 
is ignored. Note that I have proposed a more general solution already: http://docs.codehaus.org/display/DOXIA/Proposed+Changes+to+the+Sink+API
Hide
Lukas Theussl added a comment -

With DOXIA-204 this is now possible in principle, we just need to make the AptParser emit the appropriate attributes. Scheduling for a later release...

Show
Lukas Theussl added a comment - With DOXIA-204 this is now possible in principle, we just need to make the AptParser emit the appropriate attributes. Scheduling for a later release...
Hide
Vincent Siveton added a comment -

Should be done with DOXIA-134.

Show
Vincent Siveton added a comment - Should be done with DOXIA-134.
Hide
Lukas Theussl added a comment -

This is not fixed. I will add a test case.

Show
Lukas Theussl added a comment - This is not fixed. I will add a test case.
Hide
Vincent Siveton added a comment -

Really fixed in r774282, snapshot deployed

Show
Vincent Siveton added a comment - Really fixed in r774282, snapshot deployed

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: