By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,032 Members | 1,205 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,032 IT Pros & Developers. It's quick & easy.

Is There Such a Thing as Case-insensitive XML Deserialisation?

P: n/a
I have created some files in the form

<xml ...
<MYOBJECT>
....
</MYOBJECT>

using an xml serializer.

I then ran FxCop and it complained that MYOBJECT should be MyObject, so I
changed it in my code (what was I thinking of!). Now I cannot read my files
unless I change them all to

<xml ...
<MyObject>
....
</MyObject>

Is there a way of making the xml serializer case-insensitive?

TIA

Charles
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Well, XPath expressions are case sensitive, so what you are doing might be
also.

"Charles Law" <bl***@nowhere.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
I have created some files in the form

<xml ...
<MYOBJECT>
...
</MYOBJECT>

using an xml serializer.

I then ran FxCop and it complained that MYOBJECT should be MyObject, so I
changed it in my code (what was I thinking of!). Now I cannot read my
files unless I change them all to

<xml ...
<MyObject>
...
</MyObject>

Is there a way of making the xml serializer case-insensitive?

TIA

Charles

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.