Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 113249

Summary: [XML Catalog] XML catalog can only import catalogs from the workspace
Product: [WebTools] WTP Source Editing Reporter: Lawrence Mandel <lmandel>
Component: wst.xmlAssignee: wst.xml-triaged <wst.xml-triaged>
Status: CLOSED FIXED QA Contact: Nitin Dahyabhai <thatnitind>
Severity: enhancement    
Priority: P4 CC: d_a_carver, gindik, itewksbu, keith.chong.ca, thatnitind, valentinbaciu
Version: 0.7   
Target Milestone: Future   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch none

Description Lawrence Mandel CLA 2005-10-20 11:50:39 EDT
When selecting import from the XML catalog, the catalog only allows you to
import catalogs with files in the workspace. There doesn't seem to be any reason
for this and it can be irritating. For example, when setting up a new workspace
I wanted to import a catalog from another workspace. In order to do this I had
to create a project in my new workspace, import my catalog file (exported from
the other workspace), import it into the catalog, and then delete the project.
Comment 1 David Williams CLA 2005-11-22 01:43:42 EST
Ella ... you still want these? 
Comment 2 Ella Belisario CLA 2005-11-22 11:13:09 EST
Yes, I'll fix it.
Comment 3 David Williams CLA 2006-03-28 02:59:13 EST
Craig, will you please triage and/or re-assign these bugs that were assigned to Ella? 

Comment 4 Gabriel Indik CLA 2007-02-20 14:21:11 EST
Created attachment 59402 [details]
Patch

This patch adds the capability to import and export XML Catalogs from both the workspace and the file system.
It also addresses the issues reported in bug 174836 and in bug 174839 by properly handling paths with spaces and exceptions such as IO errors caused when trying to save an already existing read-only file.
Comment 5 David Carver CLA 2007-12-26 17:48:42 EST
(In reply to comment #4)
> Created an attachment (id=59402) [details]
> Patch
> 
> This patch adds the capability to import and export XML Catalogs from both the
> workspace and the file system.
> It also addresses the issues reported in bug 174836 and in bug 174839 by
> properly handling paths with spaces and exceptions such as IO errors caused
> when trying to save an already existing read-only file.
> 

This probably needs to be updated with bug 192568 going in for M3.

Comment 6 Amy Wu CLA 2008-02-28 03:30:53 EST
Comment on attachment 59402 [details]
Patch

Like Dave said in the previous comment, the fix to bug 192568 rendered this patch obsolete (the advanced options dialog is never invoked).  Marking this patch obsolete.  I also verified that this is still a problem in wtp 3.0 m5.
Comment 7 Valentin Baciu CLA 2008-11-05 11:41:19 EST
Perhaps we could consider enhancing the first page in the new XML catalog import wizard.
Comment 8 Ian Tewksbury CLA 2010-04-05 13:27:48 EDT
In WTP 3.2 there is a button on the "Import XML Catalog" wizard that says "Import Files..." from here a user can select an external XML Catalog to import.  Does this meet the requirements of this enhancement request?
Comment 9 David Carver CLA 2010-04-05 13:53:26 EDT
(In reply to comment #8)
> In WTP 3.2 there is a button on the "Import XML Catalog" wizard that says
> "Import Files..." from here a user can select an external XML Catalog to
> import.  Does this meet the requirements of this enhancement request?

That whole page actually needs a redesign.
Comment 10 Lawrence Mandel CLA 2010-11-04 14:37:34 EDT
I'm satisfied that my original request has been met. I'm resolving this enhancement as fixed.

Dave - If you think the page needs a redesign please open a new enhancement request.
Comment 11 Lawrence Mandel CLA 2010-11-04 14:38:17 EDT
As the originator I have verified that this enhancement is in Helios. Marking as verified and closing.
Comment 12 Lawrence Mandel CLA 2010-11-04 14:38:27 EDT
Closing.