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
Michael ShephardSubject: Possible Bug - div changing to a slash in xpath expressions
Author: Michael Shephard
Date: 26 May 2005 10:09 PM
We think we may have found a bug that occurs in the XSLT mapper.
In a mathematical calculation using div the string 'div' is replaced by a '/' character during saves or scenario runs (not sure of the exact behaviour yet). This is then intepreted as a parent/child relationship which of course breaks

This has occurred on two different machines with two different XSL files so should be repeatable.

The string from one of the XSL files is as follows:
<xsl:value-of select="round(a:message/a:COMMAND/a:proposePersonalLoanArrangementRequest/a:arrangement/a:term/a:value div 52)"/>

If you need the entire XSL please let me know.

regards
Michael Shephard

Posttop
Minollo I.Subject: Possible Bug - div changing to a slash in xpath expressions
Author: Minollo I.
Date: 26 May 2005 10:44 PM
Originally Posted: 26 May 2005 10:45 PM
Yes, a whole testcase (including the XML) would surely help; I tried reproducing it in some example, but I couldn't make that happen.

Feel free to email me (minollo@datadirect.com) the testcase if you don't want to post it on SSDN.

Thanks,
Minollo

 
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.