W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2006

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

From: <bugzilla@wiggum.w3.org>
Date: Tue, 15 Aug 2006 15:37:44 +0000
To: public-qt-comments@w3.org
Message-Id: <E1GD0zA-0008Et-4j@wiggum.w3.org>


           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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:13 UTC