XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
David KarrSubject: 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.

Postnext
Minollo I.Subject: Trang DTD->Schema wizard appears to not grok paths with spaces
Author: Minollo I.
Date: 18 Apr 2006 09:24 PM
Thanks for pointing this out; we'll fix this in the next maintenance update.

Minollo

Postnext
Minollo I.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?

Thanks,
Minollo

Postnext
David KarrSubject: 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
>
>

Postnext
Minollo I.Subject: RE: Trang DTD->Schema wizard appears to not grok paths with spaces
Author: Minollo I.
Date: 19 Apr 2006 12:48 PM
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

Postnext
David KarrSubject: 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
>
>

Posttop
Minollo I.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}

That will fix the problem you are seeing.
Minollo

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.