[Mono-list] Mono xsd invocation problems

Marcus mathpup@mylinuxisp.com
Fri, 2 Jul 2004 18:34:12 -0500

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