I am having a problem cloning an object and then adding documents based on this object to a collection. I am following the cloning guide on the wiki and also re-associating the objects (FOXML, MODS, OAI-DC). When I attempt to create the document I get the following error:


Fatal error: Call to a member function getXSD_HTML_Match() on a non-object in /home/www/fez/public/include/class.record_general.php on line 373


This error will only occur when adding documents using the cloned object type. If I use the pre-existing object types there are no problems.


Are there any known issues with creating docs based on custom XSD’s?