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
Karlheinz AlberSubject: StylusStudio 2008, saxon saxon:assignable="yes" not works
Author: Karlheinz Alber
Date: 19 Apr 2008 03:54 AM
Hi
i use this in my xsl to write a count number on evry output line :

<xsl:variable name="counter" select="0" saxon:assignable="yes"/>

It work's well with Stylus Studio 2006. Now i am passing under 2008
and it doesn't work's.

Testing it with saxon 9.0.0.2j from command line work's.

How can make it work correctly under Stylus Studio 2008.

Thanks

Karlheinz


Unknownubibanca.xsl

Postnext
(Deleted User) Subject: StylusStudio 2008, saxon saxon:assignable=
Author: (Deleted User)
Date: 21 Apr 2008 05:09 AM
Hi Karlheinz,
I couldn't test your stylesheet because of the missing pieces (imported stylesheet, source XML), but once I made some modifications to it I verified that the saxon:assign is updating the counter. I am using Stylus Studio 2008 build 1050g; which version are you using?

Alberto

Postnext
Karlheinz AlberSubject: StylusStudio 2008, saxon saxon:assignable=
Author: Karlheinz Alber
Date: 21 Apr 2008 08:49 AM
Framework version : build 1050g.

The same version as you.

Maybe it's a saxon version problem.

How can i check what saxon version i'm using and how can a
update saxon in the Stylus Studio environment.


Thanks

Karlheinz

Postnext
Tony LavinioSubject: StylusStudio 2008, saxon saxon:assignable=
Author: Tony Lavinio
Date: 21 Apr 2008 09:44 AM
>Framework version : build 1050g.

Build 1050g does in fact include Saxon 9.0.0.2...

>Maybe it's a saxon version problem.

...so that can't be it.

>How can i check what saxon version i'm using and how can a
>update saxon in the Stylus Studio environment.

The environment is tightly bound to the specific Saxon version
for debugging purposes, so you can't.

Why don't you supply the missing pieces as was suggested, and
perhaps they will provide the clue?

Postnext
Karlheinz AlberSubject: StylusStudio 2008, saxon saxon:assignable=
Author: Karlheinz Alber
Date: 25 Apr 2008 03:31 PM
Hi,

here all files to run xsl correctly.

Karlheinz





Unknowntest(3).zip

Posttop
(Deleted User) Subject: StylusStudio 2008, saxon saxon:assignable=
Author: (Deleted User)
Date: 28 Apr 2008 02:53 PM
Hi Karlheinz,
thank you for providing the complete stylesheet; we can reproduce the problem (if you place a breakpoint in the daxtor:lPad function you can see that the global variable $counter is correct, but $value is always 0).
It looks that the bug is in the schema-based optimizer of Saxon; if you go to the scenario dialog, in the processor tab, and click Settings, you can work around the problem by selecting the Basic execution mode.

Hope this helps,
Alberto

 
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.