Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 67463 - Launch Shortcuts schema is incorrect
Summary: Launch Shortcuts schema is incorrect
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 RC3   Edit
Assignee: Darin Wright CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-16 11:09 EDT by Dejan Glozic CLA
Modified: 2004-06-17 12:43 EDT (History)
1 user (show)

See Also:


Attachments
Patch for debug-ui (785 bytes, patch)
2004-06-16 15:14 EDT, Wassim Melhem CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dejan Glozic CLA 2004-06-16 11:09:41 EDT
The schema for org.eclipse.debug.ui.filaunchShortcuts is incorrect. It 
includes the common expressions schema (which is fine), but it also defines a 
duplicate element 'enablement' that has no content model. This element masks 
the one defined in the included schema. As a result, PDE builder is confused 
and reports fake warnings.

To fix it, just remove 'enablement' definition. Once you do that, 
add 'enablement' to the grammar of the parent - the reference to 'enablement' 
that will appear in the pop-up menu will now come from the included schema.

We will be fixing a related defect for RC3 (when included schema is in an 
external plug-in), so you may need to pick up a fresh Wednesday afternoon 
build in order to verify the fix.
Comment 1 Darin Wright CLA 2004-06-16 12:22:44 EDT
This is a doc change only. Does not need double approval.
Comment 2 Wassim Melhem CLA 2004-06-16 15:00:16 EDT
For your convenience, I will provide a patch for this one.
Comment 3 Wassim Melhem CLA 2004-06-16 15:14:15 EDT
Created attachment 12309 [details]
Patch for debug-ui
Comment 4 Darin Wright CLA 2004-06-16 15:19:59 EDT
Applied patch.
Comment 5 Darin Wright CLA 2004-06-16 15:20:15 EDT
Will verify in next build.
Comment 6 Darin Wright CLA 2004-06-17 12:43:59 EDT
Verified.