users@jaxb.java.net

Re: Unmarshaller.unmarshal(File) fails to unmarshal from a File with "?" in it

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Thu, 27 May 2004 09:56:45 -0700

> Thank you very much for your quick reply. If I understand correctly:
> Unmarshaller.unmarshal(File) is internally using File.toURL()?

Yes.

> 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.

I found a similar bug report:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4472849

Looking at this resolution, the chance of getting this fixed in JDK
seems slim.

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