[Bug 2678] Can't cast xs:QName to xs:QName

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

           Summary: Can't cast xs:QName to xs:QName
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators
        AssignedTo: ashok.malhotra@oracle.com
        ReportedBy: chamberl@almaden.ibm.com
         QAContact: public-qt-comments@w3.org


The semantics of the cast expression $x cast as T? are identical to the 
semantics of the constructor function T($x), yes? The constructor function for 
xs:QName accepts only string literals, yes? Therefore the only value that can 
be cast into xs:QName is a string literal, yes? Therefore the big casting table 
in Section 17.1 should say "NO" in the QName-to-QName box, yes?

Received on Saturday, 7 January 2006 01:44:43 UTC