maven-doxia-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé BOUTEMY <herve.bout...@free.fr>
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 21:40:01 GMT
+1
yes, that's it

well done :)

Hervé

Le vendredi 07 novembre 2008, Vincent Siveton a écrit :
> 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 <vincent.siveton@gmail.com>:
> > 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(AbstractXmlParse
> >r.java:554) at
> > org.apache.maven.doxia.parser.AbstractXmlParser.parse(AbstractXmlParser.j
> >ava:105) at
> > org.apache.maven.doxia.module.AbstractIdentityTest.testIdentity(AbstractI
> >dentityTest.java:112) and so one
> >
> > Cheers
> >
> > Vincent



Mime
View raw message