Hi again, I reverted this in 712235 and fix the pb of invalid bytes.
Hope that it is correct now. Vincent 2008/11/7 Vincent Siveton <[EMAIL PROTECTED]>: > Hi, > > 2008/11/7 Hervé BOUTEMY <[EMAIL PROTECTED]>: >> -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 >