Re: Strange exception when running checkstyle

Chris Burdess <[email protected]>
Newsgroups gmane.comp.java.classpath.extensions.xml
Message-ID <[email protected]>
David Brownell wrote:
>> Elsewhere in the GNU JAXP code, when we're given a relative URI in the
>> absence of any other context, we assume it's a file URL relative to 
>> the
>> current directory.
>
> If so, that's "new"; the original code was pretty consistent
> about treating that as an error.

Yes, that's all new code.

>> I believe that other JAXP implementations also make
>> this assumption.
>
> So what do they do in execution contexts like an applet
> or other code without access to such a current filesystem
> directory to use?  Even if there _is_ such a directory,
> it might not be the right context.

In such cases a SecurityException would be thrown.
-- 
Chris Burdess
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.