users@jaxb.java.net

Re: IndexOutOfBoundsException in serializeURIs

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 03 Jan 2005 17:26:47 -0800

Aleksei Valikov wrote:
> Hi.
>
> I'm experiencing strange behaviour while marshalling list-typed
> attributes: the generated code performs invalid list element access.

This looks like a bug. I guess it's trying to determine which branch of
union it is.

As a workaround, you can use the <jaxb:javaType> customization to
parse/print this "fullDerivationSet" type by yourself.

Also, be warned that s4s won't typically generate a meaningful schema
parsing object model. If you are trying to parse/print XML Schema, there
are existing hand-written libraries that do a better job, such as XSOM [1].

Or is this from one of your users, not from yourself?

[1] http://xsom.dev.java.net/
-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net