[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 Tue Mar 31 02:10:28 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.