as in jpdl-3.0.xsd, variable's attribute name is mapped-name. But in jbpm-designer is mappedName.
<xs:attribute name="mapped-name" type="xs:string" use="optional"> <xs:annotation> <xs:documentation>Defaults to the process variable name as given by the name attribute.</xs:documentation> </xs:annotation> </xs:attribute>
<controller> <variable name="a" access="read" mappedName="a"></variable> </controller>