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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=79636 --- shadow/79636 2006-10-10 16:31:42.000000000 -0400 +++ shadow/79636.tmp.13254 2006-10-10 16:31:42.000000000 -0400 @@ -0,0 +1,54 @@ +Bug#: 79636 +Product: Mono: Class Libraries +Version: 1.1 +OS: All +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Minor +Component: Sys.Web.Services +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: wsdl silently ignore unknown options starting with / + +Please fill in this template when reporting a bug, unless you know what you +are doing. +Description of Problem: + +if you pass an unknown command line option using / and not - as option +specifier, wsdl.exe will ignore it as long as a vaid URL or file name +follows. + + +Steps to reproduce the problem: +1. run wsdl /foo:bar path/to/an/existing/wsdl.file + +Actual Results: + +the WSDL file is processed, the option completely ignored + +Expected Results: + +an error message about an unknown option just as you see it when you use +-foo:bar instead of /foo:bar + +How often does this happen? + +Always. + +Additional Information: + +If you use /foo:bar after the file name, wsdl.exe barfs because the URL +looks invalid. + +I think the problem is that the default case inside the switch accepts +the unknown option as a valid file name in Driver.ImportArgument and the +subsequent file name simply overrides url. + +I'd suggest to fail if hasUrl is true and you seem to find yet another +url, but then again I'm not really familiar with the code. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
