.Net Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming Languages - More.Net Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 23rd, 2003, 06:22 AM
mitchell mitchell is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Location: Bournemouth, England
Posts: 28 mitchell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 m 23 sec
Reputation Power: 0
Send a message via ICQ to mitchell Send a message via MSN to mitchell
C# Soap Xml and control characters

Hiya

I'm serialising an object using the SoapFormatter to produce a soap/xml document. The object contains a data string which is obtained from third party software so we have no control over the format of this string. The string often contains at any index the control character Ox19. This doesn't present any problem during serialisation and the resulting soap/xml document can be viewed using IE, XMLSpy, etc.

However, when I try to deserialise the soap/xml it fails while trying to parse the file as Ox19 is an invalid character in XML Version 1.0.

I've tried posting on the XML forum and there doesn't appear to be a solution from that angle.

I cannot do anything like replacing the character because it can appear at any point in the string, at multiple locations, etc and ALL valid characters can be used within the string as well.

Is there a way to, say, set the SoapFormatter to ignore and pass over this error?

ANY suggestions or possibly botches to get around this problem would be most greatfully received!

Mitchell x

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - More.Net Development > C# Soap Xml and control characters

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap