[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


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.

Comment by Benjamin Eberlei [ 21/Aug/11 ]


Generated at Sun Oct 04 15:45:53 EDT 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.