W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2005

[Bug 1785] New: [FS] editorial: 8.5.1 Type promotion

From: <bugzilla@wiggum.w3.org>
Date: Wed, 20 Jul 2005 04:17:57 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1Dv61t-0004w2-2x@wiggum.w3.org>

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

           Summary: [FS] editorial: 8.5.1 Type promotion
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Formal Semantics
        AssignedTo: simeon@us.ibm.com
        ReportedBy: jmdyck@ibiblio.org
         QAContact: public-qt-comments@w3.org


8.5.1 Type promotion

Sem / rule 8 / premise 2
"prime(Type2) can be promoted to prime(Type2')"
    Prepend "statEnv |-".
(leftover from last year, comment #244)

Example 2
"is promoted to"
    Change to "promotes to"

"if the input value does not matches the target type."
    s/matches/match/

Sem 2 / rule 2 / premise 3
"statEnv |- Type1 != Type2"
    Delete "statEnv |-".
(leftover from last year, comment #247)

Sem 2 / rule 2 / premise 4
"Value1 cast as Type2 => Value2"
    Prepend "statEnv |-"
(leftover from last year, comment #248)

    But you can't plop a (Formal) Value into a (Core) CastExpr.
    (ValueExpr, the operand of a CastExpr, does not derive Value.)
Received on Wednesday, 20 July 2005 04:18:02 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:25 UTC