W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2016

[Bug 30015] TransformWithExpr and ArrowExpr grammar entries conflict for Update Facility 3.1

From: <bugzilla@jessica.w3.org>
Date: Sat, 19 Nov 2016 16:03:29 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-30015-523-UHJ1DlN4V0@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=30015

--- Comment #2 from Reece H. Dunn <msclrhd@gmail.com> ---
Oops :). You are correct on the ordering from the grammar. Thinking about this
some more, I am not sure what is the best ordering.

The Update Facility 3.0 specification (in section 5.7) states that:

    N transform with { U }          [1]

is equivalent to:

    copy $v := N                    [2]
    modify $v!(U)
    return $v

This would mean that:

    N => A transform with { U }     [3]

would be equivalent to:

    copy $v := N => A               [4]
    modify $v!(U)
    return $v

while:

    N transform with { U } => A     [5]

would be equivalent to:

    copy $v := N                    [6]
    modify $v!(U)
    return $v => A

Thus, on a second look, I am not sure which of [4] or [6] would be most useful.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Saturday, 19 November 2016 16:03:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:58:03 UTC