users@jaxb.java.net

Re: Namespace to package name default mapping is dropping a digit in version number

From: Farrukh Najmi <farrukh_at_wellfleetsoftware.com>
Date: Tue, 11 Dec 2007 14:57:06 -0500

Farrukh Najmi wrote:
>
> I am using xjc via jaxws-maven-plugin and wsimport.
>
> My versions are:
>
> <jaxb.version>2.1.4</jaxb.version>
> <jaxws.version>2.1.2-M1</jaxws.version>
>
>
> I am specifying no package name customizations.
> Under default mapping of namespace to package name I am finding that
> wsdl namespaces are being mapped
> reasonably while XML Schema namespaces are having some information
> loss when converting numeric values representing the
> schema version.
>
> For example the following namespace:
>
> urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0
>
> Generates a default package name of:
>
> oasis.names.tc.ebxml_regrep.xsd.rim._3
>
> When I expected it to be something like:
>
> oasis.names.tc.ebxml_regrep.xsd.rim._3_1

Oops above should have read: oasis.names.tc.ebxml_regrep.xsd.rim._3_0
>
> Meanwhile a wsdl namespace of:
>
> urn:xxx:yyy:zzz:1.0:wsdl-1.1:interface
>
> generated the expected package name of:
>
> xxx.yyy.zzz._1_0.wsdl_1_1.interface
>
> Is this a known issue? If so whats the issue #?
> Has it been fixed in a more recent version? If so which one?
> Shall I file a bug report and if so with which project and module?
>
> Thanks.
>


-- 
Regards,
Farrukh Najmi
Web: http://www.wellfleetsoftware.com