[ 
https://issues.apache.org/jira/browse/TIKA-1981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lae updated TIKA-1981:
----------------------
    Description: 
{{MimeTypesReader}} tries to set the {{FEATURE_SECURE_PROCESSING}} feature but 
this fail on Android with {{SAXNotRecognizedException}}, tested on Galaxy 
Nexus, Android 4.3.

{noformat}
 org.apache.tika.mime.MimeTypeException: Invalid type configuration
     at org.apache.tika.mime.MimeTypesReader.read(MimeTypesReader.java:126)
     at org.apache.tika.mime.MimeTypesFactory.create(MimeTypesFactory.java:64)
     at org.apache.tika.mime.MimeTypesFactory.create(MimeTypesFactory.java:73)
     at ...
 Caused by: org.xml.sax.SAXNotRecognizedException: 
http://javax.xml.XMLConstants/feature/secure-processing
     at 
org.apache.harmony.xml.parsers.SAXParserFactoryImpl.setFeature(SAXParserFactoryImpl.java:93)
     at org.apache.tika.mime.MimeTypesReader.read(MimeTypesReader.java:119)
        ... 14 more
{noformat}

  was:{{MimeTypesReader}} tries to set the {{FEATURE_SECURE_PROCESSING}} 
feature but this fail on Android with {{SAXNotRecognizedException}}, tested on 
Galaxy Nexus, Android 4.3.


> secure-processing not supported by some implementations
> -------------------------------------------------------
>
>                 Key: TIKA-1981
>                 URL: https://issues.apache.org/jira/browse/TIKA-1981
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.13
>            Reporter: Lae
>
> {{MimeTypesReader}} tries to set the {{FEATURE_SECURE_PROCESSING}} feature 
> but this fail on Android with {{SAXNotRecognizedException}}, tested on Galaxy 
> Nexus, Android 4.3.
> {noformat}
>  org.apache.tika.mime.MimeTypeException: Invalid type configuration
>      at org.apache.tika.mime.MimeTypesReader.read(MimeTypesReader.java:126)
>      at org.apache.tika.mime.MimeTypesFactory.create(MimeTypesFactory.java:64)
>      at org.apache.tika.mime.MimeTypesFactory.create(MimeTypesFactory.java:73)
>      at ...
>  Caused by: org.xml.sax.SAXNotRecognizedException: 
> http://javax.xml.XMLConstants/feature/secure-processing
>      at 
> org.apache.harmony.xml.parsers.SAXParserFactoryImpl.setFeature(SAXParserFactoryImpl.java:93)
>      at org.apache.tika.mime.MimeTypesReader.read(MimeTypesReader.java:119)
>       ... 14 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to