Jira issue originally created by user merk:
In the function Annotation() in \Doctrine\Common\Annotations\Parser.php (~line 225)
There is a check for how many $nameParts there are, and the doctrine code will only append the namespace aliases if there are no namespace separators.
There is also an argument against modification since the user of the code could just define more namespace aliases, but I feel that it should be able to cope with a namespace alias and a namespace separator at the same time.
Comment created by @beberlei:
From our discussion on IRC, the problems here are:
Comment created by merk:
Proposed solution to the namespace separators: http://github.com/merk/common/commit/b31166c6a85235e03935a4b41f5a54aa478f6c6b
I am unsure about throwing exception messages or doing anything too fancy in this area since there will be instances where other annotations are used for other purposes (phpdoc, etc) where you only want to ignore them.
Issue was closed with resolution "Fixed"