Book a Demo

Author Topic: EA 12 - XML-Transformation Bug/Error  (Read 4764 times)

CPreuk

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
EA 12 - XML-Transformation Bug/Error
« on: February 12, 2015, 08:16:28 pm »
Hello,

I already filled our a bug report but did not get any response. Maybe this forum can help me.

I used EA 12 to try out the xslt-debugger / Xml-Transformation. I did everything as suggest in the help-file (XML to HTML Transformation).

The problem is, that in step 4 is written: "In the File Path field, type or browse for the location and name of the source XML file to transform.". Even if this is done, the xml-transformation does not use this path.

When going into the properties of the xmlTransform-artifact, I can see my .xml and .xslt unter related-> Files. Even under Links they are listed. But when I run the transformation, I get the following error:

[02787124]      Using XSL stylesheet:C:\Users\(MYUSERNAME)\AppData\Local\Temp\EADocs\2985F265-4ED7-4ab7-B7D2-D56D9039BC34\XSLT-File.xsl
[02787124]      with XML input:C:\Users\(MYUSERNAME)\AppData\Local\Temp\EADocs\E92E53F9-E4C3-41fb-A947-54A7C3B54552\Input XML.xml

(I removed my Username with (MYUSERNAME), just in case you wondered.)

XSLT-File and Input XML are my used names for the artifacts XSLT and XML File.

The problem is, that the selected path is not used. Instead some automatic-path is used for the transformation :(.

*EDIT* I just put my desired content of the .xml and .xslt input into the temp/EADOCS files. The transformation just crashed the application...

Did I miss something in modelling the transformation?
« Last Edit: February 12, 2015, 08:21:21 pm by CPreuk »

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: EA 12 - XML-Transformation Bug/Error
« Reply #1 on: February 13, 2015, 10:28:14 am »
I'm told that if you drag the file from the file system onto the EA diagram you get the choice of creating it internal or external and it will work better.

There's a developer making sure that all the methods are improved, and we'll make sure the help is updated for our next release.

CPreuk

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: EA 12 - XML-Transformation Bug/Error
« Reply #2 on: February 13, 2015, 06:56:37 pm »
Hello,

thanks for the replay. I just used the drag and drop and referenced it as "artifact (internal"). The .xml file was automaticly changed to stereotype XmlFile. The .xslt file needed to manually changed to xslt. After doing so the files content was put into the temp-files located in my userdata-folder.

The transformation worked and the input of the files was also shown in the xslt-debugger. So the drag and drop worked.

Best regards,

Graham_Moir

  • EA User
  • **
  • Posts: 749
  • Karma: +10/-15
    • View Profile
Re: EA 12 - XML-Transformation Bug/Error
« Reply #3 on: February 13, 2015, 09:00:34 pm »
It would be a fair question to ask how this got past quality assurance.  Seems to me it can never have been tested properly.  

I was was just going to promote this functionality as a major improvement in EA and would have fallen flat on my face.  I won't be doing that now for a while.

CPreuk

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: EA 12 - XML-Transformation Bug/Error
« Reply #4 on: March 06, 2015, 11:49:50 pm »
Just a reply if anyone reads this thread and thinks the issue is still here.

In Build 1208 this bug has been solved. It now properly works as intended.