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
Christopher ArthurSubject: ddtek:sql-delete
Author: Christopher Arthur
Date: 21 Feb 2008 04:56 PM
Hi, I'm having a problem with ddtek:sql-delete when I try to run it outside of Stylus Studio in our production environment. We use Stylus Studio 2007 to develop pipelines and complile them for Java which we run under DataDirect on a server.

I have a pipeline that uses ddtek:sql-delete that is failing with the following message:

Failure executing XML Pipeline com.edictsystems.xmlpipeline.KawasakiAccessoriesItems.KawasakiAccessoriesItems com.stylusstudio.xmlpipeline.runtime.PipelineException: Delete from BINLOC: Unable to convert value for parameter {http://org.jcp.xqj}context-item to a DOM.


The entire XQuery is the following line with a database reference:
ddtek:sql-delete(collection("BINLOC")/BINLOC)

The name of the table is actually longer with a schema name but I removed the names of the innocent. The entire pipeline runs without a hitch in Stylus Studio on my machine but once we port the compiled pipeline over we get this error and I have no idea what the error means really. I get that it is having problems converting a parameter to the type it needs but not why when it works fine in Stylus Studio. Any insight and help is appreciated.

Postnext
Minollo I.Subject: ddtek:sql-delete
Author: Minollo I.
Date: 21 Feb 2008 05:35 PM
It sounds like a problem in the generated pipeline code; what version and build number (Help > About) of Stylus Studio (which generates the pipeline) are you using? Can you email us the Java code for the pipeline at stylus-field-report@progress.com?

Posttop
Christopher ArthurSubject: ddtek:sql-delete
Author: Christopher Arthur
Date: 22 Feb 2008 09:32 AM
We are currently using Stylus Studio 2007 XML Enterprise Suite build 894m with DataDirect 3.0. I will email the code for the generated pipeline.

 
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.