You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by "Talbott, Tara D" <ta...@pnl.gov> on 2005/03/11 02:53:42 UTC
extensibility of jaxme?
Hi,
We are currently looking into implementing a parser for the DFDL spec.
(A data format description language based on the xml schema, which uses
xml to define the structure of the data.) We were thinking it would be
easiest to extend an existing java/xml binding compiler to create java
classes which can parse/retrieve their output values from incoming
stream(s). From what I can tell, JaxMe appears to be a good
implementation for this, and schema type objects should be easily
extensible, our biggest concern is that it doesn't support the full
schema yet. Also, how is the performance of jaxme? When marshalling
does it use lazy binding? We were wondering your opinion on how this
fits with our project, or if there are better implementations out there.
Thanks!
Tara
Re: extensibility of jaxme?
Posted by Jochen Wiedmann <jo...@gmail.com>.
Tara,
these are difficult questions.
On Thu, 10 Mar 2005 17:53:42 -0800, Talbott, Tara D
<ta...@pnl.gov> wrote:
> define the structure of the data.) We were thinking it would be easiest to
> extend an existing java/xml binding compiler to create java classes which
> can parse/retrieve their output values from incoming stream(s).
I understand, that these streams aren't necessarily XML? If so, I have
implemented
a similar thing in the JaxMe predecessor, called Parselets. See
http://jaxme.sf.net/docs/api/de/ispsoft/jaxme/Parselet.html
for a rough idea. Basically, the generator converts the schema into a
set of Parselets.
This hasn't done with JaxMe 2. However, the main ideas are so comparable and the
extensibility of JaxMe 2 is even better than it has been for the predecessor.
> type objects should be easily extensible, our biggest concern is that it
> doesn't support the full schema yet.
That's right. Since this week, we have support for nested groups with
multiplicity <= 1.
More to come, hopefully.
> Also, how is the performance of jaxme?
My believe is, that you won't find a faster parser, which is generated.
> When marshalling does it use lazy binding?
Can you explain what you mean by that?
Jochen
--
Sum. Cogitone?
---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org