allowing case insensitive type parsing in db.xml

Simple fix to fix #1086 that I just created.