473,396 Members | 1,853 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Xml Deserializer Bug

kev
We have a server-side .Net application manages string values. .Net
client applications consume this via a web service. We are experiencing
a 100% reproducable bug in .Net Framework itself that is occurring in
the client application.

Some of the string data includes 0-terminator characters. This is
handled correctly by the server application. It is serialized by .Net
framwork into Soap data correctly, and returned to the client (with
zero terminators correctly encoded as �).

The issue we are experiencing is that the .Net Framework cannot
deserialize these values. It reports a generic error parsing this
information. This occurs in .Net Framework 2003 and 2005. It doesn't
occur with most other client platforms (the ones it does occur in, it
is a known error).

This must be a bug in the .Net Framework's xml deserializer????

We don't want to start fudging the terminators into some escape
sequence and de-fudging in all our client platforms (and ensuring our
customers do the same). This wouldn't be just idiosynchratic, but
idiotic.

Jan 3 '07 #1
0 1392

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Rohit via .NET 247 | last post by:
(Type your message here) -------------------------------- From: Rohit All, I have an xml that does not have any namespace associated withany of the nodes but the element in the...
0
by: irwin | last post by:
Hello, Recently I had to use the XmlSerializer object to deserialize one of the objects in a project. When I invoked Deserialize on the xml document containing the object definition, I would get...
0
by: Sivajee Akula | last post by:
Hello All, I am trying to consume a .NET Service from Adobe LiveCycle Workflow. The service deals with complex objects. I am getting the following exception at the time of invocation of the...
0
by: mehdi | last post by:
Hi folks, I've been lately trying to expose an object graph (with circular references) through a web method, however, this was not possible since the XmlSerializer has got no idea how to address...
1
by: sidhusaju | last post by:
Hi, Can anybody guide to give some examples using XmlDeserializer Object
1
by: honguin | last post by:
Hi, In my C# code, I have defined a Map object which is sent as part of a request to a web service, here's an extract of the part of the code: - Map map = new Map(); map.item = new mapItem...
2
by: furrypop | last post by:
Hi, I'm trying to get the Perl SOAP::Lite examples to work on a Windows PC, running Apache 2.2.4. Apache is definitely serving CGI scripts, as I've tested a dummy Hello World thing. I'm also...
1
by: Max | last post by:
I am using XmlSerializer to deserialize XML, and sometimes have to deal with legacy files with slight differences, for example "yes" where "Yes" is expected, i.e. Expected: <Enabled>yes</Enabled>...
11
by: MC | last post by:
I have a couple of customers who are using a program that deserializes an XML file, and on some files, the program fails to see the content of the file -- treats it as zero length and reports "root...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.