[ http://jira.codehaus.org/browse/DOXIA-408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=235595#action_235595 ]
Lukas Theussl commented on DOXIA-408: ------------------------------------- I have no windows box to reproduce but this sounds weird: there should be no new-lines at all, neither in the actual nor especially in the expected result (see e.g. XdocSinkTest, line 129). And why does it only fail for lists and tables, I see no special treatment for those tags? > Test failures on Windows > ------------------------ > > Key: DOXIA-408 > URL: http://jira.codehaus.org/browse/DOXIA-408 > Project: Maven Doxia > Issue Type: Bug > Components: Module - Xdoc > Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200) > Java version: 1.5.0_22 > Java home: C:\Program\Java\jdk1.5.0_22\jre > Default locale: sv_SE, platform encoding: Cp1252 > OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" > Reporter: Dennis Lundberg > Attachments: > org.apache.maven.doxia.module.xdoc.XmlWriterXdocSinkTest.txt > > > mvn test in the xdoc module of the current trunk produces this output > {noformat} > ... > Failed tests: > testList(org.apache.maven.doxia.module.xdoc.XmlWriterXdocSinkTest) > testNumberedList(org.apache.maven.doxia.module.xdoc.XmlWriterXdocSinkTest) > testDefinitionList(org.apache.maven.doxia.module.xdoc.XmlWriterXdocSinkTest) > testTable(org.apache.maven.doxia.module.xdoc.XmlWriterXdocSinkTest) > Tests run: 117, Failures: 4, Errors: 0, Skipped: 0 > ... > {noformat} > The failures has to do with differences in line breaks for list, ordered > list, definition list and table. See attached Surefire report. > The actual results have one line break *less* than expected, which is odd > considering that Windows usually get *more* line breaks. The errors might be > due to differences between org.codehaus.plexus.util.xml.PrettyPrintXMLWriter > and org.codehaus.plexus.util.xml.XmlUtil.prettyFormat(). -- 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