[Mono-list] Mono xsd invocation problems

Lluis Sanchez lluis@ximian.com
Mon, 12 Jul 2004 10:41:06 +0200


Fixed in CVS HEAD.
Thanks Marcus.

On ds, 2004-07-03 at 01:34, Marcus wrote:
> Invoking Mono's xsd program seems to have a serious problem in that it's 
> impossible to specify a path to the .xsd file. Instead, one must invoke in 
> xsd from the directory that contains the .xds file. Attaching to specify a 
> path results in errors:
> 
> > xsd  /home/marcus/Schemas/file.xsd /classes
> Unknown option home/marcus/Schemas/file.xsd
> System.Exception: Unknown option home/marcus/Schemas/file.xsd
> in <0x00039> Mono.Util.Driver:Error (string,string)
> in <0x007fa> Mono.Util.Driver:Run (string[])
> in <0x0005e> Mono.Util.Driver:Main (string[])
> 
> Quoting the path does not fix the problem. Rotor's version of xsd.exe does 
> work correctly when a path is specified.
> 
> I would have reported this in Bugzilla, but I could not find an appropriate 
> category. 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list