Subject:Error Converting CSV in to XML Author:Geert van Walderveen Date:26 Oct 2004 09:47 AM
Hello,
I've just bought stylusstudio and want to convert a csv-file into XML (file, documents wizzard..).
After clicking OK the following error is displayed:
Command line failed:
java -cp "C:\Program Files\Stylus Studio Home Edition\bin\Plugins\FlatFileImport.jar;C:\Program Files\Stylus Studio Home Edition\bin\saxon.jar;C:\Program Files\Stylus Studio Home Edition\bin\xalan.jar;C:\Program Files\Stylus Studio Home Edition\bin\xercesImpl.jar" com.exln.stylus.Import -e ISO-8859-1 -R document -r row -m a -d 0x002c -q 0x0022 "C:\DOCUME~1\GG7245~1.VAN\LOCALS~1\Temp\tmpB.csv" C:\DOCUME~1\GG7245~1.VAN\LOCALS~1\Temp\csvC.xml
Initial Directory:
(null)
Subject:Re: Error Converting CSV in to XML Author:Geert van Walderveen Date:26 Oct 2004 11:09 AM
>An alternative answer is to
>use the new "Convert to XML"
>option
>in Stylus Studio 6.
>See
>http://www.stylusstudio.com/co
>nvert_to_xml.html for details,
>http://www.stylusstudio.com/le
>arn_convert_to_xml.html for a
>video tutorial, or chapter 3
>of the documentation for
>reference
>materials.
I've bougt the home edition because this can do the two things i want to do, converting csv to xml and mapping
Subject:Re: Error Converting CSV in to XML Author:Geert van Walderveen Date:26 Oct 2004 01:09 PM
>Geert
>
>Tell us a little bit more
>about your configuration
>
>Stylus Studio build number?
>
>Java Virtual Machine Version?
>
>You shoudl see them under Help
>-> About
>
>What you have under
>
>Tools ->
> Options ->
> Application Settings ->
> Java Virtual machine
>
>Thank You for your help
>Ivan
Hello,
My Stylus Studio version is 5.3 built number is 185a.
Under tools,options,applicationsettigs,java virtual machine i have:
enabled = on
runtime library: C:\Program Files\Java\j2re1.4.2_06\bin\client\jvm.dll
JDK home directory: empty
classpath:${classpath}
parameters: -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8001 -Djava.compiler=NONE
I hope you can do something with this information.
Subject:Re: Error Converting CSV in to XML Author:Minollo I. Date:26 Oct 2004 02:19 PM
Geert,
you are hitting a problem in the Home Edition package; CSV to XML uses a
module which is installed on demand, but the mechanism in some cases is not
properly triggered by the wizard.
You can force the installation of the missing component by:
- Create a new XSLT
- Choose a random XML source as input
- In the Scenario Properties dialog, under the processor tab choose XalanJ
- Run (XSLT | Preview) the stylesheet
Once that's completed, the missing component will be properly available.