Detect unregistered namespace prefixes and provide useful error messages...

... in the UI.
Logger level of "trace" is probably fine here, instead of debug.