Author Topic: bug in EAScriptLib.VBScript-XML, function XMLReadXMLFromFile  (Read 3491 times)

HLidstrom

  • EA User
  • **
  • Posts: 44
  • Karma: +0/-0
    • View Profile
bug in EAScriptLib.VBScript-XML, function XMLReadXMLFromFile
« on: February 20, 2020, 02:26:27 am »
I am pretty sure I found a bug in EAScriptLib.VBScript-XML, function XMLReadXMLFromFile.
What I don’t know is if it has been fixed in a later build than the one I am using.

The bug is on line 70 of EAScriptLib.VBScript-XML, i.e., the last line of function XMLReadXMLFromFile.
 “XMLReadXMLFromFile = xmlDOM”, should be “Set XMLReadXMLFromFile = xmlDOM”

I am using Sparx EA 15.0.1512.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13387
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: bug in EAScriptLib.VBScript-XML, function XMLReadXMLFromFile
« Reply #1 on: February 20, 2020, 03:59:28 am »
Yep, that's definitely an error.

Please make sure to also report it to Sparx support.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: bug in EAScriptLib.VBScript-XML, function XMLReadXMLFromFile
« Reply #2 on: February 20, 2020, 07:58:38 am »
Took me a moment to recognize the missing Set.

q.

HLidstrom

  • EA User
  • **
  • Posts: 44
  • Karma: +0/-0
    • View Profile
Re: bug in EAScriptLib.VBScript-XML, function XMLReadXMLFromFile
« Reply #3 on: February 21, 2020, 12:51:18 am »
Duly reported.
And apologies for reporting to the wrong forum. What can I say? I missed the PCS prefix in the forum name.