users@jaxb.java.net

Re: imports under windows

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Wed, 06 Oct 2004 17:29:50 -0700

jon gold wrote:
> has anyone had difficulties resolving xsd:import ...
> schemaLocation="..." under windows?
>
> i have a large schema tree which i use xjc to compile (using the xjc ant
> task and a nested <schema> fileset) just fine on unix/osx, but which
> borks on windows. i saw a post to this list some time ago suggesting
> that you not use schemaLocation="../foo.xsd" but rather
> schemaLocation="file://../foo.xsd", so that the jvm will correctly
> resolve things (and turn '/' into '\', etc). doing this i get fewer
> errors, but still failures (types aren't being resolved or are being
> resolved more than once).

I don't think "file://../foo.xsd" is a correct URL, so I wonder why that
works --- I wouldn't recommend that reference.

Again, if you can file a bug and put schemas there, that would be really
helpful.

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net