DDC-1333: doctrine-mapping.xsd allows only one <id> element #1669

Open
opened 2026-01-22 13:21:41 +01:00 by admin · 0 comments
Owner

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.

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 <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.
admin added the Bug label 2026-01-22 13:21:41 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#1669