1.6 XML diagnostics
The system provides the Easy XML diagnostic function for diagnosing and finding script errors.
The use of the diagnostic function checks the XML syntax and runs through all the scripts
belonging to the project. To do this, functions, menus, forms and the existence/validity of
variables are also checked. The errors found are listed.
The Easy XML diagnostics function can be activated either by an attribute in the DialogGui tag
or by Display machine data.
Activate easy XML diagnostics
Example:
<DialogGui diagnose="true" >
…
…
</DialogGui >
or
Display machine data:
MD9113 $MM_EASY_XML_DIAGNOSE Diagnostics and correction help sup‐
port for Easy XML scripts
= 0 No diagnostics active
= 1 Syntax check active
Softkey function overview
Dialog Softkey Function
Main menu "EasyXML diagnos‐
tics"
Start script The loaded program is started
directly.
Start check The syntax check is being star‐
ted. All accrued messages can
be seen. Renewed checking is
available.
"Errors" and "Warnings" dialogs Errors The result are displayed, sorted
according to errors and warn‐
ings.
Warnings
Go to error If errors or warnings are found,
the softkey is displayed.
The softkey opens the marked
XML file from the error list for ed‐
iting. The cursor is automatically
placed on the erroneous row.
Check result All accrued messages can be
seen.
Generating user dialogs
1.6 XML diagnostics
Easy XML
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1 19