Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[qvtd-dev] [Dev] Navigation attributes with null values

Hi Ed,

 

What is the correct way to evaluate:

 

c2t.fromAttributes.leafs;

 

if fromAttributes value is null?

 

Currently OCL throws an exception: 'NavigableObject' rather than 'OclVoid' value required.

 

I think it should return invalid so the QVT engine can deal with it, i.e. the binding is not valid then don’t invoke the mapping.

 

Regards,

 

 

Horacio Hoyos Rodríguez

EngD Student

University of York

 

http://www.york.ac.uk/docs/disclaimer/email.htm

 


Back to the top