You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by Aleksander Slominski <as...@cs.indiana.edu> on 2004/10/25 19:38:19 UTC
Re: [Axis2] - XMLBeans and StAX
AFAIK: new version of XmlBeans (available in CVS) has StaX directly
integrated however i am not sure how stable it is or when is official
release planned?
still i think we should make binding flexible and allow to support in
AXIS2 many different binding options right?
thanks,
alek
Eran Chinthaka wrote:
>I agree, there is nothing wrong with that.
>
>But if we can directly integrate StAX to XMLBeans without these conversions,
>I think it would be more efficient.
>
>BTW : Most of the data binding tools we have today supports SAX. So if we
>write a StAX -> SAX converter, AXIS 2 has a great flexibility to use any
>data binding tool.
>
>________________________________
>
>Eran Chinthaka
>Lanka Software Foundation
>
>-----Original Message-----
>From: Jochen Wiedmann [mailto:jochen.wiedmann@freenet.de]
>Sent: Monday, October 25, 2004 2:27 PM
>To: axis-dev@ws.apache.org
>Subject: Re: [Axis2] - XMLBeans and StAX
>
>Eran Chinthaka wrote:
>
>
>
>>XMLBeans currently doesn't support StAX as a parser. But we can give SAX
>>events to XMLBeans by converting StAX events to SAX.
>>
>>
>
>What's bad with that? The conversion of StAX -> SAX will be used quite
>frequently. All data binding frameworks I know of depend on SAX.
>
>
>Jochen
>
>
>
>
--
The best way to predict the future is to invent it - Alan Kay
Re: [Axis2] - XMLBeans and StAX
Posted by ja...@mac.com.
On 25 Oct 2004, at 18:38, Aleksander Slominski wrote:
> AFAIK: new version of XmlBeans (available in CVS) has StaX directly
> integrated however i am not sure how stable it is or when is official
> release planned?
I'm not sure how complete the XMLBeans -> StAX implementation is yet;
I've hit a few bugs trying to go from XMLBeans -> StAX using the latest
versions of both - the only way I could get it to work was going
XMLBeans -> SAX -> StAX :(.
Some good namespaced & non-namespaced unit tests would be very handy
for testing that this actually works. I'll be really happy when the
two work together nicely :)
James
/**********************************
* James Strachan
*
* Protique
* http://protique.com/
* Enterprise Open Source
*
* Blog:
* http://radio.weblogs.com/0112098/
**********************************/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org