[Mono-bugs] [Bug 52591][Wis] New - wsdl fails with some WSDL (xml) schema, XmlInputStream problem (or network stream)

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 4 Jan 2004 17:09:12 -0500 (EST)


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 pablo@pablo.com.mx.

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

--- shadow/52591	2004-01-04 17:09:12.000000000 -0500
+++ shadow/52591.tmp.30352	2004-01-04 17:09:12.000000000 -0500
@@ -0,0 +1,98 @@
+Bug#: 52591
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: Debian SID
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: System.XML
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: pablo@pablo.com.mx               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: wsdl fails with some WSDL (xml) schema, XmlInputStream problem (or network stream)
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+The Mono version of Wsdl does not generate any code cause it fails with
+some restriction errors. 
+
+Tested with .28, .29 and CVS version.
+
+Steps to reproduce the problem:
+1. Open a terminal
+2. Run wsdl with the following argument:
+http://ws.pablo.com.mx/bloggy.php?wsdl, so the complete command line will be:
+$ wsdl http://ws.pablo.com.mx/bloggy.php?wsdl
+
+Actual Results:
+Error: unmatched closing element: expected xsd:restriction but found
+xsd:restrictio Line 1, position 1257.
+Stack:
+ in <0x00134> System.Xml.XmlTextReader:ReadEndTag ()
+in <0x0004e> System.Xml.XmlTextReader:ReadTag ()
+in <0x000e5> System.Xml.XmlTextReader:ReadContent ()
+in <0x0019f> System.Xml.XmlTextReader:Read ()
+in <0x00014> System.Xml.Schema.XmlSchemaReader:Read ()
+in <0x000a7> System.Xml.Schema.XmlSchemaReader:ReadNextElement ()
+in <0x00832> System.Xml.Schema.XmlSchemaComplexContentRestriction:Read
+(System.Xml.Schema.XmlSchemaReader,Sys
+tem.Xml.Schema.ValidationEventHandler)
+in <0x0054a> System.Xml.Schema.XmlSchemaComplexContent:Read
+(System.Xml.Schema.XmlSchemaReader,System.Xml.Sch
+ema.ValidationEventHandler)
+in <0x00813> System.Xml.Schema.XmlSchemaComplexType:Read
+(System.Xml.Schema.XmlSchemaReader,System.Xml.Schema
+.ValidationEventHandler)
+in <0x00463> System.Xml.Schema.XmlSchema:ReadContent
+(System.Xml.Schema.XmlSchema,System.Xml.Schema.XmlSchema
+Reader,System.Xml.Schema.ValidationEventHandler)
+in <0x001d3> System.Xml.Schema.XmlSchema:Read
+(System.Xml.XmlReader,System.Xml.Schema.ValidationEventHandler)
+in <0x0002a>
+System.Web.Services.Description.ServiceDescriptionReaderBase:ReadObject_XmlSchema
+(bool,bool)
+in <0x004b9>
+System.Web.Services.Description.ServiceDescriptionReaderBase:ReadObject_Types
+(bool,bool)
+in <0x00a9e>
+System.Web.Services.Description.ServiceDescriptionReaderBase:ReadObject_ServiceDescription
+(bool
+,bool)
+in <0x0003c>
+System.Web.Services.Description.ServiceDescriptionReaderBase:ReadTree ()
+in <0x00041> .ServiceDescriptionSerializer:Deserialize
+(System.Xml.Serialization.XmlSerializationReader)
+in <0x00068> System.Xml.Serialization.XmlSerializer:Deserialize
+(System.Xml.XmlReader)
+in <0x0001d> System.Web.Services.Description.ServiceDescription:Read
+(System.Xml.XmlReader)
+in <0x001b1> Mono.WebServices.Driver:Run (string[])
+
+Expected Results:
+Get a .cs file with the proxy code.
+
+How often does this happen? 
+Every time in Mono Version.
+
+Additional Information:
+If I run wsdl (but the MS version) it does give any errors it generated the
+code without problems.
+
+It looks like a bug in network stream or XmlInputStream, which is specific
+to unix environment. (However, there is no code switch in XmlInputStream.)
+
+The file to test it will be in: 
+http://ws.pablo.com.mx/bloggy.php
+
+Until the bug is fixed.
+
+Also, to view the wsdl schema, you can go to:
+http://ws.pablo.com.mx/bloggy.php?wsdl
+
+Pablo Fischer (pablo at/arroba pablo.com.mx)