Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: HLidstrom on February 20, 2020, 02:26:27 am

Title: bug in EAScriptLib.VBScript-XML, function XMLReadXMLFromFile
Post by: HLidstrom 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.
Title: Re: bug in EAScriptLib.VBScript-XML, function XMLReadXMLFromFile
Post by: Geert Bellekens 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
Title: Re: bug in EAScriptLib.VBScript-XML, function XMLReadXMLFromFile
Post by: qwerty on February 20, 2020, 07:58:38 am
Took me a moment to recognize the missing Set.

q.
Title: Re: bug in EAScriptLib.VBScript-XML, function XMLReadXMLFromFile
Post by: HLidstrom 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.