users@jaxb.java.net

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

From: Nicolas VINOT <aeris_at_imirhil.fr>
Date: Wed, 01 Jun 2011 10:05:28 +0200

On Wed, 1 Jun 2011 09:57:15 +0200, Wolfgang Laun <wolfgang.laun_at_gmail.com>
wrote:
> The XML Schema element <xsd:extension base="..."> is one way of creating
a
> subclass from a superclass. See
>
http://jaxb.java.net/tutorial/section_2_2_13-Defining-Subtypes.html#Defining%20Subtypes
>
> Adding some "extends X" to a generated class where X has not been
generatod
> is not a good idea.

In my idea, X is not generated but contain my custom code (there is too
many methods to do this with xsd inclusion) and generated class inherit
from it.

-- 
Nicolas VINNOT