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

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