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

Closed
opened 2026-01-22 13:21:43 +01:00 by admin · 2 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:43 +01:00
admin closed this issue 2026-01-22 13:21:45 +01:00
Author
Owner

@doctrinebot commented on GitHub (Aug 21, 2011):

Comment created by @beberlei:

Fixed

@doctrinebot commented on GitHub (Aug 21, 2011): Comment created by @beberlei: Fixed
Author
Owner

@doctrinebot commented on GitHub (Aug 21, 2011):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Aug 21, 2011): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#1671