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

[Bug 3773] CastableAs648

From: <bugzilla@wiggum.w3.org>
Date: Thu, 28 Sep 2006 18:59:13 +0000
To: public-qt-comments@w3.org
Message-Id: <E1GT16H-0002fT-HS@wiggum.w3.org>


           Summary: CastableAs648
           Product: XML Query Test Suite
           Version: 1.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: simeon@us.ibm.com
         QAContact: public-qt-comments@w3.org

CastableAs648 tests that the argument to cast (or test castability) 
to a QName is a literal string.  This test, in theory, should fail
because the argument is a variable:

 let $var := "ABC"
 return $var castable as xs:QName

But when simple constant propagation is applied,
yielding a semantically equivalent expression, the expression is
valid, so I don't think it is a very useful test.
Received on Thursday, 28 September 2006 18:59:20 UTC

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