DDC-2721: CLONE - doctrine-mapping.xsd sequence relation-entities #3407

Open
opened 2026-01-22 14:19:21 +01:00 by admin · 1 comment
Owner

Originally created by @doctrinebot on GitHub (Oct 3, 2013).

Originally assigned to: @guilhermeblanco on GitHub.

Jira issue originally created by user bburnichon:

I noticed some problems with
the doctrine-mapping.xsd (which apparently is not used to validate the
mapping, but only provided to support code completion in your xml-
editor)

The order in which you define the elements like cascade and join-
column(s) for the relation-entities is currently important since it is
a sequence, but is this really desired? Why force this order? defining
cascade before join-column would make perfect sense as well, doesn't
it.

I looked in the repository and it seems xsd is not valid for all branches 2.1.x, 2.2, 2.3.4, 2.4.0-RC2 and master

Originally created by @doctrinebot on GitHub (Oct 3, 2013). Originally assigned to: @guilhermeblanco on GitHub. Jira issue originally created by user bburnichon: I noticed some problems with the doctrine-mapping.xsd (which apparently is not used to validate the mapping, but only provided to support code completion in your xml- editor) The order in which you define the elements like cascade and join- column(s) for the relation-entities is currently important since it is a sequence, but is this really desired? Why force this order? defining cascade before join-column would make perfect sense as well, doesn't it. I looked in the repository and it seems xsd is not valid for all branches 2.1.x, 2.2, 2.3.4, 2.4.0-RC2 and master
admin added the Bug label 2026-01-22 14:19:21 +01:00
Author
Owner

@doctrinebot commented on GitHub (Oct 3, 2013):

Comment created by @ocramius:

Yes, order is not enforced in the driver itself either, so it could eventually be removed.

@doctrinebot commented on GitHub (Oct 3, 2013): Comment created by @ocramius: Yes, order is not enforced in the driver itself either, so it could eventually be removed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#3407