When using an if expression in a map without brackets it is reported as a problem while it's a valid XPATH expression: > XPath: Expression context - unexpected token here [line,column] where [line,column] in this example points to the last colon ```xslt <xsl:variable name="example" select="map { 'a' : if (true()) then 1 else 2, 'b' : 2 }"/> ``` A workaround is to use brackets around the if expression: ```xslt <xsl:variable name="example" select="map { 'a' : (if (true()) then 1 else 2), 'b' : 2 }"/> ````