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 » IBM MQ File Transfer Edition » Error while converting InputRoot.XMLNSC to String

Post new topic  Reply to topic
 Error while converting InputRoot.XMLNSC to String « View previous topic :: View next topic » 
Author Message
santoshnarayan
PostPosted: Sun Jan 10, 2016 9:07 pm    Post subject: Error while converting InputRoot.XMLNSC to String Reply with quote

Newbie

Joined: 10 Jan 2016
Posts: 6

I am getting error while in am trying to convert InputRoot.XMLNSC to String.

I am trying to convert a big xml message to string, and xml message has hypens "-" in it. And getting this error

"An invalid XML character (Unicode: 0xffffffff) was found in the element content of the document."

My code for xml to string conversation is:

DECLARE tcBlob BLOB ASBITSTREAM(InputRoot.XMLNSC CCSID 1208 ENCODING 517);
);

SET xmlString = CAST(tcBlob as CHARACTER CCSID 1208 Encoding 517);

Please suggest me.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jan 11, 2016 5:28 am    Post subject: Re: Error while converting InputRoot.XMLNSC to String Reply with quote

Grand High Poobah

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

santoshnarayan wrote:
I am trying to convert a big xml message to string, and xml message has hypens "-" in it.


Why?

What can you do with a string that you can't do faster, easier and more efficiently with the XMLNSC message tree?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jan 11, 2016 5:36 am    Post subject: Re: Error while converting InputRoot.XMLNSC to String Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

Vitor wrote:
santoshnarayan wrote:
I am trying to convert a big xml message to string, and xml message has hypens "-" in it.


Why?

What can you do with a string that you can't do faster, easier and more efficiently with the XMLNSC message tree?

Rhetorical answer: calculate it's length?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Mon Jan 11, 2016 5:49 am    Post subject: Re: Error while converting InputRoot.XMLNSC to String Reply with quote

Grand High Poobah

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

fjb_saper wrote:
Vitor wrote:
santoshnarayan wrote:
I am trying to convert a big xml message to string, and xml message has hypens "-" in it.


Why?

What can you do with a string that you can't do faster, easier and more efficiently with the XMLNSC message tree?

Rhetorical answer: calculate it's length?


Okay - what useful thing can you do with a string etc ....


_________________
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 » IBM MQ File Transfer Edition » Error while converting InputRoot.XMLNSC to String
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.