[Bug 4272] [FS] Type checking fn:data

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

           Summary: [FS] Type checking fn:data
           Product: XPath / XQuery / XSLT
           Version: Proposed Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Formal Semantics
        AssignedTo: simeon@us.ibm.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


If, during type checking, it can be determined that fn:data may be applied to a
node type which does not have a typed value, which of the following (if any)
should occur?

a) err:XPTY0004 be raised at type check time.
b) err:FOTY0012 be raised at type check time.
c) No errors raised at type check time, but err:FOTY0012 be raised during
evaluation.

If the correct behaviour is (c), what should be the static return type of
fn:data?

Received on Tuesday, 23 January 2007 08:50:39 UTC