This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 20170 - Access to external entities referenced from XMLFileSsytem
Summary: Access to external entities referenced from XMLFileSsytem
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: rmatous
URL:
Keywords:
Depends on: 18220
Blocks:
  Show dependency tree
 
Reported: 2002-02-05 15:54 UTC by Jaroslav Tulach
Modified: 2008-12-22 17:46 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2002-02-05 15:54:55 UTC
Radek has found out why the copy of XMLFileSystem to LocalFileSystem (in issue
20168) is so slow: Because we also copy all the files that the XMLFileSystem
references as url="...".

It is wise not to copy them, but just include the urls. 

To implement something like this we need XMLFS to provide access to the value of
the URL.
Comment 1 Jesse Glick 2002-02-06 11:55:01 UTC
Could just use getInternalURL of a FileObjectURLMapper. If it comes up
as nbfs:, we need to copy it, but if there is a better protocol
(typically will be nbres: I think, or maybe it is jar:file:; depends
on module system's implementation) then we can use that instead.
Comment 2 rmatous 2002-04-30 14:08:08 UTC
Fixed in trunk:

URLMapper.java
new revision: 1.4; previous revision: 1.3

XMLFileSystem.java
new revision: 1.58; previous revision: 1.57
Comment 3 Jaroslav Tulach 2003-07-14 15:24:50 UTC
Not needed anymore I guess.