doctrine/oxm — pull request #21 by jakzal (2012-01-24 15:13:21+00:00)
Title: Fixed possible infinite loop in XmlMarshaller while unmarshalling

As additional reads from the cursor are done inside the loop it is possbile to fall into infinite loop. [XMLReader::read()](http://uk3.php.net/manual/en/xmlreader.read.php) method returns true on successful read. So instead of reading inside the loop it is better to do it in a condition.