fixed handling of unknown reference types
Authored by: florianlink 2007-11-08
Parent: [r13]
Child: [r15]