okay. i'll try replacing with absolute paths and file:///... and see if
any of that works. perhaps it's not valid (i think i've used it
elsewhere, but two wrongs don't make a right). it will probably be a few
days before i revisit this, so all you jaxb users rest assured that i'll
post an update if and when i have one.
jon
Kohsuke Kawaguchi wrote:
> 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.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net