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 Java / JMS » Strange XML errors

Post new topic  Reply to topic
 Strange XML errors « View previous topic :: View next topic » 
Author Message
carmine
PostPosted: Mon Apr 22, 2002 6:42 am    Post subject: Reply with quote

Newbie

Joined: 17 Apr 2002
Posts: 2

Hello all. Getting a weird error. I grab the body of a message like so:

message.getString(message.getMessageLength());

If I directly pass the XML read into a parser, I get errors about "root
element must be there..." or some other error (swapping parsers). If I
print out the xml it looks fine, and if I write the xml to a file, read
the file back in and then parse it, no errors!
Any of you ever have difficulty with character encoding in messages?
Any ideas?

Thanks,
Carmine
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 Java / JMS » Strange XML errors
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.