Jared-Sprague/drupal-api — pull request #1 by tombutt (2014-04-25 02:26:05+00:00)
Title: minor fix, added null check after parseNodeList call before calling node...

...s.getLength()

Was getting an NPE if not passing in values for these objects in the XML. Not sure if this is *how* you want to do it, but it's an easy fix.