Hi,
after upgrading Xtext with Xtend and Xpand to 0.8M4 my workflow fails with:
22391 WARN EClassType - Couldn't resolve type for Short
22407 WARN EClassType - Couldn't resolve type for Short
22438 ERROR AbstractExpressionsUsingWorkflowComponent - Error in Component of type org.eclipse.xpand2.Generator:
EvaluationException : Couldn't find property 'value' for type root::ValueType
The relevant part of the XSD looks like this
<xs:element name="Foo">
<xs:complexType>
<xs:sequence>
<xs:element ref="Value"/>
<xs:element maxOccurs="unbounded" ref="Bar"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Value">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:integer">
<xs:attribute name="Type" use="required" type="xs:NCName"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
Exactly the same files worked immediately before the upgrade. So I guess the in 0.8 there might be something wrong with the way XSD adapter deals with integer value or that specific type structure.
Best regards,
Marco