Check your data for apaostrophies, quotes, ampersands, greater-than or
less-than symbols - any of these create invalid xml from datadump. This
is fixed in current cvs.

If this isnt it, you could post your velocity.log which may tell more.

Russell

On Fri, 2002-09-20 at 20:58, Eric Emminger wrote:
> I'm testing the datadump and datasql targets in Torque 3.0 b4 using the
> bookstore example. The datadump and datadtd targets are successful, but
> the datasql target fails with the following error message.
> 
> BUILD FAILED
> 
> /home/eemminger/Documents/torque-3.0-b4/build-torque.xml:381: Generation
> failed. For more information consult the velocity log, or invoke ant
> with the -debug flag.
>         at
> org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java:579)
>         at org.apache.tools.ant.Task.perform(Task.java:217)
>         at org.apache.tools.ant.Target.execute(Target.java:184)
>         at org.apache.tools.ant.Target.performTasks(Target.java:202)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:601)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:560)
>         at org.apache.tools.ant.Main.runBuild(Main.java:454)
>         at org.apache.tools.ant.Main.start(Main.java:153)
>         at org.apache.tools.ant.Main.main(Main.java:176)
> --- Nested Exception ---
> java.lang.Exception: Exception parsing data XML:
>         at
> 
>org.apache.torque.task.TorqueDataSQLTask.initControlContext(TorqueDataSQLTask.java:167)
>         at
> org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java:480)
>         at org.apache.tools.ant.Task.perform(Task.java:217)
>         at org.apache.tools.ant.Target.execute(Target.java:184)
>         at org.apache.tools.ant.Target.performTasks(Target.java:202)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:601)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:560)
>         at org.apache.tools.ant.Main.runBuild(Main.java:454)
>         at org.apache.tools.ant.Main.start(Main.java:153)
>         at org.apache.tools.ant.Main.main(Main.java:176)
> 
> 
> The bookstore-schema.xml file and the bookstore-bookstore-all-data.xml
> file created by the datadump target appear to be valid. I checked both
> in IE6.
> 
> What's wrong?
> 
> Eric
> 
> -- 
> Eric Emminger
> [EMAIL PROTECTED]
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to