[
https://issues.apache.org/jira/browse/TIKA-1981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15296158#comment-15296158
]
Lae commented on TIKA-1981:
---------------------------
Actually there are other problems preventing it from running on Android as
well, for example {{java.nio.charset.StandardCharsets}} doesn't exist on
Android so I'm getting a {{NoClassDefFoundError}}. Is Android no longer being
supported (or has it ever been?)?
> 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)