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
Geert van WalderveenSubject: 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)

What do i have to do?

Tnx

Postnext
Minollo I.Subject: Re: Error Converting CSV in to XML
Author: Minollo I.
Date: 26 Oct 2004 10:20 AM
Most likely you don't have a Java JRE or SDK installed; you can download
and install it from:
http://java.sun.com/j2se/1.4.2/download.html

Minollo

Postnext
Tony LavinioSubject: Re: Error Converting CSV in to XML
Author: Tony Lavinio
Date: 26 Oct 2004 11:07 AM
An alternative answer is to use the new "Convert to XML" option
in Stylus Studio 6.
See http://www.stylusstudio.com/convert_to_xml.html for details,
http://www.stylusstudio.com/learn_convert_to_xml.html for a
video tutorial, or chapter 3 of the documentation for reference
materials.

Postnext
Geert van WalderveenSubject: 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

Postnext
Geert van WalderveenSubject: Re: Error Converting CSV in to XML
Author: Geert van Walderveen
Date: 26 Oct 2004 11:07 AM
I've done so and the next error is displayed:

java.lang.NoClassDefFoundError: org/apache/xml/serializer/Serial

What's the next thing i should do?

thx

Postnext
Ivan PedruzziSubject: Re: Error Converting CSV in to XML
Author: Ivan Pedruzzi
Date: 26 Oct 2004 11:40 AM
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

Postnext
Geert van WalderveenSubject: 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.

Geert

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

Sorry for the problem,
Minollo

Posttop
Geert van WalderveenSubject: Re: Error Converting CSV in to XML
Author: Geert van Walderveen
Date: 26 Oct 2004 02:46 PM
It's working!!!

Thanks a lot!

Greetings

 
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.