[ 
https://issues.apache.org/jira/browse/TUSCANY-1998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560071#action_12560071
 ] 

Simon Laws commented on TUSCANY-1998:
-------------------------------------

I don't really know what's causing this or why the effect is random (for me at 
least) but I don't now think it is to do with saxon dependency versions. I have 
only 8.7 in my repo. The build runs to the error (sometimes) and doesn't try to 
load 9.0.0.2. I am trying a work round at the moment where I have changed the 
offending XQuery file as follows:

quote_join.xq. Some way down it makes a call to calculateTotalPrice. I'm 
forcing the taxRate to a float as I managed to trap the problem once and this 
seemed to be the area causing the classcast. 

                <quo:totalCost>{ quoteCalculator:calculateTotalPrice(
                                                  $quoteCalculator,
                                                  
                                                  xs:float($taxRate),

                                  $availRequest/requestedQuantity,

                                  $priceRequest/price,

                                  $availRequest/quantityAvail) }</quo:totalCost>

I haven't go through the build but I'll let you know if this has any affect.

> Can't do a full build from the source distribution with a clean maven repo
> --------------------------------------------------------------------------
>
>                 Key: TUSCANY-1998
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1998
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: Java-SCA-1.1
>            Reporter: Luciano Resende
>            Assignee: Luciano Resende
>             Fix For: Java-SCA-1.1
>
>         Attachments: tuscany-1998.patch
>
>
> This is due to some duplicity in saxon dependencies. We decided to use saxon 
> 8.7, but some modules are downloading and installing the saxon 9.x release 
> and maven is using that in some cases.
> Removing the following seems to fix the issue :
>   - remove modules/saxon project
>   - remove reference to saxon project from databinding-saxom
>   - remove saxon download ant script from implementation-xquery

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to