So, I'm testing something with Azure Table Storage and notice that the data I get back is not the data I thought I sent. So I stepped through my class carefully. What I sent to MS to store in my table was:
xml version="1.0" encoding="utf-8" standalone="yes"?> <entry xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom"> <title /> <updated>2009-06-09T20:52:38.7031250Z</updated> <author> <name /> </author> <id /> <content type="application/xml"> <m:properties> <d:PartitionKey>Testingd:PartitionKey> <d:RowKey>1d:RowKey> <d:TestData m:type="Edm.String">[CDATA[<p>So far, this series has covered p>]]> </d:TestData> </m:properties> </content> </entry>
What I got back was:
<xml version="1.0" encoding="utf-8" standalone="yes"?> <entry xml:base="http://finseldemos.table.core.windows.net/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" m:etag="W/"datetime'2009-06-09T20%3A52%3A13.813Z'"" xmlns="http://www.w3.org/2005/Atom"> <id>http://finseldemos.table.core.windows.net/vslivelasvegas(PartitionKey='Testing',RowKey='1')</id> <title type="text"></title> <updated>2009-06-09T20:52:13Z</updated> <author> <name /> </author> <link rel="edit" title="vslivelasvegas" href="vslivelasvegas(PartitionKey='Testing',RowKey='1')" /> <category term="finseldemos.vslivelasvegas" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /> <content type="application/xml"> <m:properties> <d:PartitionKey>Testing</d:PartitionKey> <d:RowKey>1</d:RowKey> <d:Timestamp m:type="Edm.DateTime">2009-06-09T20:52:13.813Z</d:Timestamp> <d:TestData><p>So far, this series has covered </p><d:TestData> </m:properties></content> </entry>
And all I can say is Huh?!?!? And, just to be perfectly clear, this is what the httpResponse body was to the POST that contained the top version.
Microsoft, please don't change my data. I know that Mike Amundsen and I have fought and slain this particular beast many times in our coding but MS obviously hasn't.