users@jaxb.java.net

Re: Multiple schema and maven plugin

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Wed, 6 Jun 2007 10:40:09 +0200

Hi.


I have the following error message with my maven compile
>
> [ERROR] [ERROR] XPath evaluation of "/xs:schema" results in empty target
> node.
>
> My XML schema dose have xs,
>

...

 <?xml version="1.0" encoding="UTF-8"?>
> <jaxb:bindings
> version=" 2.1"
> xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
> xmlns:xs=" http://www.w3.org/2001/XMLSchema "
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance "
> xsi:schemaLocation=" http://java.sun.com/xml/ns/jaxb http://java.sun.com/xml/ns/jaxb/bindingschema_2_0.xsd
> ">
>


I think there's a trailing space in xmlns:xs, maybe it produces the error?

Bye.
/lexi