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 36340 - XMLDataObject.getDocument() fails when *.xml file not on mounted FS
Summary: XMLDataObject.getDocument() fails when *.xml file not on mounted FS
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks: 36297
  Show dependency tree
 
Reported: 2003-09-29 21:04 UTC by Jesse Glick
Modified: 2008-12-22 19:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2003-09-29 21:04:19 UTC
Because it tries to get a URL for the file, which
produces an unusable URL (because the system name
of the filesystem is not listed in
Repository.default). Should fall back to parsing
from the InputStream, which is just as good except
for the case of an XML file trying to use relative
entity includes on other file objects in the same
filesystem.
Comment 1 Jesse Glick 2003-09-29 23:52:47 UTC
committed     Up-To-Date  1.6        
openide/loaders/src/org/openide/loaders/XMLDataObject.java
Comment 2 Marian Mirilovic 2005-07-13 13:24:12 UTC
closed