Hi,

I can't seem to use the profiling functions on updating functions. I was wondering if it's a known limit or if I just need to use a different syntax in this context.

For example in an updating function that returns 2 updates, I have something like this

declare updating function translation:import-and-process-returned-translations($package-number as xs:string) {
.... some code ....
return (
       translation:save-space-issues($package-name, $space-issues) => prof:time('Translate save space issues: '),
       translation:save-source-mismatches($package-name, $source-mismatches) => prof:time('Translate save source mismatches: '),
       translation:save-zhtw-brackets-issues($menu-id, $package-name) => prof:time('Translate check zhtw brackets, not saved?: ')
)
};

This works with the prof:time, but if I try to profile, I get: 

 [XUST0001] Expressions must all be updating or return an empty sequence.

Thanks! 

P.S. By the way, I'm very excited about the improvements I am able to implement now that I can use the performance functions in this module. I'm one version late to say this, but awesome addition!


--
France Baril
Architecte documentaire / Documentation architect
france.baril@architextus.com