eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

Query on multipackages metamodel #41

Closed eclipse-ocl-bot closed 18 hours ago

eclipse-ocl-bot commented 18 hours ago

| --- | --- | | Bugzilla Link | 129769 | | Status | CLOSED FIXED | | Importance | P3 normal | | Reported | Feb 28, 2006 08:50 EDT | | Modified | May 27, 2011 02:41 EDT | | Version | 1.0.0 | | Reporter | Eclipse Community User |

Description

Referring to: http://www.eclipse.org/newsportal/article.php?id=279&group=eclipse.technology.emft\#279

It seems that there are some problem relating to the ocl parser (1.0M5) when it is time to resolve object defined into a multipackages metamodel via ns prefix.

In attachment a testcase.

eclipse-ocl-bot commented 18 hours ago

By on Feb 28, 2006 08:53

Created attachment 35468 Zipped plugin that make query on a test multipackages emf metamodel

HTH

:compression: testMP.zip

eclipse-ocl-bot commented 18 hours ago

By Christian Damus on Mar 29, 2006 14:34

Updated the parser to first attempt to resolve absolute package references against the names of EPackages in the registry, instead of their NS prefixes (using the NS prefixes only as a last resort, for backward compatibility).

The test code in the attached ZIP file has problems, as follows:

The last test expression (looking for model::BasicShape) is fixed by the changes described above to resolve this bug. The first test expression (looking for genpicture::GenPicture) is invalid because the genpicture package cannot be located either as an absolute name or as a name relative to the context package.

eclipse-ocl-bot commented 18 hours ago

By Nick Boldt on Jan 28, 2008 16:35

Move to verified as per bug 206558.

eclipse-ocl-bot commented 18 hours ago

By Nick Boldt on Jan 28, 2008 16:41

Move to verified as per bug 206558.

eclipse-ocl-bot commented 18 hours ago

By Ed Willink on May 27, 2011 02:40

Closing after over a year in verified state.

eclipse-ocl-bot commented 18 hours ago

By Ed Willink on May 27, 2011 02:41

Closing after over a year in verified state.