[Bug 3600] K-InternalVariablesWith-17 and K-InternalVariablesWith-18 don't use erroneous part

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3600

           Summary: K-InternalVariablesWith-17 and K-InternalVariablesWith-
                    18 don't use erroneous part
           Product: XML Query Test Suite
           Version: 0.9.4
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: martin@x-hive.com
         QAContact: public-qt-comments@w3.org


The queries K-InternalVariablesWith-17 and K-InternalVariablesWith-18 expect an
error because of a recursive reference to a variable/function. However both
queries don't actually use any of the offending code, the main query simply
contains a "1", so it's possible to optimise the whole functions/variables
thing away.

Implementations are free not to evaluate stuff they don't need to evaluate the
query (this is why X-Hive doesn't give an error), even if this means they
swallow an error. I think the queries should be re-formulated to actually use
the function or the variable.

Received on Tuesday, 15 August 2006 15:37:53 UTC