An XML parsing error has occurred while parsing the XML document

在用rfhutil给测试message broker flow时,如果指定的编码类型不正确,可能会发生以下错误:
ExceptionList
RecoverableException
File:CHARACTER:F:\build\S000_P\src\DataFlowEngine\ImbDataFlowNode.cpp
Line:INTEGER:1129
Function:CHARACTER:ImbDataFlowNode::createExceptionList
Type:CHARACTER:ComIbmTryCatchNode
Name:CHARACTER:Main_Flow#FCMComposite_1_7.Error_Handler#FCMComposite_1_3
Label:CHARACTER:Main_Flow.Error_Handler.TryCatch
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:2230
Text:CHARACTER:Node throwing exception
RecoverableException
File:CHARACTER:F:\build\S000_P\src\DataFlowEngine\ImbFilterNode.cpp
Line:INTEGER:305
Function:CHARACTER:ImbFilterNode::evaluate
Type:CHARACTER:ComIbmFilterNode
Name:CHARACTER:Main_Flow#FCMComposite_1_4
Label:CHARACTER:Main_Flow.Check Valid Staff Number
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:2230
Text:CHARACTER:Caught exception and rethrowing
RecoverableException
File:CHARACTER:F:\build\S000_P\src\DataFlowEngine\ImbRdl\ImbRdlStatementGroup.cpp
Line:INTEGER:643
Function:CHARACTER:SqlStatementGroup::execute
Type:CHARACTER:ComIbmFilterNode
Name:CHARACTER:Main_Flow#FCMComposite_1_4
Label:CHARACTER:Main_Flow.Check Valid Staff Number
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:2488
Text:CHARACTER:Error detected, rethrowing
Insert
Type:INTEGER:5
Text:CHARACTER:.Main_Flow_Filter.Main
Insert
Type:INTEGER:5
Text:CHARACTER:3.2
Insert
Type:INTEGER:5
Text:CHARACTER:IF Body.Staff.StaffNumber <= '10' THEN... ELSE... END IF;
RecoverableException
File:CHARACTER:F:\build\S000_P\src\DataFlowEngine\ImbRdl\ImbRdlFieldRef.cpp
Line:INTEGER:2724
Function:CHARACTER:SqlFieldReference::evaluate
Type:CHARACTER:ComIbmFilterNode
Name:CHARACTER:Main_Flow#FCMComposite_1_4
Label:CHARACTER:Main_Flow.Check Valid Staff Number
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:2498
Text:CHARACTER:Navigation error
Insert
Type:INTEGER:5
Text:CHARACTER:.Main_Flow_Filter.Main
Insert
Type:INTEGER:5
Text:CHARACTER:3.5
Insert
Type:INTEGER:2
Text:CHARACTER:2
ParserException
File:CHARACTER:F:\build\S000_P\src\MTI\MTIforBroker\GenXmlParser4\ImbXMLNSCParser.cpp
Line:INTEGER:936
Function:CHARACTER:ImbXMLNSCParser::parseFirstChild
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:5009
Text:CHARACTER:XML Parsing Errors have occurred
ParserException
File:CHARACTER:F:\build\S000_P\src\MTI\MTIforBroker\GenXmlParser4\ImbXMLNSCDocHandler.cpp
Line:INTEGER:694
Function:CHARACTER:ImbXMLNSCDocHandler::handleParseErrors
Type:CHARACTER:ComIbmMQInputNode
Name:CHARACTER:Main_Flow#FCMComposite_1_1
Label:CHARACTER:Main_Flow.STAFF_IN
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:5004
Text:CHARACTER:An XML parsing error has occurred while parsing the XML document
Insert
Type:INTEGER:2
Text:CHARACTER:1504
Insert
Type:INTEGER:2
Text:CHARACTER:2
Insert
Type:INTEGER:2
Text:CHARACTER:1
Insert
Type:INTEGER:2
Text:CHARACTER:1
Insert
Type:INTEGER:5
Text:CHARACTER:An invalid XML character (Unicode: 0x2229) was found in the prolog of the document.
Insert
Type:INTEGER:5
Text:CHARACTER:/Root/XMLNSC
此时需要检查下MQMD中的编码是多少。试着改成1208(代表utf8),应该就可以解决了。

猜你喜欢

转载自joeyjoker.iteye.com/blog/1752854