The problem is that Zend_Loader_Autoloader_Resource and, as a consequence, Zend_Application_Module_Autoloader does not support PHP5.3 namespaces for now.
There is an issue related to this problem in ZF Jira: http://framework.zend.com/issues/browse/ZF-8205 (vote for it ;) ) In the meantime, you should use old fashion namespaces with underscores or extend Zend_Loader_Autoloader_Resource to make it support PHP5.3 namespaces (see the proposed patches in Jira issue). The last solution allows to use Doctrine convert mapping tool as it would not let generate a class named Application_Model_User in a file named User.php from an XML or YAML mapping file. Regards. On Tue, Mar 23, 2010 at 1:36 AM, David Muir <[email protected]<davidkmuir%[email protected]> > wrote: > > They should be namespaced IMO. > > Also, the example given here uses namespaces: > http://www.doctrine-project.org/blog/doctrine-2-give-me-my-constructor-back > > -- > View this message in context: > http://n4.nabble.com/Doctrine-2-0-Entities-Models-Naming-and-Autoloading-tp1678427p1678528.html > Sent from the Zend Framework mailing list archive at Nabble.com. > -- Loïc Frering
