users@jaxb.java.net

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

From: Wolfgang Laun <wolfgang.laun_at_gmail.com>
Date: Mon, 30 May 2011 07:32:45 +0200

In the bindings file you must define the NS prefix "xs":
xmlns:xs="http://www.w3.org/2001/XMLSchema"
-W

On 29 May 2011 23:11, Nicolas VINOT <aeris_at_imirhil.fr> wrote:

> Hello,
>
>
> I have a problem with bindings customization.
>
> Join to this mail, my xsd and xjb.
>
>
> When I run
>
> xjc messages.xsd -b messages.xjb.xml
>
> I get the following output
>
> parsing a schema...
>
> [ERROR] XPath error: null
>
> line 9 of file:messages.xjb.xml
>
>
> [ERROR] XPath error: null
>
> line 12 of file:messages.xjb.xml
>
>
> Failed to parse a schema.
>
>
> I search to resolve those errors, but I don't find a working way…
>
> XPath query seem good because evaluation on external tools returns the good
> and unique expected node.
>
>
> Is anyone could help me with this problem?
>
>
> --
>
> Nicolas VINOT
>