Geeks With Blogs


INauseous() Shawn Cicoria - Solution Architect, Craftsman and Artisan - INauseous() - Main Blog Here: May 2010 Entries
Strings are UTF-16…. There is an error in XML document (1, 1).
I had a situation today where an xml document had a directive indicating it was utf-8. So, the code in question was reading in the “string” of that xml then attempting to de-serialize it using an Xsd generated type. What you end up with is an exception indicating that there’s an error in the Xml document at (1,1) or something to that effect. The fix is, run it through a memory stream – which reads the string, but at utf8 bytes – if you have things that fall outside of 8 bit chars, you’ll get an exception. ......

Posted On Friday, May 28, 2010 5:38 PM

The fallacies of all these Studies Linking one thing to another…
Are pesticides really the link? Or is it hereditary? Pesticides in kids linked to ADHD You’ve got to think this one through. If the parents already have ADHD, and they buy fruits, don’t have the “patience” to wash the fruit, and the kids end up with larger detectible amounts of pesticides in their bodies – are the pesticides really the cause or is it hereditary? I say, switch the kids around for the real test – sure, let the kids ......

Posted On Tuesday, May 18, 2010 10:03 AM

Copyright © Shawn Cicoria | Powered by: