<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>XML e System.XML</title>
        <link>http://blogs.ugidotnet.org/ArturoPisapiaNET/category/791.aspx</link>
        <description>XML e System.XML</description>
        <language>it-IT</language>
        <copyright>Arturo Pisapia</copyright>
        <generator>Subtext Version 2.1.0.3</generator>
        <item>
            <title>WS Software Factory</title>
            <link>http://blogs.ugidotnet.org/ArturoPisapiaNET/archive/2006/10/04/49920.aspx</link>
            <description>&lt;DIV&gt;Per tutti quelli che realizzano Web Services ecco un ottimo pacchetto 
fornito da Microsoft:&lt;/DIV&gt;
&lt;DIV&gt;&lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/servicefactory.asp" _fcksavedurl="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/servicefactory.asp"&gt;WS 
Software Factory&lt;/A&gt;&amp;nbsp; racchiude una collezione di tool, di patterns e 
soprattutto un progetto di Guidance Automation.&lt;/DIV&gt;
&lt;FONT face=Verdana size=2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;/FONT&gt;
&lt;FONT face=Verdana size=2&gt;&lt;P&gt;&lt;A href="http://imhoproject.org/"&gt;&lt;FONT face=Verdana size=1&gt;powered by IMHO 1.3&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;!-- Powered by IMHO 1.3 (IT) Instant Blogger Copyright (c) 2005 A.Boschin - http://www.imhoproject.org --&gt;&lt;img src="http://blogs.ugidotnet.org/ArturoPisapiaNET/aggbug/49920.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Arturo Pisapia</dc:creator>
            <guid>http://blogs.ugidotnet.org/ArturoPisapiaNET/archive/2006/10/04/49920.aspx</guid>
            <pubDate>Wed, 04 Oct 2006 07:35:00 GMT</pubDate>
            <wfw:comment>http://blogs.ugidotnet.org/ArturoPisapiaNET/comments/49920.aspx</wfw:comment>
            <comments>http://blogs.ugidotnet.org/ArturoPisapiaNET/archive/2006/10/04/49920.aspx#feedback</comments>
            <slash:comments>6</slash:comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/ArturoPisapiaNET/comments/commentRss/49920.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.ugidotnet.org/ArturoPisapiaNET/services/trackbacks/49920.aspx</trackback:ping>
        </item>
        <item>
            <title>Well Formed Xml Creation...using XmlTextWriter</title>
            <link>http://blogs.ugidotnet.org/ArturoPisapiaNET/archive/2006/10/03/49740.aspx</link>
            <description>&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconcustomizedxmlwritercreation.asp"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconcustomizedxmlwritercreation.asp&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;A href="http://msdn.microsoft.com/msdnmag/issues/05/06/ServiceStation/"&gt;http://msdn.microsoft.com/msdnmag/issues/05/06/ServiceStation/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Ecco oggi ho perso 4 ore grazie a un Xml non well Formed che la classe XmlTextWriter, ahim&amp;#232;, non segnala come Non Well Formed.&lt;/P&gt;
&lt;P&gt;La soluzione: passare al FW 2.0, o estendere XmlTextWriter.&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face=Verdana size=2&gt;
&lt;P&gt;&lt;A href="http://imhoproject.org/"&gt;&lt;FONT face=Verdana size=1&gt;powered by IMHO 1.3&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;!-- Powered by IMHO 1.3 (IT) Instant Blogger Copyright (c) 2005 A.Boschin - http://www.imhoproject.org --&gt;&lt;img src="http://blogs.ugidotnet.org/ArturoPisapiaNET/aggbug/49740.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Arturo Pisapia</dc:creator>
            <guid>http://blogs.ugidotnet.org/ArturoPisapiaNET/archive/2006/10/03/49740.aspx</guid>
            <pubDate>Tue, 03 Oct 2006 15:45:00 GMT</pubDate>
            <wfw:comment>http://blogs.ugidotnet.org/ArturoPisapiaNET/comments/49740.aspx</wfw:comment>
            <comments>http://blogs.ugidotnet.org/ArturoPisapiaNET/archive/2006/10/03/49740.aspx#feedback</comments>
            <slash:comments>6</slash:comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/ArturoPisapiaNET/comments/commentRss/49740.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.ugidotnet.org/ArturoPisapiaNET/services/trackbacks/49740.aspx</trackback:ping>
        </item>
        <item>
            <title>WSE 3.0 Primer</title>
            <link>http://blogs.ugidotnet.org/ArturoPisapiaNET/archive/2006/08/17/46288.aspx</link>
            <description>&lt;FONT face=Verdana size=2&gt;
&lt;P&gt;Ecco un ottimo punto di partenza per imparare WSE: &lt;A title="" href="http://blogs.msdn.com/mfussell/archive/2006/05/25/607820.aspx" target="" name=""&gt;WSE 3.0 Primer&lt;/A&gt; by Mark Fussell.&lt;/P&gt;

&lt;/FONT&gt;
&lt;FONT face=Verdana size=2&gt;&lt;P&gt;&lt;A href="http://imhoproject.org/"&gt;&lt;FONT face=Verdana size=1&gt;powered by IMHO 1.3&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;!-- Powered by IMHO 1.3 (IT) Instant Blogger Copyright (c) 2005 A.Boschin - http://www.imhoproject.org --&gt;&lt;img src="http://blogs.ugidotnet.org/ArturoPisapiaNET/aggbug/46288.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Arturo Pisapia</dc:creator>
            <guid>http://blogs.ugidotnet.org/ArturoPisapiaNET/archive/2006/08/17/46288.aspx</guid>
            <pubDate>Thu, 17 Aug 2006 07:15:00 GMT</pubDate>
            <wfw:comment>http://blogs.ugidotnet.org/ArturoPisapiaNET/comments/46288.aspx</wfw:comment>
            <comments>http://blogs.ugidotnet.org/ArturoPisapiaNET/archive/2006/08/17/46288.aspx#feedback</comments>
            <slash:comments>7</slash:comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/ArturoPisapiaNET/comments/commentRss/46288.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.ugidotnet.org/ArturoPisapiaNET/services/trackbacks/46288.aspx</trackback:ping>
        </item>
        <item>
            <title>Tutto su asmx 2.0, Wse 3.0 e WCF</title>
            <link>http://blogs.ugidotnet.org/ArturoPisapiaNET/archive/2006/02/17/35035.aspx</link>
            <description>&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Tutto su asmx 2.0, Wse 3.0 e WCF: assolutamente da leggere il nuovo articolo di Aaron Skonnard su&amp;nbsp;Msdn Magazine....&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;L'articolo esordisce cos&amp;#236;&amp;nbsp; (e mi trovo perfettamente in accordo, come potrei non esserlo :-) ):&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=clsGloss&gt;"The release of&lt;/SPAN&gt;&amp;nbsp; the Microsoft&lt;SUP class=clsSmall&gt;&amp;#174;&lt;/SUP&gt; .NET Framework 2.0 reshapes the Web services landscape in several interesting, and perhaps confusing, ways.&lt;SUP class=clsSmall&gt;"&lt;/SUP&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Fonte: &lt;A title="" href="http://msdn.microsoft.com/msdnmag/issues/06/01/ServiceStation/default.aspx" target="" name=""&gt;Msdn Magazine, Aaron Skonnard&lt;/A&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face=Verdana size=2&gt;
&lt;P&gt;&lt;A href="http://imhoproject.org/"&gt;&lt;FONT face=Verdana size=1&gt;powered by IMHO 1.3&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;!-- Powered by IMHO 1.3 (IT) Instant Blogger Copyright (c) 2005 A.Boschin - http://www.imhoproject.org --&gt;&lt;img src="http://blogs.ugidotnet.org/ArturoPisapiaNET/aggbug/35035.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Arturo Pisapia</dc:creator>
            <guid>http://blogs.ugidotnet.org/ArturoPisapiaNET/archive/2006/02/17/35035.aspx</guid>
            <pubDate>Fri, 17 Feb 2006 11:02:00 GMT</pubDate>
            <wfw:comment>http://blogs.ugidotnet.org/ArturoPisapiaNET/comments/35035.aspx</wfw:comment>
            <comments>http://blogs.ugidotnet.org/ArturoPisapiaNET/archive/2006/02/17/35035.aspx#feedback</comments>
            <slash:comments>18</slash:comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/ArturoPisapiaNET/comments/commentRss/35035.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.ugidotnet.org/ArturoPisapiaNET/services/trackbacks/35035.aspx</trackback:ping>
        </item>
        <item>
            <title>What's New in Web Services Enhancements (WSE) 3.0</title>
            <link>http://blogs.ugidotnet.org/ArturoPisapiaNET/archive/2005/08/17/24917.aspx</link>
            <description>&lt;P&gt;Ecco un articolo di Mark Fussell a riguardo, a cui dar&amp;#242; senz'altro una bella lettura: &lt;A href="http://msdn.microsoft.com/webservices/default.aspx?pull=/library/en-us/dnwse/html/newwse3.asp"&gt;http://msdn.microsoft.com/webservices/default.aspx?pull=/library/en-us/dnwse/html/newwse3.asp&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.ugidotnet.org/ArturoPisapiaNET/aggbug/24917.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Arturo Pisapia</dc:creator>
            <guid>http://blogs.ugidotnet.org/ArturoPisapiaNET/archive/2005/08/17/24917.aspx</guid>
            <pubDate>Wed, 17 Aug 2005 14:19:00 GMT</pubDate>
            <wfw:comment>http://blogs.ugidotnet.org/ArturoPisapiaNET/comments/24917.aspx</wfw:comment>
            <comments>http://blogs.ugidotnet.org/ArturoPisapiaNET/archive/2005/08/17/24917.aspx#feedback</comments>
            <slash:comments>7</slash:comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/ArturoPisapiaNET/comments/commentRss/24917.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.ugidotnet.org/ArturoPisapiaNET/services/trackbacks/24917.aspx</trackback:ping>
        </item>
        <item>
            <title>The XML Litmus Test</title>
            <link>http://blogs.ugidotnet.org/ArturoPisapiaNET/archive/2004/10/27/4852.aspx</link>
            <description>&lt;P&gt;Per i neofiti dell'XML, visto che come tante delle buzzword ormai in uso si tende ad usarlo sempre e comunque, un articolo riguardo alle regole di base che dovrebbero (secondo l'autore) essere soddisfatte per scomodare Mr.XML: &lt;A href="http://msdn.microsoft.com/XML/BuildingXML/XMLColumns/default.aspx?pull=/library/en-us/dnexxml/html/xml10202004.asp"&gt;The XML Litmus Test&lt;/A&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt; &lt;/P&gt;&lt;img src="http://blogs.ugidotnet.org/ArturoPisapiaNET/aggbug/4852.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Arturo Pisapia</dc:creator>
            <guid>http://blogs.ugidotnet.org/ArturoPisapiaNET/archive/2004/10/27/4852.aspx</guid>
            <pubDate>Wed, 27 Oct 2004 12:05:00 GMT</pubDate>
            <wfw:comment>http://blogs.ugidotnet.org/ArturoPisapiaNET/comments/4852.aspx</wfw:comment>
            <comments>http://blogs.ugidotnet.org/ArturoPisapiaNET/archive/2004/10/27/4852.aspx#feedback</comments>
            <slash:comments>3</slash:comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/ArturoPisapiaNET/comments/commentRss/4852.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.ugidotnet.org/ArturoPisapiaNET/services/trackbacks/4852.aspx</trackback:ping>
        </item>
        <item>
            <title>Visto che qualche giorno fa ho visto nelle news la presentazione di Schematron</title>
            <link>http://blogs.ugidotnet.org/ArturoPisapiaNET/archive/2004/09/29/3418.aspx</link>
            <description>&lt;H1 class=dtH1&gt;&lt;FONT size=3&gt;&lt;FONT face=Arial&gt;Visto che qualche giorno fa ho visto nelle news la presentazione di Schematron....nome che mi ricordava solo gli eroi del famoso cartone Transformers.....e siccome ignoravo cosa fosse, ho deciso di dare un'occhiata a questo articolo di &lt;/FONT&gt;&lt;A href="http://blogs.msdn.com/dareobasanjo"&gt;&lt;FONT face=Arial&gt;Dare Obasanjo&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial&gt; : &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=3&gt;&lt;A href="http://msdn.microsoft.com/XML/BuildingXML/XMLSchemas/default.aspx?pull=/library/en-us/dnxml/html/schematron.asp"&gt;Improving XML Document Validation with Schematron&lt;/A&gt;&lt;/FONT&gt;&lt;/H1&gt;&lt;img src="http://blogs.ugidotnet.org/ArturoPisapiaNET/aggbug/3418.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Arturo Pisapia</dc:creator>
            <guid>http://blogs.ugidotnet.org/ArturoPisapiaNET/archive/2004/09/29/3418.aspx</guid>
            <pubDate>Wed, 29 Sep 2004 19:09:00 GMT</pubDate>
            <wfw:comment>http://blogs.ugidotnet.org/ArturoPisapiaNET/comments/3418.aspx</wfw:comment>
            <comments>http://blogs.ugidotnet.org/ArturoPisapiaNET/archive/2004/09/29/3418.aspx#feedback</comments>
            <slash:comments>25</slash:comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/ArturoPisapiaNET/comments/commentRss/3418.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.ugidotnet.org/ArturoPisapiaNET/services/trackbacks/3418.aspx</trackback:ping>
        </item>
        <item>
            <title>Serializzazione con .NET : Come fare in modo che il Framework scambi due tipi diversi per lo stesso</title>
            <link>http://blogs.ugidotnet.org/ArturoPisapiaNET/archive/2004/09/23/3122.aspx</link>
            <description>&lt;P&gt;&lt;FONT face=Arial&gt;Come fare in modo che il Framework scambi due tipi diversi per lo stesso: Ovviamente con cio' intendo due tipi complessi che pero' in realta' hanno la stessa struttura (ma per ragioni non precisate e che sono al di fuori del nostro controllo non sono lo stesso identico OGGETTO)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial&gt;Basta fare:&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;            &lt;FONT face=Georgia size=1&gt; internal&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Georgia size=1&gt; tipoProva1 ConvertGetList(tipoProva2 list)&lt;/FONT&gt;&lt;/P&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;
&lt;P&gt;&lt;FONT face=Georgia size=1&gt;{&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Georgia color=#008000 size=1&gt;//Piccolo trucco per convertire due tipi (che in realta' sono identici)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Georgia&gt;&lt;FONT size=1&gt;&lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; s1 = &lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;.Serialize(list,&lt;FONT color=#0000ff&gt;typeof&lt;/FONT&gt;(tipoProva1));&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Georgia&gt;&lt;FONT size=1&gt;&lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;.DeSerialize(s1,&lt;FONT color=#0000ff&gt;typeof&lt;/FONT&gt;(tipoProva1));&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Georgia size=1&gt;}&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;/FONT&gt; &lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;dove Serialize e' ovviamente una cosa del tipo:&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;
&lt;P&gt;&lt;FONT face=Georgia size=1&gt;public&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Georgia size=1&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; Serialize(&lt;FONT color=#0000ff&gt;object&lt;/FONT&gt; o, Type type)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Georgia size=1&gt;{&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Georgia size=1&gt;XmlSerializer serializer = &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Georgia&gt;&lt;FONT size=1&gt;&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; XmlSerializer(type);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Georgia size=1&gt;StringBuilder s = &lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; StringBuilder();&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Georgia size=1&gt;TextWriter writer = &lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; StringWriter(s);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Georgia size=1&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Georgia size=1&gt;serializer.Serialize(writer, o);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Georgia size=1&gt;writer.Close();&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Georgia size=1&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Georgia&gt;&lt;FONT size=1&gt;&lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; s.ToString();&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Georgia size=1&gt;}&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;/FONT&gt; &lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;e deserialize invece e' del tipo:&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;
&lt;P&gt;&lt;FONT face=Georgia size=1&gt;public&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Georgia size=1&gt; tipoProva1 DeSerialize(&lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; strXml, Type type)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Georgia size=1&gt;{&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Georgia size=1&gt;StringReader r = &lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; StringReader(strXml);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Georgia size=1&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Georgia size=1&gt;XmlSerializer serializer = &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=1&gt;&lt;FONT face=Georgia&gt;&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; XmlSerializer(type);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Georgia size=1&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Georgia size=1&gt;tipoProva1 obj = (tipoProva1) serializer.Deserialize(r);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=1&gt;&lt;FONT face=Georgia&gt;&lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; obj;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Georgia size=1&gt;}&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;/FONT&gt; &lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Alla fine abbiamo il tipoProva1 partendo da un tipoProva2.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;....non chiedetemi perche' ci si puo' trovare in una situazione del genere...a me e' capitato analizzando del codice preesistente con delle WebReference e la definizione di tipi che in realta' erano identici; facendo le dovute modifiche al codice, cercando di evitare di andare a modificare le Web Reference (generate in modo automatico), ho introdotto lo State Pattern, quindi di se ho dovuto fare in modo che questi tipi confluissero in un qualche modo in un tipo comune.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Probabilmente c'era un modo migliore per fare questa cosa, ma e' stata la soluzione + veloce che mi e' venuta in mente!&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt; &lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Ovviamente accetto ogni sorta di suggerimento...chissa che non riesca ad imparare qualcosa, magari evitando questi subdoli trucchetti...&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;img src="http://blogs.ugidotnet.org/ArturoPisapiaNET/aggbug/3122.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Arturo Pisapia</dc:creator>
            <guid>http://blogs.ugidotnet.org/ArturoPisapiaNET/archive/2004/09/23/3122.aspx</guid>
            <pubDate>Thu, 23 Sep 2004 07:44:00 GMT</pubDate>
            <wfw:comment>http://blogs.ugidotnet.org/ArturoPisapiaNET/comments/3122.aspx</wfw:comment>
            <comments>http://blogs.ugidotnet.org/ArturoPisapiaNET/archive/2004/09/23/3122.aspx#feedback</comments>
            <slash:comments>6</slash:comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/ArturoPisapiaNET/comments/commentRss/3122.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.ugidotnet.org/ArturoPisapiaNET/services/trackbacks/3122.aspx</trackback:ping>
        </item>
        <item>
            <title>Problema con l' XmlSchemaException!</title>
            <link>http://blogs.ugidotnet.org/ArturoPisapiaNET/archive/2004/05/10/1482.aspx</link>
            <description>&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT size=2&gt;I have an Xml with this structure (simplified):&lt;BR&gt;&lt;BR&gt;&lt;TV program&gt;&lt;BR&gt;&amp;nbsp; &lt;OTHER elements key&gt;&amp;lt;TV program&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;other key elements&amp;gt;....&amp;lt;/other key elements&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;episode 1&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;a&amp;gt;&amp;lt;/a&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;b&amp;gt;&amp;lt;/b&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/episode 1&amp;gt;&lt;BR&gt;&amp;nbsp;&lt;EPISODE 1&gt;&lt;BR&gt;&lt;/EPISODE 1&gt;&amp;nbsp;&amp;nbsp; ...&lt;BR&gt;&amp;nbsp;&amp;nbsp; ...&lt;BR&gt;&amp;nbsp;&amp;nbsp; ...&lt;BR&gt;&amp;nbsp; &amp;lt;episode n&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;a&amp;gt;&amp;lt;/a&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;b&amp;gt;&amp;lt;/b&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/episode n&amp;gt;&lt;BR&gt;&amp;lt;/TV program&amp;gt;&lt;BR&gt;&lt;EPISODE n&gt;&lt;BR&gt;&lt;/EPISODE n&gt;&lt;BR&gt;&lt;BR&gt;I implemented the ValidationCallback method to catch all the semantics errors in the fields.&lt;BR&gt;If occurs an error in the element &lt;A&gt;of episode k I can't go upward to the episode to determine exactly in what episode occurs the error.&lt;BR&gt;If the XmlSchemaException return me the exact node will be easy to do.&lt;BR&gt;I think there's a way to make this, analyzing the message stream, but it's very complex. I think I'll take a lot of time to do it.&lt;BR&gt;&lt;BR&gt;Thanks in advance! &lt;BR&gt;&lt;A&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/A&gt;&lt;img src="http://blogs.ugidotnet.org/ArturoPisapiaNET/aggbug/1482.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Arturo Pisapia</dc:creator>
            <guid>http://blogs.ugidotnet.org/ArturoPisapiaNET/archive/2004/05/10/1482.aspx</guid>
            <pubDate>Mon, 10 May 2004 08:29:00 GMT</pubDate>
            <wfw:comment>http://blogs.ugidotnet.org/ArturoPisapiaNET/comments/1482.aspx</wfw:comment>
            <comments>http://blogs.ugidotnet.org/ArturoPisapiaNET/archive/2004/05/10/1482.aspx#feedback</comments>
            <slash:comments>5</slash:comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/ArturoPisapiaNET/comments/commentRss/1482.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.ugidotnet.org/ArturoPisapiaNET/services/trackbacks/1482.aspx</trackback:ping>
        </item>
    </channel>
</rss>