Bug 255265 - QVTO: Disable mappings with the same name and context be used in ResolveInExp
Summary: QVTO: Disable mappings with the same name and context be used in ResolveInExp
Status: RESOLVED FIXED
Alias: None
Product: QVTo
Classification: Modeling
Component: Engine (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.0 M5   Edit
Assignee: Radomil Dvorak CLA
QA Contact:
URL:
Whiteboard:
Keywords: Documentation
Depends on:
Blocks:
 
Reported: 2008-11-13 14:49 EST by Alexander Igdalov CLA
Modified: 2009-01-19 10:31 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Igdalov CLA 2008-11-13 14:49:23 EST
See bug 203567. This bug contradicts the spec and required QVTO AST deviation. This is to be eliminated.
Comment 1 Radomil Dvorak CLA 2009-01-19 10:31:05 EST
According to OMG spec (8.2.1.23 ResolveInExp), if a mapping reference in resolveIn expression can't be resolved to a unique mapping operation,
ambiguity error is reported.

Solved by resolution of bug #261203.

Migration note: 
---------------
The QVTO 1.0 compiled such cases sucessfully and included all matching mappings in resolveIn evaluation.
This can be emulated by two separate resolveIn calls and merging the result.