Hi all,

I just did an svn up from trunk, and  mvn clean install is failing with:

Failed tests:   testTTFParsing(org.apache.tika.parser.font.FontParsersTest): 
expected:<1904-01-01T0[0]:00:00Z> but was:<1904-01-01T0[8]:00:00Z>

Which is this line in the test:

        assertEquals("1904-01-01T00:00:00Z",   
metadata.get(Metadata.CREATION_DATE));

In the TrueTypeParser I see:

        metadata.set(TikaCoreProperties.CREATED, font.getHeader().getCreated());

Which seems odd, as other parsers seem to be setting CREATED to a Date object, 
but here it's being set to a Calendar.

However changing that to .getCreated().getTime() doesn't solve the problem.

-- Ken

--------------------------
Ken Krugler
+1 530-210-6378
http://www.scaleunlimited.com
custom big data solutions & training
Hadoop, Cascading, Cassandra & Solr





Reply via email to