I'm trying to use a macro for error parsing in a situation where the name of the error file is on a different line than the rest of the error info (line number, message, etc). I'm following the instructions in the header of error.e. (SlickEdit v. 13.0.1.0, Linux). Using the cool new macro debugger, I discovered that the code doesn't seem to be discovering the name of my macro from the ErrorRE.xml file. When it gets to the line that gets the 'Macro' attribute from the xml file, the result is an empty string.
_str macro = _xmlcfg_get_attribute(xml_handle, nodeIndex, 'Macro', ''); // line 2631 of error.e, after which macro = ""
If I use the debugger to force that string to the name of my macro, everything works great. Anyone know why the xml attribute isn't found? I thought maybe it has something to do with the schema, but I'm not an xml expert.