Community
Participate
Working Groups
To reproduce: - Set a break point in createFileMap() of XSDSearchListProvider - Follow the following steps: 1) Using XML examples 2) open GolfCountryClub 3) import SpaceWarGame into GolfCountryClub using desing view and properties sheet 4) open Browse to set Type for any element 5) change the scope to Project or Workspace 6) Break point is hit, now check the location of the imported SpaceWarGame schema object with the debugger. It's null
Created attachment 49302 [details] for org.eclipse.wst.xsd.ui The problem occurs because creating xsdSchema object using XSDParser doesn't set the location field for the xsdSchema object. I changed code to use resource set to parse the xsdSchema object.. This should completely fixes Bug 144359
Created attachment 49303 [details] for org.eclipse.wst.xsd.ui This patch produces all the warning about namespace when choosing files to be included or imported by using/copying part of the old code.
I did not touch the case when the imported file is from http:// ... not from a file from the workspace
Assigned to Trung
mass update to remove target for all those targeted to 1.5.3 that were "normal" severity and "priority 3" (on the surface those dont' seem serious enough to fix in a maintenance release). If I have made an error pleasae reset target and set priority appropriately.
Created attachment 92851 [details] for 'org.eclipse.xsd.ui' New patch, no conflict.
Trung, see my changes to XSDImportSection.
Verified fix is in S-3.0M6-20080404063211
mass change to add 'contributed' keyword based on bugzilla query, please correct if that's not accurate (by marking patches as obsolete and removing the 'contributed' keyword.