[Bug 3700] K-SeqExprTreat-11 and K-SeqExprTreat-12

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

           Summary: K-SeqExprTreat-11 and K-SeqExprTreat-12
           Product: XML Query Test Suite
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


"During static analysis:  The static type of the treat expression is type1.
This enables the expression to be used as an argument of a function that
requires a parameter of type1."

Expressions such as:

"asda" treat as xs:string + eq "asda"

fail under static type checking because eq accepts Type?, not Type+.

There is a related problem with K-SeqExprTreat-13.

Received on Tuesday, 12 September 2006 09:11:14 UTC