[Bug 3773] CastableAs648

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

           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