[Mono-devel-list] [PATCH] [Bug 53201] Deserialization of XmlElement fails.

Lluis Sanchez lluis at ximian.com
Thu Jan 22 06:34:34 EST 2004


Already fixed in CVS, but thanks anyway :-)

Lluis.

On dj, 2004-01-22 at 12:02, Boris Kirzner wrote:
> Thre was a mistake in my last mail.
> 
> Attached is the correct patch proposed.
> 
> Sorry
> 
> Boris
> 
> 
>  >Boris Kirzner wrote: Bugzilla bug 53201 
> (http://bugzilla.ximian.com/show_bug.cgi?id=53201)
>  >
>  >Attached is a simple patch for the bug. Probably it needs more precise 
> check of all possible execution flows.
>  >
>  >Boris Kirzner
> 
> ______________________________________________________________________
> --- old\XmlSerializationReaderInterpreter.cs	2004-01-22 12:59:23.397495500 +0200
> +++ new\XmlSerializationReaderInterpreter.cs	2004-01-22 12:20:19.421204800 +0200
> @@ -132,7 +132,7 @@
>  
>  		object ReadRoot (XmlTypeMapping rootMap)
>  		{
> -			if (Reader.LocalName != rootMap.ElementName || Reader.NamespaceURI != rootMap.Namespace)
> +			if (Reader.NamespaceURI != rootMap.Namespace)
>  				throw CreateUnknownNodeException();
>  				
>  			return ReadObject (rootMap, true, true);




More information about the Mono-devel-list mailing list