Prevent a potential crash when parsing a materials xml containing mistakes
Merge pull request #146 from mcclure/xmlcrash

Prevent a potential crash when parsing a materials xml containing mistakes