[Mono-bugs] [Bug 436995] New: Xml-Rpc.net does not work since Mono 1.9.x

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Oct 20 11:18:22 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=436995


           Summary: Xml-Rpc.net does not work since Mono 1.9.x
           Product: Mono: Class Libraries
           Version: SVN
          Platform: x86
        OS/Version: Ubuntu
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Sys.XML
        AssignedTo: atsushi at ximian.com
        ReportedBy: davidiw at ufl.edu
         QAContact: mono-bugs at lists.ximian.com
          Found By: Third Party Developer/Partner


Between the last of the 1.9.x series of Mono and 2.0, xml-rpc.net stopped
working in mono.  I have written a relatively small sample code that exposes
the bug and attached.

Compile via

gmcs -r:System.Runtime.Remoting.dll -r:nunit.framework.dll
-r:CookComputing.XmlRpcV2.dll xmlrpc.cs

or

gmcs -r:System.Runtime.Remoting.dll -r:nunit.framework.dll
-r:CookComputing.XmlRpcV2.dll xmlrpc.cs -t:library

You'll either get a nunit testable dll or an exe (depending on which route you
take)

Depending on how you run the sample the output should either be a passed nunit
test or console output "1 + 2 = 3".  Currently an exception happens in either
case of the form:

Unhandled Exception: CookComputing.XmlRpc.XmlRpcIllFormedXmlException: Response
from server does not contain valid XML. ---> System.Xml.XmlException: Document
element did not appear.  Line 1, position 1.
  at Mono.Xml2.XmlTextReader.Read () [0x00000] 
  at System.Xml.XmlTextReader.Read () [0x00000] 
  at Mono.Xml.EntityResolvingXmlReader.Read () [0x00000] 
  at Mono.Xml.DTDValidatingReader.ReadContent () [0x00000] 
  at Mono.Xml.DTDValidatingReader.Read () [0x00000] 
  at Mono.Xml.Schema.XsdValidatingReader.Read () [0x00000] 
  at System.Xml.XmlValidatingReader.Read () [0x00000] 
  at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader)
[0x00000] 
  at System.Xml.XmlDocument.ReadNode (System.Xml.XmlReader reader) [0x00000] 
  at System.Xml.XmlDocument.Load (System.Xml.XmlReader xmlReader) [0x00000] 
  at System.Xml.XmlDocument.Load (System.IO.Stream inStream) [0x00000] 
  at CookComputing.XmlRpc.XmlRpcSerializer.DeserializeResponse
(System.IO.Stream stm, System.Type svcType) [0x00000] 
  --- End of inner exception stack trace ---
  at CookComputing.XmlRpc.XmlRpcSerializer.DeserializeResponse
(System.IO.Stream stm, System.Type svcType) [0x00000] 
  at CookComputing.XmlRpc.XmlRpcClientProtocol.ReadResponse
(CookComputing.XmlRpc.XmlRpcRequest req, System.Net.WebResponse webResp,
System.IO.Stream respStm, System.Type returnType) [0x00000] 
  at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke (System.Object clientObj,
System.Reflection.MethodInfo mi, System.Object[] parameters) [0x00000] 
  at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke
(System.Reflection.MethodInfo mi, System.Object[] Parameters) [0x00000] 
  at XmlRpcProxyf67a483f-0471-4f35-8a98-e4cc034c4276.Add (Int32 , Int32 )
[0x00000] 
  at xmlrpctest.Run.Main () [0x00000]


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list