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

Tim Allison edited comment on TIKA-3104 at 6/24/20, 7:49 PM:
-------------------------------------------------------------

>Btw I wanted to check for a key if the memgraph was of xml type

 

We'll take care of this on our side.  No need for you to worry about it.

 

If you look here, you can see our current heuristics:  
[https://github.com/apache/tika/blob/master/tika-parsers/src/main/java/org/apache/tika/parser/apple/BPListDetector.java#L100]

 

What's great about this library is that whether you're parsing an XML or binary 
plist, you work with an NSObject...so the parser will be the same, and it will 
take only a little code to get the xml detection working.

 

It's almost like this facade kind of thing that gives the same type of 
interface no matter the type of underlying file... 


was (Author: [email protected]):
>Btw I wanted to check for a key if the memgraph was of xml type

 

We'll take care of this on our side.  No need for you to worry about it.

 

If you look here: 
[https://github.com/apache/tika/blob/master/tika-parsers/src/main/java/org/apache/tika/parser/apple/BPListDetector.java#L100]

 

What's great about this library is that whether you're parsing an XML or binary 
plist, you work with an NSObject...so the parser will be the same, and it will 
take only a little code to get the xml detection working.

 

It's almost like this facade kind of thing that gives the same type of 
interface no matter the type of underlying file... 

> Detection of memgraph files exported from Xcode
> -----------------------------------------------
>
>                 Key: TIKA-3104
>                 URL: https://issues.apache.org/jira/browse/TIKA-3104
>             Project: Tika
>          Issue Type: Wish
>          Components: core
>    Affects Versions: 1.24
>            Reporter: Parth
>            Assignee: Tim Allison
>            Priority: Major
>              Labels: detection, features, new-parser
>             Fix For: 1.25
>
>         Attachments: DeepScroll_Example[4988].memgraph, 
> DeepScroll_Example[6314]_bplist.memgraph, 
> DeepScroll_Example[6314]_xml.memgraph, memgraph.xml, out.memgraph.json, 
> out.memgraph.xhtml
>
>
> I wanted to detect a memgraph file linked by a url. But currently detection 
> of memgraph file is not supported. I tried adding to custom-mimetypes but 
> that did not help.  
> <mime-info>
>  <mime-type type="application/memgraph">
>  <glob pattern="*.memgraph"/>
>  </mime-type>
> </mime-info>
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to