Bug 143730 - Cannot resolve qualified EClassifier names in OCL Console
Summary: Cannot resolve qualified EClassifier names in OCL Console
Status: CLOSED FIXED
Alias: None
Product: OCL
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Christian Damus CLA
QA Contact:
URL:
Whiteboard:
Keywords: example
Depends on:
Blocks:
 
Reported: 2006-05-25 10:57 EDT by Christian Damus CLA
Modified: 2011-05-27 02:41 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Damus CLA 2006-05-25 10:57:40 EDT
The OCL Console example cannot resolve qualified EClassifier references in, for example, oclIsKindOf() expressions.  The reason is that it uses the resource set's local package registry, which delegates NS URI lookups to the global registry but does not delegate the Map.values() collection.  Name-based lookup has to walk the values in the registry.
Comment 1 Christian Damus CLA 2006-05-25 11:35:07 EDT
Created (in the example) a delegating package registry that delegates both package/factory look-up and iteration of the values() collection to both the resource set's registry (primary) and the global package registry (secondary).
Comment 2 Nick Boldt CLA 2008-01-28 16:35:52 EST
Move to verified as per bug 206558.
Comment 3 Ed Willink CLA 2011-05-27 02:38:26 EDT
Closing after over a year in verified state.
Comment 4 Ed Willink CLA 2011-05-27 02:41:04 EDT
Closing after over a year in verified state.