Subject:Trang DTD->Schema wizard appears to not grok paths with spaces Author:David Karr Date:18 Apr 2006 07:39 PM
I tried running the Trang DTD->Schema wizard, using the browse button to
select the file, which was located in a directory path that contains one
or more spaces. When I do that, it fails with the following error:
fatal: input type does not support multiple input files: two arguments
are required
If I instead edit the resulting file path, changing spaces to "%20", it
works correctly. The URL-encoding of this value should be done
automatically.
Subject:Trang DTD->Schema wizard appears to not grok paths with spaces Author:Minollo I. Date:19 Apr 2006 11:33 AM
David,
we tried reproducing the problem you have reported, and we have failed. What Stylus Studio version are you running? (Help > About) Are you choosing the "DTD to XML Schema" wizard in File > Document Wizards..., XML Edit tab?
Subject:RE: Trang DTD->Schema wizard appears to not grok paths with spaces Author:David Karr Date:19 Apr 2006 12:45 PM
Enterprise 2006, r2, build 591b.
> -----Original Message-----
> From: stylus-studio-tech Listmanager
> [mailto:stylus-studio-tech.listmanager@stylusstudio.com]
> Sent: Wednesday, April 19, 2006 8:36 AM
> Subject: Trang DTD->Schema wizard appears to not grok paths
> with spaces
>
> From: Minollo I.
>
> David,
> we tried reproducing the problem you have reported, and we
> have failed. What Stylus Studio version are you running?
> (Help > About) Are you choosing the "DTD to XML Schema"
> wizard in File > Document Wizards..., XML Edit tab?
>
> Thanks,
> Minollo
>
>
> --
> To reply: mailto:stylus-studio-tech.14893@stylusstudio.com
> To start a new topic: mailto:stylus-studio-tech@stylusstudio.com
> To login: http://www.stylusstudio.com/SSDN/ To (un)subscribe:
> mailto:stylus-studio-tech.list-request@stylusstudio.com
>
>
Subject:RE: Trang DTD->Schema wizard appears to not grok paths with spaces Author:David Karr Date:19 Apr 2006 01:36 PM
Sorry, that was an important question. As you know, you provide two
different DTD->Schema converters. I was using the Trang converter, not
the built-in one. When I try this with the built-in converter, it does
not fail.
> -----Original Message-----
> From: stylus-studio-tech Listmanager
> [mailto:stylus-studio-tech.listmanager@stylusstudio.com]
> Sent: Wednesday, April 19, 2006 9:52 AM
> Subject: RE: Trang DTD->Schema wizard appears to not grok
> paths with spaces
>
> From: Minollo I.
>
> You didn't answer the second question, so I'm assuming the
> answer is "yes".
>
> What is the exact path that you use and that gives you
> problems? Do you specify anythingas "Target namespace"?
>
> Thanks,
> Minollo
>
>
> --
> To reply: mailto:stylus-studio-tech.14900@stylusstudio.com
> To start a new topic: mailto:stylus-studio-tech@stylusstudio.com
> To login: http://www.stylusstudio.com/SSDN/ To (un)subscribe:
> mailto:stylus-studio-tech.list-request@stylusstudio.com
>
>
Subject:RE: Trang DTD->Schema wizard appears to not grok paths with spaces Author:Minollo I. Date:19 Apr 2006 09:44 PM
Turns out the error is caused by a double attempt to avoid the problem you have reported...
The document wizard template uses double quotes around {$InputFile}; but at the same time the software internally adds double quotes for $FileInput because it has spaces... Two double quotes in the command line don't help, unfortunately.
To workaround the problem, you can do:
- Tools > Options > Custom Document Wizards
- Keeping Trang selected, change the "Command" field removing the quotes around {$InputFile}