ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Problem in processing &#x1A

Post new topic  Reply to topic
 Problem in processing &#x1A « View previous topic :: View next topic » 
Author Message
kuladeep.dairy
PostPosted: Mon Oct 04, 2010 11:30 pm    Post subject: Problem in processing &#x1A Reply with quote

Apprentice

Joined: 11 Jul 2009
Posts: 38

<?xml version="1.0" encoding="utf-8"?>
<ABC xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<s>|&#x1A; C</s>
</ABC>

I am having a problem in processing &#x1A character in a compute node. Seems like it is a control character. Can you please let me know how to handle this kind of control characters in WMB.
Back to top
View user's profile Send private message
kimbert
PostPosted: Tue Oct 05, 2010 1:46 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Character 0x1A is not allowed in XML documents. So this is not a WMB issue - it's a problem with your XML data. In XML terms, your XML document is not 'well formed'. To put it more simply, your XML is broken.

If the XML came from another application, you should talk to the people who write/maintain it and ask them to send well-formed XML. They should remove illegal characters or else encode the entire text value as xs:hexBinary or xs:base64Binary. In case anyone suggests using a CDATA section - don't. CDATA is good and useful but it does not protect against illegal characters.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Oct 05, 2010 4:16 am    Post subject: Re: Problem in processing &#x1A Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

kuladeep.dairy wrote:
I am having a problem in processing &#x1A character in a compute node.


I'm surprised you got as far as a Compute node (unless the data is arriving as a BLOB & being parsed there). Try opening the message data in IE or XMLSpy and see what happens.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
kimbert
PostPosted: Tue Oct 05, 2010 4:56 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
I'm surprised you got as far as a Compute node
Parse Timing defaults to On Demand - so no parsing will happen until something references the message body.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Oct 05, 2010 5:14 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

kimbert wrote:
Quote:
I'm surprised you got as far as a Compute node
Parse Timing defaults to On Demand - so no parsing will happen until something references the message body.



_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Problem in processing &#x1A
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.