abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James M Snell <jasn...@gmail.com>
Subject Re: Status of trunk and maven repository
Date Wed, 20 Sep 2006 18:39:28 GMT
That would make sense.  We need to do some thorough testing with regards
to character set encodings, etc.

- James

Hugo Duncan wrote:
> James M Snell wrote:
>> Garrett Rooney wrote:
>>> [snip]
>>>> testSection4275LinkTitleWithBadchars(org.apache.abdera.test.parser.stax.FeedValidatorTest)
>>>>
>>>> Time elapsed: 0.125 sec  <<< FAILURE!
>>>> junit.framework.ComparisonFailure: expected:<This is a [£?test.?]>
but
>>>> was:<This is a [£Â"test.Â"]>
>>>>         at junit.framework.Assert.assertEquals(Assert.java:81)
>>>>         at junit.framework.Assert.assertEquals(Assert.java:87)
>>>>         at
>>>>
> org.apache.abdera.test.parser.stax.FeedValidatorTest.testSection4275LinkTitleWithBadchars(FeedValidatorTest.java:3017)
>>> Interesting.  Not sure we would cause it though, that test runs fine  
>>> here.
>>>
>> Here as well.
>>
> 
> It seems this is a problem with the default encoding used by java.
> 
> adding "<encoding>utf-8</encoding>" to the configuration of the  
> maven-compiler-plugin in the top level pom corrects this for me.  I  
> suppose that on my platform (windows XP) the default encoding is something  
> else.
> 
> 
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 

Mime
View raw message