Fixed Bug 1919. If the prefix is not defined locally we add the namespace.