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

... in the UI.