facebook

xml catalog content assist bug

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #340428 Reply

    jrmcclain
    Member

    I am using MyEclipse version 10.1 and am having trouble with the xml catalog and content assist

    when I add a user specified xml catalog entry for a local xsd file, myeclipse adds it having a uri of the form file:///…..

    when I look at the default plugin specified entries for MyEclipse system xsd files that are local, the uri is of the form file:/…

    The URI is not editable via the edit button

    The problem is that my local xsd’s are NOT being used for content assist. When I hit CTRL-SPACE in an xml node within an xDataDescription node, nothing is returned
    here are the details of the catalog entry that does not get me content assist. All information about the xsd is correct, but the URI format is not consistent with the MyEclipse URI format that works. This seems to be a bug…

    
    Entry element:        URI
    Location:    D:\dev\perforce_workspace\Drop_Zone\CUI\WebSDK_28_LATEST\RC_PCSW_WebSDK\JSDK-Framework\src\resources\xsd\xDataDescription.xsd
    URI:           file:///D:/dev/perforce_workspace/Drop_Zone/CUI/WebSDK_28_LATEST/RC_PCSW_WebSDK/JSDK-Framework/src/resources/xsd/xDataDescription.xsd
    Key type:    Namespace name
    Key:        http://tempuri.org/xDataDescription.xsd
    

    Here is an example of the default xsd that came with myeclipse…

    
    Entry element:        URI
    Location:    C:\Users\jrmcclain\AppData\Local....cp\dtdsAndSchemas\j2ee_web_services_client_1_1.xsd
    URI:           file:/C:/Users/jrmcclain/AppData/Local/MyEclipse/MyEclipse 10/configuration/org.eclipse.osgi/bundles/801/1/.cp/dtdsAndSchemas/j2ee_web_services_client_1_1.xsd
    Key type:    Namespace name
    Key:        http://java.sun.com/xml/ns/j2ee/j2ee_web_services_client_1_1.xsd
    
    #340466

    jrmcclain,

    We could not replicate the issue at our end on MyEclipse 10.7.1. So, can you please update your MyEclipse 10.1 to MyEclipse 10.7.1 ? Go to MyEclipse configuration center > Software tab, select “MyEclipse enterprise workbench 10.7.1” under software updates available section, click on Apply changes and follow the wizard. After updating to MyEclipse 10.7.1, can you please open MyEclipse in a new workspace and import your existing projects into new workspace and check whether the URI is editable using the edit button and also check if content assist works for a xml file ?

    Alternatively, you can generate an XML file from a XSD file by right clicking on the XSD file and select Generate > XML file. (To enable this option you need to switch on WTP Extras. Go to Window > Preferences->General->Capabilities->Advanced->MyEclipse Standard Tools and select ‘WTP Extras’ and click OK. )

    If you can still replicate the issue in MyEclipse 10.7.1, Can you please mention the exact steps in detail to help us replicate the issue at our end ? If possible please attach the .xsd and .xml files to help us investigate further ?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: xml catalog content assist bug

You must be logged in to post in the forum log in