Update XmlDriver.php

$reference['name'] have never been set properly (always null)
Update XmlDriver.php

[fix] coding standards
Merge pull request #261 from dbojdo/patch-2

Update XmlDriver.php