From: Dagmar K. <da...@eb...> - 2009-01-30 13:23:58
|
Frank Bergmann wrote: >> ? The two variable glyphs carry the same attribute. But we nevertheless >> need to fork them. For parameter, we should rewrite the UML with only >> one glyph. >> >> > > (I counted taskReference / modelReference as attributes) > OK, Frank is right here (talking about the XSD attributes). In the UML, the 2 classes "Variable" are identical, but in the Schema one global type for the Variable class was created. In the XSD, both the taskReference and the modelReference have to be added to the variable global type... which also answers the question why they are optional - one of the references is for use of the variable element in ChangeMath, the other one is for use of the variable element in Task and DataGenerator... ... which is why Nicolas probably is right saying that we have to fork them ... or we could check whether we want to go back to using modelReferences in the DataGenerator class instead of using the taskReference - which I would prefer. Dagmar |