ORA-XQ-087-Q: what if invocation of fn:error is inevitable?

SECTION 2.5.1: Kinds of errors

Fourth para says "However, the fn:error() function must not be 
evaluated during the analysis phase."  What about
if (1 = 1) then fn:error() else fn:error()?  
Perhaps it would be better to say
"fn:error() function must not be evaluated during the analysis
phase, unless the analysis shows that it would inevitably be
evaluated during the evaluation phase."

- Steve B.

Received on Monday, 16 February 2004 14:40:10 UTC