Apt parser issues
-----------------
Key: DOXIA-134
URL: http://jira.codehaus.org/browse/DOXIA-134
Project: 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, 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