[
https://issues.apache.org/jira/browse/OLINGO-231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Bolz updated OLINGO-231:
--------------------------------
Description:
Because of the lack of the newer Streaming API for XML (StAX) in Android some
enhancement is necessary to use the Olingo {{EntityProvider}} in an Android
application.
An idea is to create a thin layer (wrapper) between Olingo and the used XML
parsing framework. This layer will be oriented by the Java StAX API and ideally
just wraps (delegates) the calls to the concrete implementation. Any concrete
implementation (e.g. for Android) than could be implemented in a separate
project (jar) and will be loaded via a {{XmlParserFactory}} (similar to current
JDKs {{XMLInputFactory}} and {{XMLOutputFactory}}). This way no specific XML
library code will be within the Olingo {{core}} and {{api}} modules.
was:
Because of the lack of the newer Streaming API for XML (StAX) in Android some
enhancement is necessary to use the Olingo {{EntityProvider}} in an Android
application.
An idea is to create a thin layer (wrapper) between Olingo and the used XML
parsing framework. This layer will be oriented by the Java StAX API and idealy
just wraps (delegats) the calls to the concrete implementation. Any concrete
implementation (e.g. for Android) than could be implemented in a separate
project (jar) and will be loaded via a {{XmlParserFactory}} (similar to current
JDKs {{XMLInputFactory}} and {{XMLOutputFactory}}). This way no specific XML
library code will be within the Olingo {{core}} and {{api}} modules.
> Enable EntityProvider for consume/produce of XML on Android platform
> ---------------------------------------------------------------------
>
> Key: OLINGO-231
> URL: https://issues.apache.org/jira/browse/OLINGO-231
> Project: Olingo
> Issue Type: Improvement
> Components: odata2-core
> Affects Versions: V2 1.3.0
> Reporter: Michael Bolz
> Assignee: Michael Bolz
>
> Because of the lack of the newer Streaming API for XML (StAX) in Android some
> enhancement is necessary to use the Olingo {{EntityProvider}} in an Android
> application.
> An idea is to create a thin layer (wrapper) between Olingo and the used XML
> parsing framework. This layer will be oriented by the Java StAX API and
> ideally just wraps (delegates) the calls to the concrete implementation. Any
> concrete implementation (e.g. for Android) than could be implemented in a
> separate project (jar) and will be loaded via a {{XmlParserFactory}} (similar
> to current JDKs {{XMLInputFactory}} and {{XMLOutputFactory}}). This way no
> specific XML library code will be within the Olingo {{core}} and {{api}}
> modules.
--
This message was sent by Atlassian JIRA
(v6.2#6252)