maven-doxia-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Siveton" <vincent.sive...@gmail.com>
Subject Re: svn commit: r712146 - /maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/SinkTestDocument.java
Date Fri, 07 Nov 2008 18:42:28 GMT
Hi,

2008/11/7 Hervé BOUTEMY <herve.boutemy@free.fr>:
> -1: please revert this change
>
> String.valueOf( '\u00a9' ) represents the Copyright symbol: there is no
> encoding notion available here.
> => the code was perfectly correct and did what was expected

Not sure since I got exception with the original code (BTW it is weird
since everything should be in UTF-8...)
You are our encoding expert so feel free to fix it.

-------------------------------------------------------------------------------
Test set: org.apache.maven.doxia.module.xhtml.XhtmlIdentityTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.657
sec <<< FAILURE!
testIdentity(org.apache.maven.doxia.module.xhtml.XhtmlIdentityTest)
Time elapsed: 1.625 sec  <<< ERROR!
org.apache.maven.doxia.parser.ParseException: Error validating the
model: Fatal error:
  Public ID: null
  System ID: null
  Line number: 2
  Column number: 1701
  Message: Invalid byte 1 of 1-byte UTF-8 sequence.
	at org.apache.maven.doxia.parser.AbstractXmlParser.validate(AbstractXmlParser.java:554)
	at org.apache.maven.doxia.parser.AbstractXmlParser.parse(AbstractXmlParser.java:105)
	at org.apache.maven.doxia.module.AbstractIdentityTest.testIdentity(AbstractIdentityTest.java:112)
 and so one

Cheers

Vincent

Mime
View raw message