Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » MicrosoftExcelInjector example error
MicrosoftExcelInjector example error [message #780875] Thu, 19 January 2012 18:50
Sangeeta Tripathy is currently offline Sangeeta TripathyFriend
Messages: 16
Registered: December 2011
Junior Member
I am trying to run the MicrosoftExcelInjector ATL file from a Java program that uses the AM3 XML Injector to inject the source XML file and then uses the ATL to transform from XML Ecore to XMI.

But I get an error saying :
The value of type class java.lang.Class must be of type 'class java.lang.Integer'
at the line:

rule Column {
ec : XML!Element ( = 'Column'

col : SpreadsheetMLSimplified!Column (
index <- ec.getOptIntAttrValue('ss:Index'),
hidden <- ec.getOptBoolAttrValue('ss:Hidden'),
span <- ec.getOptIntAttrValue('ss:Span'),
autoFitWidth <- ec.getOptBoolAttrValue('ss:AutoFitWidth'),
width <- ec.getOptRealAttrValue('ss:Width')

What could be the problem?

I am trying this example,as I am getting a problem with repeating XML elements in the input XML using XML injection. Only the first XML element is transformed by the XML injector. Please could someone guide me on this.
Previous Topic:[ATL] ATL plugin : path problem (Resolved)
Next Topic:Invalid results while using minus operator in ATL
Goto Forum:

Current Time: Sat Mar 02 02:33:40 GMT 2024

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

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

Back to the top