Validation based on what was returned from getNamespaces has already
happened in the NamespaceRegistry.
The transport is however responsible of removing an existing prefix for
that uri, if one exists. As well as removing the current uri mapped to
this prefix if this prefix is already existing.
public registerNamespace ( string $prefix, string $uri ) | ||
$prefix | string | The prefix to be mapped. |
$uri | string | The URI to be mapped. |