|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
|
|
Error while converting InputRoot.XMLNSC to String |
« View previous topic :: View next topic » |
Author |
Message
|
santoshnarayan |
Posted: Sun Jan 10, 2016 9:07 pm Post subject: Error while converting InputRoot.XMLNSC to String |
|
|
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 |
|
|
Vitor |
Posted: Mon Jan 11, 2016 5:28 am Post subject: Re: Error while converting InputRoot.XMLNSC to String |
|
|
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 |
|
|
fjb_saper |
Posted: Mon Jan 11, 2016 5:36 am Post subject: Re: Error while converting InputRoot.XMLNSC to String |
|
|
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20729 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 |
|
|
Vitor |
Posted: Mon Jan 11, 2016 5:49 am Post subject: Re: Error while converting InputRoot.XMLNSC to String |
|
|
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 |
|
|
|
|
|
|
Page 1 of 1 |
|
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
|
|
|
|