On Tuesday, September 20, 2011 3:58:18 PM atokle wrote: > We use an urn in the namespace of the wsdl and the xsd's that contains a > version number. > For the wsdl the number "1.0" result in the java-package "1_0". Thats fine. > But for the xsd the java-package is truncated to "1", and we loose the minor > version. > > Is it possible to specify that it should use the same rules for the > package-name for the xsd-types too
This is all part of the JAXB spec and is a big long complicated process. If you grab the PDF spec, section D.5.1 outlines how a namespaced URI is to be mapped to a package name. It's 2 pages long so I won't repeat it here. You can down it from: http://jcp.org/en/jsr/detail?id=222 -- Daniel Kulp [email protected] http://dankulp.com/blog Talend - http://www.talend.com
