protected void registerNamespaces(Set<Namespace> namespaces) throws TikaException {
        XMPSchemaRegistry registry = XMPMetaFactory.getSchemaRegistry();

        for (Namespace namespace : namespaces) {
            // Any already registered namespace is not registered again
            try {
                registry.registerNamespace(namespace.uri, namespace.prefix);
            } catch (XMPException e) {
                throw new TikaException(
                        "Namespace needed by converter could not be registiered with XMPCore", e);
            }
        }
    }
Registers a number <code>Namespace</code> information with XMPCore. Any already registered
namespace is not registered again.

@param namespaces the list of namespaces to be registered
@throws TikaException in case a namespace oculd not be registered
tika-xmp/src/main/java/org/apache/tika/xmp/convert/AbstractConverter.java