{
serializer = new XmlNodeTypeDataPersister(nodeTypeConverter, is);
}
else if (contentType.equalsIgnoreCase(TEXT_X_JCR_CND))
{
serializer = new CNDNodeTypeDataPersister(is, (NamespaceRegistryImpl)namespaceRegistry);
}
else
{
throw new RepositoryException("Unsupported content type:" + contentType);
}