<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Just Coding : Code</title><link>http://blogs.msdn.com/rido/archive/tags/Code/default.aspx</link><description>Tags: Code</description><dc:language>es-ES</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Moles</title><link>http://blogs.msdn.com/rido/archive/2009/11/05/moles.aspx</link><pubDate>Thu, 05 Nov 2009 21:37:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9918411</guid><dc:creator>rido</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/rido/comments/9918411.aspx</comments><wfw:commentRss>http://blogs.msdn.com/rido/commentrss.aspx?PostID=9918411</wfw:commentRss><description>I’ve been interesting in unit testing for some years now. One major aspect of unit testing is about how use designs that allows a separation of concerns so you can test your program as units (usually at class level), for this the interface basic programming...(&lt;a href="http://blogs.msdn.com/rido/archive/2009/11/05/moles.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9918411" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/rido/archive/tags/DevTools/default.aspx">DevTools</category><category domain="http://blogs.msdn.com/rido/archive/tags/Agile/default.aspx">Agile</category><category domain="http://blogs.msdn.com/rido/archive/tags/Code/default.aspx">Code</category></item><item><title>Debugging VB6 code with Visual Studio 2008</title><link>http://blogs.msdn.com/rido/archive/2009/10/05/debugging-vb6-code-with-visual-studio-2008.aspx</link><pubDate>Mon, 05 Oct 2009 15:54:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9903214</guid><dc:creator>rido</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/rido/comments/9903214.aspx</comments><wfw:commentRss>http://blogs.msdn.com/rido/commentrss.aspx?PostID=9903214</wfw:commentRss><description>I was reviewing an old DNA app (more on this in a different post) and I got really surprised when I saw that&amp;#160; we can debug VB6 code with VS2008 !!!...(&lt;a href="http://blogs.msdn.com/rido/archive/2009/10/05/debugging-vb6-code-with-visual-studio-2008.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9903214" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/rido/archive/tags/Code/default.aspx">Code</category></item><item><title>RidoCode</title><link>http://blogs.msdn.com/rido/archive/2007/09/26/ridocode.aspx</link><pubDate>Wed, 26 Sep 2007 12:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5139256</guid><dc:creator>rido</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/rido/comments/5139256.aspx</comments><wfw:commentRss>http://blogs.msdn.com/rido/commentrss.aspx?PostID=5139256</wfw:commentRss><description>Since gotdotnet is phased out, I'm moving all my samples to codeplex ( http://www.codeplex.com/ridocode ), including the famous FileRollerTraceListener...(&lt;a href="http://blogs.msdn.com/rido/archive/2007/09/26/ridocode.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5139256" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/rido/archive/tags/DevTools/default.aspx">DevTools</category><category domain="http://blogs.msdn.com/rido/archive/tags/Code/default.aspx">Code</category></item><item><title>TestResults Reports in TFS Builds</title><link>http://blogs.msdn.com/rido/archive/2007/05/24/testresults-reports-in-tfs-builds.aspx</link><pubDate>Thu, 24 May 2007 21:54:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2848122</guid><dc:creator>rido</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/rido/comments/2848122.aspx</comments><wfw:commentRss>http://blogs.msdn.com/rido/commentrss.aspx?PostID=2848122</wfw:commentRss><description>If you use TFSBuilds with VS UnitTests, you know how to inspect the TestResults: you must download the whole directory to your local machine, and sometimes this folder could be pretty huge. So, if you want to check the error details of your tests, you...(&lt;a href="http://blogs.msdn.com/rido/archive/2007/05/24/testresults-reports-in-tfs-builds.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2848122" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/rido/archive/tags/DevTools/default.aspx">DevTools</category><category domain="http://blogs.msdn.com/rido/archive/tags/Agile/default.aspx">Agile</category><category domain="http://blogs.msdn.com/rido/archive/tags/Code/default.aspx">Code</category></item><item><title>Testing with VS2005 Demo</title><link>http://blogs.msdn.com/rido/archive/2006/11/27/testing-with-vs2005-demo.aspx</link><pubDate>Mon, 27 Nov 2006 17:12:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1159890</guid><dc:creator>rido</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/rido/comments/1159890.aspx</comments><wfw:commentRss>http://blogs.msdn.com/rido/commentrss.aspx?PostID=1159890</wfw:commentRss><description>Today's workshop was based on a demo to show all the vs features about testing, it covers: Unit Tests (With MockObjects) Integration Tests (Using ASP.Net Host) Functional Tests (With Web Tests) Load Tests (With testcontrollers and test agents) I've packed...(&lt;a href="http://blogs.msdn.com/rido/archive/2006/11/27/testing-with-vs2005-demo.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1159890" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/rido/attachment/1159890.ashx" length="408685" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/rido/archive/tags/DevTools/default.aspx">DevTools</category><category domain="http://blogs.msdn.com/rido/archive/tags/Agile/default.aspx">Agile</category><category domain="http://blogs.msdn.com/rido/archive/tags/Code/default.aspx">Code</category><category domain="http://blogs.msdn.com/rido/archive/tags/events/default.aspx">events</category></item><item><title>Mocking SQLException</title><link>http://blogs.msdn.com/rido/archive/2006/11/26/mocking-sqlexception.aspx</link><pubDate>Sun, 26 Nov 2006 16:30:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1153294</guid><dc:creator>rido</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/rido/comments/1153294.aspx</comments><wfw:commentRss>http://blogs.msdn.com/rido/commentrss.aspx?PostID=1153294</wfw:commentRss><description>I'm working on a presentation about Testing, and one of the technics I would like to show is MockObjects. One of the mock objects I want to create is a DataAccess Layer, and this one should throw SqlExceptions, however the SqlException class is sealed...(&lt;a href="http://blogs.msdn.com/rido/archive/2006/11/26/mocking-sqlexception.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1153294" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/rido/archive/tags/Code/default.aspx">Code</category></item><item><title>Some workaround for ObjectDataSource: could not find a non-generic method '...'</title><link>http://blogs.msdn.com/rido/archive/2006/09/07/744935.aspx</link><pubDate>Thu, 07 Sep 2006 23:04:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:744935</guid><dc:creator>rido</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/rido/comments/744935.aspx</comments><wfw:commentRss>http://blogs.msdn.com/rido/commentrss.aspx?PostID=744935</wfw:commentRss><description>Today I was playing with the new DataBind capabilities of ASP.Net 2.0, and found this error.. here are some links to possible solutions Link to Some workaround for ObjectDataSource: could not find a non-generic method '...'...(&lt;a href="http://blogs.msdn.com/rido/archive/2006/09/07/744935.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=744935" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/rido/archive/tags/Code/default.aspx">Code</category></item><item><title>The Future of Programming Languages</title><link>http://blogs.msdn.com/rido/archive/2006/08/21/710703.aspx</link><pubDate>Mon, 21 Aug 2006 15:32:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:710703</guid><dc:creator>rido</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/rido/comments/710703.aspx</comments><wfw:commentRss>http://blogs.msdn.com/rido/commentrss.aspx?PostID=710703</wfw:commentRss><description>Two years ago I wrote about "The Future of Programming" bercause it was the keynote at OOPSLA04. I found a nice presentation from VSLive! Toronto 2006 where Lohn Lam talks about RUBY as an example of a language of the future (with lessig style) Link to...(&lt;a href="http://blogs.msdn.com/rido/archive/2006/08/21/710703.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=710703" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/rido/archive/tags/Code/default.aspx">Code</category></item><item><title>NUnit vs VSTS</title><link>http://blogs.msdn.com/rido/archive/2005/10/30/VSTSvsNUnit.aspx</link><pubDate>Sun, 30 Oct 2005 19:52:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:487079</guid><dc:creator>rido</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/rido/comments/487079.aspx</comments><wfw:commentRss>http://blogs.msdn.com/rido/commentrss.aspx?PostID=487079</wfw:commentRss><description>NUnit is the most popular unit tests framework for .Net. The new VSTS has a chance to replace NUnit in corporate environments, however there are some minor issues you must know before take a decission…
...(&lt;a href="http://blogs.msdn.com/rido/archive/2005/10/30/VSTSvsNUnit.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=487079" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/rido/archive/tags/DevTools/default.aspx">DevTools</category><category domain="http://blogs.msdn.com/rido/archive/tags/Agile/default.aspx">Agile</category><category domain="http://blogs.msdn.com/rido/archive/tags/Code/default.aspx">Code</category></item><item><title>HowToUseXmlDataDocument</title><link>http://blogs.msdn.com/rido/archive/2005/10/27/HowToUseXmlDataDocument.aspx</link><pubDate>Thu, 27 Oct 2005 01:55:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:485393</guid><dc:creator>rido</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/rido/comments/485393.aspx</comments><wfw:commentRss>http://blogs.msdn.com/rido/commentrss.aspx?PostID=485393</wfw:commentRss><description>&lt;P&gt;One test is better that thousand words...&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;[TestFixture]&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;public&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt; &lt;SPAN style="COLOR: blue"&gt;class&lt;/SPAN&gt; XmlDataDemo&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;{&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;[Test]&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;public&lt;/SPAN&gt; &lt;SPAN style="COLOR: blue"&gt;void&lt;/SPAN&gt; LoadDataSet()&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;EmployeeDataSet ds = &lt;SPAN style="COLOR: blue"&gt;new&lt;/SPAN&gt; EmployeeDataSet();&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;ds.ReadXml(@".\..\..\Employee.xml");&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Assert.AreEqual(1,ds.employee.Rows.Count);&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;[Test]&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;public&lt;/SPAN&gt; &lt;SPAN style="COLOR: blue"&gt;void&lt;/SPAN&gt; XmlDataDoc()&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;{&lt;SPAN style="mso-tab-count: 3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;XmlDataDocument doc = &lt;SPAN style="COLOR: blue"&gt;new&lt;/SPAN&gt; XmlDataDocument(&lt;SPAN style="COLOR: blue"&gt;new&lt;/SPAN&gt; EmployeeDataSet());&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;doc.Load (@".\..\..\Employee.xml");&lt;SPAN style="mso-tab-count: 6"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;XmlDocument d = UntypeAndModifyAge(doc, "22");&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 15"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 5"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;EmployeeDataSet ds2 = &lt;SPAN style="COLOR: blue"&gt;new&lt;/SPAN&gt; EmployeeDataSet();&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;ds2.ReadXml(CreateEmployeeValidatingReader(d.InnerXml));&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Assert.AreEqual(1,ds2.employee.Rows.Count);&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Console.WriteLine("After modify .....");&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Console.WriteLine(ds2.GetXml());&lt;SPAN style="mso-tab-count: 6"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;[Test, ExpectedException(&lt;SPAN style="COLOR: blue"&gt;typeof&lt;/SPAN&gt;(XmlSchemaException))]&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;public&lt;/SPAN&gt; &lt;SPAN style="COLOR: blue"&gt;void&lt;/SPAN&gt; XmlDataDocValidatingException()&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;{&lt;SPAN style="mso-tab-count: 3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;XmlDataDocument doc = &lt;SPAN style="COLOR: blue"&gt;new&lt;/SPAN&gt; XmlDataDocument(&lt;SPAN style="COLOR: blue"&gt;new&lt;/SPAN&gt; EmployeeDataSet());&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;doc.Load (@".\..\..\Employee.xml");&lt;SPAN style="mso-tab-count: 6"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;XmlDocument d = UntypeAndModifyAge(doc, "22a");&lt;SPAN style="mso-tab-count: 5"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 13"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 5"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;EmployeeDataSet ds2 = &lt;SPAN style="COLOR: blue"&gt;new&lt;/SPAN&gt; EmployeeDataSet();&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;ds2.ReadXml(CreateEmployeeValidatingReader(d.InnerXml));&lt;SPAN style="mso-tab-count: 3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;private&lt;/SPAN&gt; XmlValidatingReader CreateEmployeeValidatingReader(&lt;SPAN style="COLOR: blue"&gt;string&lt;/SPAN&gt; xml)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;XmlValidatingReader vr = &lt;SPAN style="COLOR: blue"&gt;new&lt;/SPAN&gt; XmlValidatingReader(xml, XmlNodeType.Document, &lt;SPAN style="COLOR: blue"&gt;null&lt;/SPAN&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;vr.ValidationEventHandler +=&lt;SPAN style="COLOR: blue"&gt;new&lt;/SPAN&gt; System.Xml.Schema.ValidationEventHandler(vr_ValidationEventHandler);&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;XmlSchemaCollection sc = &lt;SPAN style="COLOR: blue"&gt;new&lt;/SPAN&gt; XmlSchemaCollection();&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;sc.Add("urn:rido.code/Employee", &lt;SPAN style="COLOR: blue"&gt;new&lt;/SPAN&gt; XmlTextReader(@".\..\..\EmployeeDataSet.xsd"));&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;vr.Schemas.Add(sc);&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;return&lt;/SPAN&gt; vr;&lt;SPAN style="mso-tab-count: 3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;private&lt;/SPAN&gt; XmlDocument UntypeAndModifyAge(XmlDocument doc, &lt;SPAN style="COLOR: blue"&gt;string&lt;/SPAN&gt; ageToModify)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;((XmlDataDocument)doc).DataSet.EnforceConstraints = &lt;SPAN style="COLOR: blue"&gt;false&lt;/SPAN&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;doc.GetElementsByTagName("Age")[0].InnerText = ageToModify;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;((XmlDataDocument)doc).DataSet.EnforceConstraints = &lt;SPAN style="COLOR: blue"&gt;true&lt;/SPAN&gt;;&lt;SPAN style="mso-tab-count: 3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;string&lt;/SPAN&gt; s = doc.InnerXml;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;XmlDocument result = &lt;SPAN style="COLOR: blue"&gt;new&lt;/SPAN&gt; XmlDocument();&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;result.LoadXml(s);&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Console.WriteLine("modified from untyped.....");&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Console.WriteLine(s);&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;return&lt;/SPAN&gt; result;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;[Test]&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;public&lt;/SPAN&gt; &lt;SPAN style="COLOR: blue"&gt;void&lt;/SPAN&gt; LoadDataSetWithBadNamespace()&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;EmployeeDataSet ds = &lt;SPAN style="COLOR: blue"&gt;new&lt;/SPAN&gt; EmployeeDataSet();&lt;SPAN style="mso-tab-count: 3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;ds.ReadXml(@".\..\..\EmployeeNoNs.xml");&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Assert.AreEqual(0,ds.employee.Rows.Count);&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;[Test]&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;public&lt;/SPAN&gt; &lt;SPAN style="COLOR: blue"&gt;void&lt;/SPAN&gt; LoadDataSetWithBadXml()&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;EmployeeDataSet ds = &lt;SPAN style="COLOR: blue"&gt;new&lt;/SPAN&gt; EmployeeDataSet();&lt;SPAN style="mso-tab-count: 3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;ds.ReadXml(@".\..\..\XmlFile1.xml");&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Assert.AreEqual(0,ds.employee.Rows.Count);&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;private&lt;/SPAN&gt; &lt;SPAN style="COLOR: blue"&gt;void&lt;/SPAN&gt; vr_ValidationEventHandler(&lt;SPAN style="COLOR: blue"&gt;object&lt;/SPAN&gt; sender, System.Xml.Schema.ValidationEventArgs e)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: green"&gt;//Assert.Fail(e.Message);&lt;SPAN style="mso-tab-count: 3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;throw&lt;/SPAN&gt; e.Exception;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&amp;lt;?&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: maroon; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;xml&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: fuchsia; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: red; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;version&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;="1.0"&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: fuchsia; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: red; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;encoding&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;="utf-8"&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: fuchsia; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;?&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: maroon; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;xs:schema&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: fuchsia; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: red; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;id&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;="EmployeeDataSet"&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: fuchsia; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: red; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;targetNamespace&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;="urn:rido.code/Employee"&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: fuchsia; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: red; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;elementFormDefault&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;="qualified"&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: fuchsia; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: red; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;attributeFormDefault&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;="qualified"&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: fuchsia; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: red; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;xmlns&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;="urn:rido.code/Employee"&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: fuchsia; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: maroon; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;xmlns&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: fuchsia; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;:&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: red; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;mstns&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;="urn:rido.code/Employee"&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: fuchsia; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: maroon; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;xmlns&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: fuchsia; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;:&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: red; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;xs&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;="http://www.w3.org/2001/XMLSchema"&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: fuchsia; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: maroon; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;xmlns&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: fuchsia; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;:&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: red; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;msdata&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;="urn:schemas-microsoft-com:xml-msdata"&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: maroon"&gt;xs:element&lt;/SPAN&gt;&lt;SPAN style="COLOR: fuchsia"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;name&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;="EmployeeDataSet"&lt;/SPAN&gt;&lt;SPAN style="COLOR: fuchsia"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: maroon"&gt;msdata&lt;/SPAN&gt;&lt;SPAN style="COLOR: fuchsia"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;IsDataSet&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;="true"&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: maroon"&gt;xs:complexType&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: maroon"&gt;xs:sequence&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: maroon"&gt;xs:element&lt;/SPAN&gt;&lt;SPAN style="COLOR: fuchsia"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;name&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;="employee"&lt;/SPAN&gt;&lt;SPAN style="COLOR: fuchsia"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;type&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;="Employee"&lt;/SPAN&gt;&lt;SPAN style="COLOR: fuchsia"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;minOccurs&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;="1"&lt;/SPAN&gt;&lt;SPAN style="COLOR: fuchsia"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: maroon"&gt;xs:sequence&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: maroon"&gt;xs:complexType&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: maroon"&gt;xs:element&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: maroon"&gt;xs:complexType&lt;/SPAN&gt;&lt;SPAN style="COLOR: fuchsia"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;name&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;="Employee"&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: maroon"&gt;xs:sequence&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: maroon"&gt;xs:element&lt;/SPAN&gt;&lt;SPAN style="COLOR: fuchsia"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;name&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;="Name"&lt;/SPAN&gt;&lt;SPAN style="COLOR: fuchsia"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;type&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;="xs:string"&lt;/SPAN&gt;&lt;SPAN style="COLOR: fuchsia"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;minOccurs&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;="0"&lt;/SPAN&gt;&lt;SPAN style="COLOR: fuchsia"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: maroon"&gt;xs:element&lt;/SPAN&gt;&lt;SPAN style="COLOR: fuchsia"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;name&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;="Age"&lt;/SPAN&gt;&lt;SPAN style="COLOR: fuchsia"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;type&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;="xs:int"&lt;/SPAN&gt;&lt;SPAN style="COLOR: fuchsia"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;minOccurs&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;="0"&lt;/SPAN&gt;&lt;SPAN style="COLOR: fuchsia"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: maroon"&gt;xs:sequence&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: maroon"&gt;xs:complexType&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: maroon; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;xs:schema&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&amp;lt;?&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: maroon; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;xml&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: fuchsia; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: red; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;version&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;="1.0"&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: fuchsia; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: red; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;encoding&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;="utf-8"&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: fuchsia; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;?&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: maroon; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;EmployeeDataSet&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: fuchsia; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: red; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;xmlns&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;="urn:rido.code/Employee"&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: maroon"&gt;employee&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: maroon"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;/SPAN&gt;rido&lt;SPAN style="COLOR: blue"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: maroon"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: maroon"&gt;Age&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;/SPAN&gt;33&lt;SPAN style="COLOR: blue"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: maroon"&gt;Age&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: maroon"&gt;employee&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: maroon; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;EmployeeDataSet&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Lucida Console'; mso-highlight: white"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=485393" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/rido/archive/tags/Agile/default.aspx">Agile</category><category domain="http://blogs.msdn.com/rido/archive/tags/Code/default.aspx">Code</category></item><item><title>PrinciplesOfObjectOrientedDesign </title><link>http://blogs.msdn.com/rido/archive/2005/10/03/476369.aspx</link><pubDate>Mon, 03 Oct 2005 13:50:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:476369</guid><dc:creator>rido</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/rido/comments/476369.aspx</comments><wfw:commentRss>http://blogs.msdn.com/rido/commentrss.aspx?PostID=476369</wfw:commentRss><description>&lt;div&gt;Does everybody agree about the "&lt;span class="page_title"&gt;Principles Of Object Oriented Design&lt;/span&gt;" ?&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;from: &lt;a href="http://butunclebob.com/ArticleS.UncleBob.PrinciplesOfObjectOrientedDesign"&gt;http://butunclebob.com/ArticleS.UncleBob.PrinciplesOfObjectOrientedDesign&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;"…&lt;/div&gt;
&lt;div style="FONT-WEIGHT: normal"&gt;The first five principles are principles of class design. They are:&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;&lt;table class="msoUcTable" style="TABLE-LAYOUT: fixed; WIDTH: 685px; BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-COLLAPSE: collapse; WORD-WRAP: break-word; BORDER-BOTTOM-STYLE: none" tabIndex="-1" border="1"&gt;&lt;colgroup&gt;&lt;col style="WIDTH: 34px" /&gt;&lt;col style="WIDTH: 221px" /&gt;&lt;col style="WIDTH: 430px" /&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;&lt;font size="1"&gt;SRP&lt;/font&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="http://www.objectmentor.com/resources/articles/srp"&gt;&lt;font size="1"&gt;The Single Responsibility Principle&lt;/font&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;em&gt;&lt;font size="1"&gt;A class should have one, and only one, reason to change.&lt;/font&gt;&lt;/em&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;&lt;font size="1"&gt;OCP&lt;/font&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="http://www.objectmentor.com/resources/articles/ocp.pdf"&gt;&lt;font size="1"&gt;The Open Closed Principle&lt;/font&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;em&gt;&lt;font size="1"&gt;You should be able to extend a classes behavior, without modifying it.&lt;/font&gt;&lt;/em&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;&lt;font size="1"&gt;LSP&lt;/font&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="http://www.objectmentor.com/resources/articles/lsp.pdf"&gt;&lt;font size="1"&gt;The Liskov Substitution Principle&lt;/font&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;em&gt;&lt;font size="1"&gt;Derived classes must be substitutable for their base classes.&lt;/font&gt;&lt;/em&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;&lt;font size="1"&gt;DIP&lt;/font&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="http://www.objectmentor.com/resources/articles/dip.pdf"&gt;&lt;font size="1"&gt;The Dependency Inversion Principle&lt;/font&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;em&gt;&lt;font size="1"&gt;Depend on abstractions, not on concretions.&lt;/font&gt;&lt;/em&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;&lt;font size="1"&gt;ISP&lt;/font&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="http://www.objectmentor.com/resources/articles/isp.pdf"&gt;&lt;font size="1"&gt;The Interface Segregation Principle&lt;/font&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;em&gt;&lt;font size="1"&gt;Make fine grained interfaces that are client specific.&lt;/font&gt;&lt;/em&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;The next six principles are about packages. In this context a package is a binary deliverable like a .jar file, or a dll as opposed to a namespace like a java package or a C++ namespace.&lt;br /&gt;&lt;br /&gt;The first three package principles are about package &lt;em&gt;cohesion&lt;/em&gt;, they tell us what to put inside packages:&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;&lt;table class="msoUcTable" style="TABLE-LAYOUT: fixed; WIDTH: 682px; BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-COLLAPSE: collapse; WORD-WRAP: break-word; BORDER-BOTTOM-STYLE: none" tabIndex="-1" border="1"&gt;&lt;colgroup&gt;&lt;col style="WIDTH: 33px" /&gt;&lt;col style="WIDTH: 270px" /&gt;&lt;col style="WIDTH: 379px" /&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;&lt;font size="1"&gt;REP&lt;/font&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="http://www.objectmentor.com/resources/articles/granularity.pdf"&gt;&lt;font size="1"&gt;The Release Reuse Equivalency Principle&lt;/font&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;em&gt;&lt;font size="1"&gt;The granule of reuse is the granule of release.&lt;/font&gt;&lt;/em&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;&lt;font size="1"&gt;CCP&lt;/font&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="http://www.objectmentor.com/resources/articles/granularity.pdf"&gt;&lt;font size="1"&gt;The Common Closure Principle&lt;/font&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;em&gt;&lt;font size="1"&gt;Classes that change together are packaged together.&lt;/font&gt;&lt;/em&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;&lt;font size="1"&gt;CRP&lt;/font&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="http://www.objectmentor.com/resources/articles/granularity.pdf"&gt;&lt;font size="1"&gt;The Common Reuse Principle&lt;/font&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;em&gt;&lt;font size="1"&gt;Classes that are used together are packaged together.&lt;/font&gt;&lt;/em&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;The last three principles are about the couplings between packages, and talk about metrics that evaluate the package structure of a system. &lt;br /&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;&lt;table class="msoUcTable" style="TABLE-LAYOUT: fixed; WIDTH: 664px; BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-COLLAPSE: collapse; WORD-WRAP: break-word; BORDER-BOTTOM-STYLE: none" tabIndex="-1" border="1"&gt;&lt;colgroup&gt;&lt;col style="WIDTH: 33px" /&gt;&lt;col style="WIDTH: 236px" /&gt;&lt;col style="WIDTH: 395px" /&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;&lt;font size="1"&gt;ADP&lt;/font&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="http://www.objectmentor.com/resources/articles/granularity.pdf"&gt;&lt;font size="1"&gt;The Acyclic Dependencies Principle&lt;/font&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;em&gt;&lt;font size="1"&gt;The dependency graph of packages must have no cycles.&lt;/font&gt;&lt;/em&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;&lt;font size="1"&gt;SDP&lt;/font&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="http://www.objectmentor.com/resources/articles/stability.pdf"&gt;&lt;font size="1"&gt;The Stable Dependencies Principle&lt;/font&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;em&gt;&lt;font size="1"&gt;Depend in the direction of stability.&lt;/font&gt;&lt;/em&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;&lt;font size="1"&gt;SAP&lt;/font&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="http://www.objectmentor.com/resources/articles/stability.pdf"&gt;&lt;font size="1"&gt;The Stable Abstractions Principle&lt;/font&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;em&gt;&lt;font size="1"&gt;Abstractness increases with stability.&lt;/font&gt;&lt;/em&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;div&gt;…"&lt;/div&gt;
&lt;div id="CSBloggerSig"&gt;&lt;/div&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=476369" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/rido/archive/tags/DevTools/default.aspx">DevTools</category><category domain="http://blogs.msdn.com/rido/archive/tags/Agile/default.aspx">Agile</category><category domain="http://blogs.msdn.com/rido/archive/tags/Code/default.aspx">Code</category></item><item><title>MockObjects again</title><link>http://blogs.msdn.com/rido/archive/2005/09/28/mockobjects-again.aspx</link><pubDate>Wed, 28 Sep 2005 15:58:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:475075</guid><dc:creator>rido</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/rido/comments/475075.aspx</comments><wfw:commentRss>http://blogs.msdn.com/rido/commentrss.aspx?PostID=475075</wfw:commentRss><description>&lt;DIV&gt;Finally my article about TDD, MockObjects and Dependency Injection is updated to this new URL: &lt;/DIV&gt;
&lt;DIV&gt;&lt;A href="http://msdn.microsoft.com/es-es/library/bb932285.aspx"&gt;http://msdn.microsoft.com/es-es/library/bb932285.aspx&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;It's in Spanish, but the sample code is English readable !!&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I'm waiting for your feedback.&lt;/DIV&gt;
&lt;DIV id=CSBloggerSig&gt;&lt;/DIV&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=475075" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/rido/archive/tags/Agile/default.aspx">Agile</category><category domain="http://blogs.msdn.com/rido/archive/tags/Code/default.aspx">Code</category></item><item><title>Unit Test Rules</title><link>http://blogs.msdn.com/rido/archive/2005/09/21/472242.aspx</link><pubDate>Wed, 21 Sep 2005 13:05:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:472242</guid><dc:creator>rido</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/rido/comments/472242.aspx</comments><wfw:commentRss>http://blogs.msdn.com/rido/commentrss.aspx?PostID=472242</wfw:commentRss><description>&lt;div&gt;Michael Feathers has posted a set of Unit Tests Rules &lt;a href="http://www.artima.com/weblogs/viewpost.jsp?thread=126923"&gt;http://www.artima.com/weblogs/viewpost.jsp?thread=126923&lt;/a&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;he said: &lt;/div&gt;
&lt;div&gt;&lt;em&gt;A test is not a unit test if:&lt;/em&gt;&lt;/div&gt;
&lt;li&gt;&lt;em&gt;It talks to the database &lt;/em&gt;&lt;/li&gt;&lt;li&gt;&lt;em&gt;It communicates across the network &lt;/em&gt;&lt;/li&gt;&lt;li&gt;&lt;em&gt;It touches the file system &lt;/em&gt;&lt;/li&gt;&lt;li&gt;&lt;em&gt;It can't run at the same time as any of your other unit tests &lt;/em&gt;&lt;/li&gt;&lt;li&gt;&lt;em&gt;You have to do special things to your environment (such as editing config files) to run it. &lt;/em&gt;&lt;/li&gt;&lt;div&gt; &lt;/div&gt;
&lt;div&gt;I understand his motivations to write this, however I think his position is very aggressive. Frankly, I have learned UnitTests reading tests from other people, and I've always seen some kind of dependencies with the Filesystem and sometimes a Database, and I don't think this makes these tests less Unit.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;I would like to reconsider each of first three points:&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;It talks to the database&lt;/strong&gt;. &lt;/div&gt;
&lt;ul style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px" type="disc"&gt;&lt;li&gt;use different db for unit and integration testing&lt;/li&gt;&lt;li&gt;the database can be created from scratch easily&lt;/li&gt;&lt;li&gt;tests uses the smallest amount of data they could&lt;/li&gt;&lt;li&gt;unit tests always execute though a local db instance&lt;/li&gt;&lt;/ul&gt;&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;em&gt;&lt;strong&gt;It communicates across the network&lt;/strong&gt;&lt;/em&gt;&lt;/div&gt;
&lt;div&gt;I always avoid to depend in another machine, so if you need to use the network always use localhost, and like the db, you must be able to setup the server side easily in your dev/build box.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;It touches the file system&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;I completely disagree this one, it's like if you said "it touches the memory". I don't like to depend on predefined paths and I always try to put my testfiles as resources of my test library, however there are too many situations where using the FS make things easier.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Finally I agree with the last two sentences…&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div id="CSBloggerSig"&gt;&lt;/div&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=472242" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/rido/archive/tags/DevTools/default.aspx">DevTools</category><category domain="http://blogs.msdn.com/rido/archive/tags/Agile/default.aspx">Agile</category><category domain="http://blogs.msdn.com/rido/archive/tags/Code/default.aspx">Code</category></item><item><title>How to learn Design Patterns</title><link>http://blogs.msdn.com/rido/archive/2005/09/03/460551.aspx</link><pubDate>Sat, 03 Sep 2005 20:35:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:460551</guid><dc:creator>rido</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/rido/comments/460551.aspx</comments><wfw:commentRss>http://blogs.msdn.com/rido/commentrss.aspx?PostID=460551</wfw:commentRss><description>Jeremy D. Miller talks in his blog about how to learn and apply Design Patterns.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://codebetter.com/blogs/jeremy.miller/archive/2005/09/01/131509.aspx"&gt;http://codebetter.com/blogs/jeremy.miller/archive/2005/09/01/131509.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I completely agree with his ideas, however I've been in frustrating situations when you come to an existing project, and you want to apply patterns, If the product is working ¿how do you convince to Project Managers how important is a well-design to a long term solution? &lt;br /&gt;&lt;br /&gt;In my experience, PMs only cares about milestones, calendars, and maybe features (they don't care how well designed it is), or better if the customer feels like if the feature is completed, without any quality measurement.&lt;br /&gt;&lt;br /&gt;I love design patterns, and I would like to improve my knowledge about them to be a better developer. I think every good programmer agree with me. &lt;br /&gt;&lt;br /&gt;But what we need to learn is "how to teach" the importance of design patterns to Project Managers. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt; &lt;/div&gt;
&lt;div id="CSBloggerSig"&gt;&lt;/div&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=460551" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/rido/archive/tags/Agile/default.aspx">Agile</category><category domain="http://blogs.msdn.com/rido/archive/tags/Code/default.aspx">Code</category></item><item><title>Look at this code !!</title><link>http://blogs.msdn.com/rido/archive/2005/09/01/459240.aspx</link><pubDate>Thu, 01 Sep 2005 21:50:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:459240</guid><dc:creator>rido</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/rido/comments/459240.aspx</comments><wfw:commentRss>http://blogs.msdn.com/rido/commentrss.aspx?PostID=459240</wfw:commentRss><description>At the beginning of this blog I started to submit intersting URL, or sites I don't want to forget.&lt;br&gt;
&lt;br&gt;
Since I &lt;a href="http://blogs.msdn.com/rido/archive/2005/05/07/415438.aspx"&gt;discovered&lt;/a&gt; &lt;a href="http://del.icio.us/"&gt;Del.Icio.Us&lt;/a&gt; (social bookmark manager) I just post my new links &lt;a href="http://del.icio.us/rido"&gt;there&lt;/a&gt;, but today I've found a blog dedicated to the most horrible code sinppets you've never seen. &lt;br&gt;
&lt;br&gt;
&lt;a href="http://thedailywtf.com"&gt;http://thedailywtf.com&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Have fun... &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=459240" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/rido/archive/tags/Code/default.aspx">Code</category></item></channel></rss>