[ https://issues.apache.org/jira/browse/XMLBEANS-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dominik Stadler updated XMLBEANS-597: ------------------------------------- Description: 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. was: 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 use the distribution, 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. 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. > 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-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org