[DDC-1333] doctrine-mapping.xsd allows only one <id> element Created: 16/Aug/11 Updated: 21/Aug/11 Resolved: 21/Aug/11 |
|
| Status: | Resolved |
| Project: | Doctrine 2 - ORM |
| Component/s: | Mapping Drivers |
| Affects Version/s: | 2.1 |
| Fix Version/s: | 2.1.1 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Andrew McConnell | Assignee: | Benjamin Eberlei |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The metadata XSD at http://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd defines the <id> element on line 66 as <xs:element name="id" type="orm:id" minOccurs="0" maxOccurs="1" />. This allows for no more than one <id> element though the documentation at http://www.doctrine-project.org/docs/orm/2.1/en/reference/xml-mapping.html#defining-identity-and-generator-strategies states that more than one <id> element is allowed. |
| Comments |
| Comment by Benjamin Eberlei [ 21/Aug/11 ] |
|
Fixed |