users@jaxb2-commons.java.net

Namespace problems

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

Hi everyone, im kind of newbie using JAXB and recently subscribed the mail
list.
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="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="qualified"
    targetNamespace="http://www.foocom.br/FOO/Foo"
    xmlns:cat="http://www.foocom.br/FOO/Foo">

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.

thanks,

Bruno Ledesma!