+ added a testcase which demonstrates an NPE while handling missing types
~ fix: using the right QName instance to access the namespace uri