This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In XP31 the MapConstructor is defined as: MapConstructor ::= "map" "{" (MapConstructorEntry ("," MapConstructorEntry)*)? "}" MapConstructorEntry ::= MapKeyExpr ":" MapValueExpr In XSLT30 the MapExpr is defined as: MapExpr ::= "map{" (KeyExpr ":" ValueExpr ("," KeyExpr ":" ValueExpr )*)? "}" Functionally, these are equal. However, the XP31 production allows a space between the keyword "map" and the opening curly (the production is not marked ws-explicit), whereas XSLT30 does not allow such space. I propose to allow that space in XSLT30 as well: MapExpr ::= "map" "{" (KeyExpr ":" ValueExpr ("," KeyExpr ":" ValueExpr )*)? "}"
I agree, we should allow the whitespace between "map" and "{", and it would do no harm to align the way the BNF is written so that people can see that it's the same.
The WG accepted the proposal and it has been implemented.