Namespace problems

From: Bruno Ledesma <>
Date: Wed, 10 Sep 2008 12:33:22 -0300

Hi everyone, im kind of newbie using JAXB and recently subscribed the mail
I using the maven-jaxb2-plugin to generate Java classes from the XSD files
that are provided to me. I have the xsd above

<xs:schema xmlns:xs=""

When i run the plugin to generate the java classes, the files that are
generated are not mapping the targetNamespace to the XmlType namespace
attribute. Does anyone know why? I need the namespace to be mapped to the
javaClass , because i use it for some other code generation.


Bruno Ledesma!