Home » Modeling » Epsilon » ETL, problem with a data type
ETL, problem with a data type [message #522483] |
Mon, 22 March 2010 18:29 |
|
Hello everybody:
First to all, than you for your attention.
I have a problem with new types.
In the Emfatic file, I create a new type, this one:
@ExtendedMetaData(name="ipType", baseType="http://www.eclipse.org/emf/2003/XMLType#string",
pattern="((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(/[0-3]?[0-9])?)")
datatype IpType : java.lang.String;
I'm using it with Eugenia, and EVL whitout problems, but, when I try to
execute a ETL rule, it returned to me that:
Internal error: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Value '150.214.1.0/24' is not legal. [platform:/resource/prueba/miRed.fws, 3, 62]
....
....
...
This is very rare, because /resource/prueba/miRed.fws has been created by the editor, and
in the editor when I put value to this attribute check the pattern ok.
I have try changing the attribute to a String, and the problem is
solved, but, I need use this type. What is happening?
Thank you very much for your help!!
|
|
|
Re: ETL, problem with a data type [message #522485 is a reply to message #522483] |
Mon, 22 March 2010 18:32 |
Dimitrios Kolovos Messages: 1776 Registered: July 2009 |
Senior Member |
|
|
Hi,
Could you please send me your metamodel, a sample input model and the
transformation at dskolovos _ gmail _ com so that I can have a look?
Cheers,
Dimitris
Jose Miguel wrote:
> Hello everybody:
>
> First to all, than you for your attention.
>
> I have a problem with new types.
>
> In the Emfatic file, I create a new type, this one:
>
> @ExtendedMetaData(name="ipType",
> baseType="http://www.eclipse.org/emf/2003/XMLType#string",
> pattern=" ((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9 ]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\ .(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(/[0-3]?[0-9])?) ")
>
> datatype IpType : java.lang.String;
>
> I'm using it with Eugenia, and EVL whitout problems, but, when I try to
> execute a ETL rule, it returned to me that:
>
> Internal error:
> org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Value
> '150.214.1.0/24' is not legal. [platform:/resource/prueba/miRed.fws, 3, 62]
> ...
> ...
> ..
>
> This is very rare, because /resource/prueba/miRed.fws has been created
> by the editor, and
> in the editor when I put value to this attribute check the pattern ok.
>
> I have try changing the attribute to a String, and the problem is
> solved, but, I need use this type. What is happening?
>
>
> Thank you very much for your help!!
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
|
|
| | | | | | |
Goto Forum:
Current Time: Mon Sep 23 18:34:34 GMT 2024
Powered by FUDForum. Page generated in 0.03580 seconds
|