[Mono-dev] [PATCH] XPathNavigator.CanEdit

Atsushi Eno atsushi at ximian.com
Tue Oct 10 10:59:06 EDT 2006


Hello Kosta,

Thanks for the patch. CanEdit needed a fix for sure. Though the patch
was kind of wrong and I fixed it a bit differently.
XmlDocumentNavigator itself is designed to be read-only (it does not
implement any of editing methods) and thus it should not return CanEdit
as true, so that someone who derives another XPathNavigator based on it
would not be messed by CanEdit result. Only XmlDocumentEditableNavigator
should override it.

Atsushi Eno

Konstantin Triger wrote:
> Hello,
> 
>  
> 
> The attached patch and a test case set the CanEdit property according to msdn.
> 
>  
> 
> Please review.
> 
>  
> 
> Regards,
> 
> Konstantin Triger
> 
>  
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list