You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by "Dominik Stadler (Jira)" <ji...@apache.org> on 2022/02/08 20:42:00 UTC

[jira] [Reopened] (XMLBEANS-597) Improve support for using XMLBeans on Android

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

Dominik Stadler reopened XMLBEANS-597:
--------------------------------------

Thanks for the idea, unfortunately I don't know much about the XmlBeans code so didn't want to mess around too much, but I will give it a try and see what I can come up with.

> Improve support for using XMLBeans on Android
> ---------------------------------------------
>
>                 Key: XMLBEANS-597
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-597
>             Project: XMLBeans
>          Issue Type: New Feature
>    Affects Versions: Version 5.0.3
>            Reporter: Dominik Stadler
>            Assignee: Dominik Stadler
>            Priority: Major
>             Fix For: Version 5.1.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The project [https://github.com/centic9/poi-on-android] allows to run Apache POI as part of Android Apps and thus also uses XMLBeans.
> When trying to update to Apache POI 5.2.0, I saw that there is a problem with the SAX parser on Android as it fails when both features "namespaces" and "namespace-prefix" are set to true.
> XMLBeans currently does this in the class {{Locale.SaxLoader}} and thus an Android Application crashes with an error "The 'namespace-prefix' feature is not supported while the 'namespaces' feature is enabled."
>  
> Therefore I  will introduce a system property which can be used to control the SAX feature "namespace-prefixes" to be able to set it to "false" if required.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org