[ 
https://issues.apache.org/jira/browse/TIKA-1310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14011084#comment-14011084
 ] 

Tim Allison commented on TIKA-1310:
-----------------------------------

[~tpalsulich], thank you for attaching the files.  

I think the correct json should be "multiple_values":"1,2,3,4"

I don't think that our metadata parsers should be responsible for recognizing a 
comma-delimited value as multiple values.  Our json output, however, should 
properly put double-quotes around a value that contains numerals and commas, 
which it currently doesn't.

Fix on way. Thank you, again [~tpalsulich], [~vitormil] and Steffen (over on 
TIKA-1291).  

> Parse error - fb:admins property
> --------------------------------
>
>                 Key: TIKA-1310
>                 URL: https://issues.apache.org/jira/browse/TIKA-1310
>             Project: Tika
>          Issue Type: Bug
>          Components: metadata
>    Affects Versions: 1.5
>         Environment: java version "1.7.0_60-ea"
> Java(TM) SE Runtime Environment (build 1.7.0_60-ea-b01)
> Java HotSpot(TM) 64-Bit Server VM (build 24.60-b03, mixed mode)
>            Reporter: Vitor Oliveira
>            Assignee: Tim Allison
>            Priority: Critical
>         Attachments: cli_json_test.patch, multi_metadata_expected.json, 
> multi_metadata_output.json, multi_valued_test.html
>
>
> Steps to reproduce the problem:
> 1) Download the HTML file:
> curl --output default.html 
> "http://techcrunch.com/2014/05/01/snapchat-adds-text-chat-and-video-calls/";
> 2) Extract the metadata
> java -jar tika-app-1.5.jar --json default.html --encoding=UTF-8 > 
> metadata.json
> There is a problem with the "fb:admins" property that does not allow the JSON 
> file to be parsed properly.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to