Project

Profile

Help

Variable has not been fixed up

Added by Anonymous over 19 years ago

Legacy ID: #3293129 Legacy Poster: marcvc (marcvc)

Michael, found by accident, slightly modifying the query from https://sourceforge.net/forum/message.php?msg_id=3293125 results in "java.lang.IllegalStateException: Variable $zz:14867177 has not been fixed up" Consider the following query: declare function local:foo() { for $v in 1 return for $v in 1 let $cnt := count(doc("ITEMS.xml")//ITEMNO) where $cnt > 0 return <e>{$cnt}</e> }; local:foo() I hope this helps. Thanks, Marc


Replies (1)

RE: Variable has not been fixed up - Added by Anonymous over 19 years ago

Legacy ID: #3294620 Legacy Poster: Michael Kay (mhkay)

Thanks. This problem is unrelated to the previous problem. See https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1259832&amp;group_id=29872&amp;atid=397617 which contains a source patch. The incorrect code is also present in earlier releases though it's not triggered by this test case. Michael Kay

    (1-1/1)

    Please register to reply