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

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