[Mono-bugs] [Bug 49589][Wis] Changed - Webservices cant handle a method with [return:XmlAnyElement]

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 14 Oct 2003 11:00:43 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by lluis@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=49589

--- shadow/49589	2003-10-12 22:57:27.000000000 -0400
+++ shadow/49589.tmp.10319	2003-10-14 11:00:42.000000000 -0400
@@ -1,10 +1,10 @@
 Bug#: 49589
 Product: Mono/Class Libraries
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
 Severity: Unknown
 Priority: Wishlist
 Component: System.Web
@@ -88,6 +88,13 @@
 /devel/mcs/class/System.Web/System.Web/HttpApplication.cs:677)
 .StateMachine:ExecuteState (System.Web.HttpApplication/IStateHandler,bool&)
 
 Expected Results:
 You are able to view the service page. You can call the method and will get
 the same return as without the [return:...]
+
+------- Additional Comments From lluis@ximian.com  2003-10-14 11:00 -------
+According to the documentation, XmlAnyElement can only be applied to
+members of type XmlElement or XmlNode. I tried that test case on MS,
+and although it compiles, it crashes when the method is invoked. I can
+remove the check in XmlSerializer, but it does not make any sense to
+me, since the code won't run anyway.