Fix crash when parsing elements without a type.

(based on RB90.wsdl, received by email)