yep, you've got the right idea. you'd get side reactions with the maleic acid and ethanol to form esters.
xylenes on the other hand, are virtually useless and won't react except under extreme conditions with things like acid chlorides and alkyl chlorides in friedel-crafts reactions. other good solvents would most likely be toluene, hexanes, pentane, petroleum ether, and methylene chloride