You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Nick Burch (JIRA)" <ji...@apache.org> on 2013/08/28 14:58:52 UTC
[jira] [Commented] (TIKA-1168) The IWork NumbersContentHandler
returns unsupported Metadata PropertyType
[ https://issues.apache.org/jira/browse/TIKA-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13752363#comment-13752363 ]
Nick Burch commented on TIKA-1168:
----------------------------------
Do you have a sample file that shows the problem?
> The IWork NumbersContentHandler returns unsupported Metadata PropertyType
> -------------------------------------------------------------------------
>
> Key: TIKA-1168
> URL: https://issues.apache.org/jira/browse/TIKA-1168
> Project: Tika
> Issue Type: Bug
> Components: parser
> Affects Versions: 1.4
> Reporter: Jake Gilley
>
> The resolveMetadataKey function in org.apache.tika.parser.iwork.NumbersContentHandler returns a Property with PropertyType "SIMPLE" by default. This is causing a PropertyTypeException("SIMPLE is not supported") when adding the Property using Metatadata.add(Property, String). The exception is being generated by line 92 in org.apache.tika.parser.iwork.NumbersContentHandler.
> metadata.add(metadataKey, attributes.getValue("sfa:string"));
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira