Thank you very much for your quick reply. If I understand correctly:
Unmarshaller.unmarshal(File) is internally using File.toURL()? If so I
understand the problem. File.toURL() is acting as you describe below and
when the URL is processed later the "?" looks like the marker to
introduce the query part of the URL.
Thanks!
Simon
Kohsuke Kawaguchi wrote:
>
> Sounds like you found a bug in JDK. When I tried
>
> System.out.println(new File("foo?bar/baz").toURL());
>
> I got:
>
> file:/home/xxxx/dsnfboc/foo?bar/baz
>
> which isn't a proper URL.
>
> regards,
> --
> 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