Update XmlDriver.php

$reference['name'] have never been set properly (always null)