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

Summary: XMLDataObject.getDocument() fails when *.xml file not on mounted FS
Product: platform Reporter: Jesse Glick <jglick>
Component: Data SystemsAssignee: Jesse Glick <jglick>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 36297    

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