The variable name must be a valid NCName, which xs:name isn't.