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
CC:
To: public-qt-comments@w3.org
Message-Id: <E1GD0zA-0008Et-4j@wiggum.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:44 GMT