Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » bug with xpand 0.8M4 and XSD adapter?
icon5.gif  bug with xpand 0.8M4 and XSD adapter? [message #509869] Mon, 25 January 2010 16:10
Marco  is currently offline Marco Friend
Messages: 216
Registered: August 2009
Senior Member

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:element ref="Value"/>
        <xs:element maxOccurs="unbounded" ref="Bar"/>
  <xs:element name="Value">
        <xs:extension base="xs:integer">
          <xs:attribute name="Type" use="required" type="xs:NCName"/>

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,
Previous Topic:looking for good tutorial or reference work
Next Topic:Howto run MWE workflow programmatically with classpath?
Goto Forum:

Current Time: Mon Sep 26 23:49:41 GMT 2022

Powered by FUDForum. Page generated in 0.01642 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top