Ed Mooney wrote:
> The three schemas I grabbed from:
>
> http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=wsn
>
> use URLs for namespaces and result in naming collisions if you try to
> compile them in a single xjc invocation.
Is that because the namespace URI -> package name conversion truncates
file name portion (and therefore coerce those three URIs into the same
package?)
> I was able to compile them like
> this:
>
> for x in *.xsd;do xjc.sh -host webcache.east -port 8080 $x;done
>
> and compile the bindings like this:
>
> javac `find org -name '*.java'`
>
> -- Ed
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com