ESSENTIALS-462 Namespace Exception when saving a document

- added namespace prefix check which doesn't log "namespace not found" exception