dannykopping/spore — pull request #20 by mathielen (2013-04-24 09:45:06+00:00)
Title: Avoid empty stdClass instance for empty XML node

I think you should add this, too. This will avoid creating an empty stdClass instance for an empty node.