[DDC-2429] Association-Override Problem in XSD Mapping? Created: 05/May/13 Updated: 26/May/13 Resolved: 26/May/13
|Project:||Doctrine 2 - ORM|
|Reporter:||Benjamin Eberlei||Assignee:||Fabio B. Silva|
From a mailinglist entry:
I use Doctrine 2.3 in Symfony 2.1.8
I'm using association-overrides in the XML format between several entities. Eclipse shows up several errors.
The first error message is shown in every Doctrine file when I declare the file format as such (for example: https://github.com/thewholelifetolearn/Social-Library/blob/master/src/SocialLibrary/ReadBundle/Resources/config/doctrine/GraphicNovel.orm.xml )
Eclipse shows this error :
The error points to the "doctrine-mapping" line
The second error comes up when I change the doctype to (file example: https://gist.github.com/thewholelifetolearn/5462057 ):
But then this error is shown:
' is expected.
The error points on "<association-overrides>" in Novel.orm.xml (line 8)
Could someone explain me the errors that show up? The first error doesn't seem to disturb Symfony2 but the second messes around the console commands. But it still generates the database.