users@jaxb.java.net

Re: Help about "[ERROR] XPath error: null"

From: <list_at_mofokom.biz>
Date: Wed, 01 Jun 2011 21:20:20 +1000

yes that is correct you'll need to write a plugin - it's pretty easy
once you get the hang of it - please look at xjc plugins at mofokom.

http://www.mofokom.biz/artifactory/snapshots-public/mofokom/xjc-clone/

http://www.mofokom.biz/artifactory/snapshots-public/mofokom/xjc-ii/

http://www.mofokom.biz/artifactory/snapshots-public/mofokom/xjc-transient/

Nicolas VINOT wrote:
>
>
> Le mardi 31 mai 2011 09:30:48, vous avez écrit :
>
> > it was a problem with namespaces in the xml declaration.. try this..
>
>
> Thanks a lot, it's working =)
>
>
> I have an other question about customization.
>
>
> I have to insert some custom methods into generated binding classes.
>
>
> To achieve this without loosing modifications after regeneration, I
> hoped I can declare superclass for those generated classes, but it seems
> <xjc:superClass> can only be on <globalBindings> and not on other scopes.
>
>
> What is the best way for inserting custom methods into JAXB generated
> classes ?
>
>
> Thanks in advance for your responses
>
> --
>
> Nicolas VINOT
>