ahh,

I think this is the same issue that bit me in my html parser tests.
The fact is that on different systems the encoding (when reading and
compiling) java files is simply different, we should define the
encoding we use for our .java files with something like the following
and make sure our .java files are properly encoded:

        <build>
                <plugins>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-compiler-plugin</artifactId>
                                <configuration>
                                        <source>1.5</source>
                                        <target>1.5</target>
                                        <encoding>utf-8</encoding>
                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                </configuration>
                        </plugin>
                </plugins>
        </build>


--
 Sami Siren


2008/1/23, Bertrand Delacretaz <[EMAIL PROTECTED]>:
> On Jan 23, 2008 6:02 AM, Sami Siren <[EMAIL PROTECTED]> wrote:
>
> > Test set: org.apache.tika.parser.xml.DcXMLParserTest
> > -------------------------------------------------------------------------------
> > Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.099
> > sec <<< FAILURE!
> > testXMLParser(org.apache.tika.parser.xml.DcXMLParserTest)  Time elapsed:
> > 0.036 sec  <<< FAILURE!
> > junit.framework.ComparisonFailure: expected:<...?...> but was:<...รจ...>...
>
> Looks like an encoding problem - In revision 614443 I have isolated
> the part of the test that fails in DcXMLParserTest, with a TODO to fix
> it. Working on that....
>
> -Bertrand
>

Reply via email to