An "XML message error" validation error can be reported while importing a Monitoring Event Request(MER) file using "swutil" utility.
book
Article ID: KB0090056
calendar_today
Updated On:
Products
Versions
TIBCO iProcess Engine (SQL)
-
Not Applicable
-
Description
Resolution: Description: ============
When swutil is used to import a MER XML document that does not have a combination of the characters CARRIAGE RETURN (#xD) and LINE FEED (#xA) or end-of-file as the last characters of the file, a validation error may occur. A sample command is shown below:
swutil IMPMONITOR C:/swserver/staffw_jhdev/schema/MER.xml Validation failed while importing XML (See sw_warn for details)
Environment: ============
o TIBCO iProcess Engine (SQL) 11.1.1.0
Symptoms: =========
There will be an error reported in the "sw_warn" log file as shown below:
2010/11/09 16:01:36.456337(Pstaffifc:5968:5968:2::::SDasAdmin:filmerxml.cpp:80020:1434): 1982-XML message error due to [Unterminated end tag, 'ProcedureMonitor' ] in [LoadAndParseMERXML] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Cause: ======
The cause of the error is the Xerces parser requires the file to be in a certain format in order to parse it successfully.
Resolution: =========
The resolution is to add an extra empty line at the end of the MER file before importing it into the TIBCO iProcess engine.
Issue/Introduction
An "XML message error" validation error can be reported while importing a Monitoring Event Request(MER) file using "swutil" utility.