Subject:Problems with conversion from Stylus Studio Enterprise Edition 2006 rel3 to 2007 rel2 Author:Jack Tan Date:14 Jun 2007 10:56 AM Originally Posted: 14 Jun 2007 05:08 AM
I am considering moving from 2006 rel3 to 2007 rel2. Both are XML Enterpise Editions. To test compatibility I used the attached code with some test files.
Program that run in 2006 rel3 (Saxon 8.9.0.3) but fail to run in 2007 rel2 (Saxon 8.7.1) of the Studio. In addition, in Enterprise Edition I can not use Edit Functions in the Studio (system shows only 5 options - the rest is blank?!?)
declare function ma:add2Dict( $inputList, $dictionary )
{
let $info := $inputList[1]
let $rest := fn:subsequence($inputList,2)
let $dictionary := if (fn:empty($info)) then
$dictionary
else
( $dictionary,
<var>
{$info/*}
</var>)
return
if (fn:empty($rest)) then
$dictionary
else
ma:add2Dict( $rest, $dictionary)
};
Subject:Problems with conversion from Stylus Studio Enterprise Edition 2006 rel3 to 2007 rel2 Author:(Deleted User) Date:15 Jun 2007 11:39 AM
Hi Jack,
I tried running your query on both Stylus 2006 rel 3 and Stylus 2007 rel 2 and I got 6 <var> entries as result in both cases. Can you tell us what are the results you get?
Also, what do you mean when you say 'Edit Functions'?
Subject:Problems with conversion from Stylus Studio Enterprise Edition 2006 rel3 to 2007 rel2 Author:Jack Tan Date:18 Jun 2007 03:28 PM
Alberto,
I re-run the example and this time after the system has been re-booted there was no problem in execution. It seems that just rebooting the system was enough.
The other problem was with Edit pull-down menu; in the initial try, all but first five entries were blank. This problem was also fixed after reboot.
2006 Studio crashed often generating dump files and I hope that new version will be more stable ;-)