Fix parsing when type attribute in C namespace cannot be found.