You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2007/07/23 20:22:13 UTC

[jira] Commented: (DOXIA-134) Apt parser issues

    [ http://jira.codehaus.org/browse/DOXIA-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_103027 ] 

Lukas Theussl commented on DOXIA-134:
-------------------------------------

Patch applied, thanks! 
I need to do some house cleaning but I will soon attach a more complete patch to DOXIA-101, that will allow you to re-produce my results.

> Apt parser issues
> -----------------
>
>                 Key: DOXIA-134
>                 URL: http://jira.codehaus.org/browse/DOXIA-134
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Module - Apt
>    Affects Versions: 1.0-alpha-8
>            Reporter: Lukas Theussl
>             Fix For: 1.0-beta-1
>
>         Attachments: actual.txt, DOXIA-134-headerCell.patch, expected.txt
>
>
> I did the following experiment: using the SinkTestDocument that I attached at DOXIA-101 I generated two text documents, one by dumping the model directly into a text sink, the other by piping it through the current apt sink, parsing the result with the apt parser and dumping it into the same text sink as before. The results should be the same since the second chain corresponds to the 'identity transformation', ie piping a document through a parser and sink should give you the original document. I attach the two text files for comparison, here are the differences:
> # the parser swallows newlines between text elements
> # a paragraph within a list item is swallowed
> # verbatim text within a definition list item is not processed correctly
> # the closing of a definition list is not processed correctly
> # table header cells are not recognized and newlines within table cells are not processed correctly
> Point 1 is not severe by itself because newlines are not significant in apt source documents, however, two newlines are, so I am not sure if it doesn't have consequences (eg within table cells).
> Point 5 has partially been fixed by the patch Vincent attached at DOXIA-50.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira