Posted: Thu Dec 27, 2007 9:48 pm Post subject: XML parsing error Invalid character (Unicode: 0x1A)
Apprentice
Joined: 04 May 2004 Posts: 25
This is a typical publish/subscribe scenario. The publisher receives data (with CCSID 870) which contains special characters (eg: OPAWE¬ UNAR, ¡WI£TEK ) from source application and we are forcing to convert the CCSID to 819 in the publisher's MQ input node. The output of the publisher which is a xml is published to the subscriber with CCSID 819. The subscriber is not able to parse the message with the special characters and throws XML parsing error Invalid character (Unicode: 0x1A). In the subscriber's MQ input node we tried the CCSID conversion to 1208. But still we are getting the same parser error. Find the broker trace below
Dec 28 06:44:53 miaibd02 MQSIv500[2166838]: (BMIAA34.RCG)[5151]BIP2230E: Error detected whilst processing a message in node 'WMB_WCC_PartyMasterSUB_RegularLoad.Trace'. : BMIAA34.acfe2d5f-1501-0000-0080-85f1751c0a56: /build/S500_P/src/DataFlowEngine/ImbTraceNode.cpp: 349: ImbTraceNode::evaluate: ComIbmTraceNode: WMB_WCC_PartyMasterSUB_RegularLoad#FCMComposite_1_12
Dec 28 06:44:53 miaibd02 MQSIv500[2166838]: (BMIAA34.RCG)[5151]BIP5009E: XML Parsing Errors have occurred. : BMIAA34.acfe2d5f-1501-0000-0080-85f1751c0a56: /build/S500_P/src/MTI/MTIforBroker/GenXmlParser2/XmlImbParser.cpp: 464: XmlImbParser::parseRightSibling: :
Dec 28 06:44:53 miaibd02 MQSIv500[2166838]: (BMIAA34.RCG)[5151]BIP5004E: XML parsing error (Invalid character (Unicode: 0x1A)) encountered on line 1 column 853 while parsing element http://www.gic.michelin.com/oagis/9/michelin/1:Name. : BMIAA34.acfe2d5f-1501-0000-0080-85f1751c0a56: /build/S500_P/src/MTI/MTIforBroker/GenXmlParser2/XmlBrokerAsgardParser.cpp: 815: XmlBrokerAsgardParser::error: :
Dec 28 06:44:54 miaibd02 MQSIv500[909382]: (BMIAA34.COMMON_GIC)[4884]BIP2648E: Message backed out to a queue; node 'XXX_MCE_PUBLISHER00_001.MQI.MCE.AIEVTRCV'. : BMIAA34.b373e6f6-1601-0000-0080-93819e319e3e: /build/S500_P/src/DataFlowEngine/ImbMqInputNode.cpp: 3396: ImbMqInputNode::eligibleForBackout: ComIbmMQInputNode: XXX_MCE_PUBLISHER00_001#FCMComposite_1_1
And mainly it's an issue with the publisher producing bad data.. You need to ensure that a) the publisher is sending only characters that are valid in 819 codepage, and b) sending valid XML data... _________________ I am *not* the model of the modern major general.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum