Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » StAX for EMF
StAX for EMF [message #430949] Fri, 19 June 2009 09:17 Go to next message
Kristian Sons is currently offline Kristian Sons
Messages: 27
Registered: July 2009
Junior Member
Hello,

has anyone tried to use the StAX interface as alternative to the SAX
implementation of XMLHandler?

Regards,
Kristian
Re: StAX for EMF [message #430958 is a reply to message #430949] Sat, 20 June 2009 08:24 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26054
Registered: July 2009
Senior Member
Kristian,

Not that I know of. What advantage would that have given that EMF
parses the whole resource anyway?


Kristian Sons wrote:
> Hello,
>
> has anyone tried to use the StAX interface as alternative to the SAX
> implementation of XMLHandler?
>
> Regards,
> Kristian
Re: StAX for EMF [message #430968 is a reply to message #430958] Mon, 22 June 2009 09:04 Go to previous message
Kristian Sons is currently offline Kristian Sons
Messages: 27
Registered: July 2009
Junior Member
Ed,

> Not that I know of. What advantage would that have given that EMF
> parses the whole resource anyway?

I know current SAX implementations consume a lot of runtime and memory
if they have to handle large attribute values. For instance in X3D,
point coordinates are saved as attribute values. It would be interesting
to see, if the StaX pulling mechanism (and it's implementations) would
handle this better.

Kristian


>
>
> Kristian Sons wrote:
>> Hello,
>>
>> has anyone tried to use the StAX interface as alternative to the SAX
>> implementation of XMLHandler?
>>
>> Regards,
>> Kristian
Previous Topic:Cross resource containment + Dynamic loading
Next Topic:How to set a feature defined as an XSD abstract element
Goto Forum:
  


Current Time: Mon Sep 22 12:24:11 GMT 2014

Powered by FUDForum. Page generated in 0.01767 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software