users@jaxb.java.net

Re: IndexOutOfBoundsException in serializeURIs

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Tue, 04 Jan 2005 10:28:44 +0100

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?

Thanks.
The problem comes from one of the HyperJAXB examples where XML Schema is
the XML Schema of the XML Schema. :)
This has no industrial application, the example is for demonstration
purposes only.

Bye.
/lexi

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net