mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-1333: doctrine-mapping.xsd allows only one <id> element #1669
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Aug 16, 2011).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user andrew.mcconnell:
The metadata XSD at http://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd defines the element on line 66 as <xs:element name="id" type="orm:id" minOccurs="0" maxOccurs="1" />. This allows for no more than one 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 element is allowed.