DDC-1345: XSD for doctrine 2.1 or 2.0 not found #1686

Closed
opened 2026-01-22 13:22:13 +01:00 by admin · 3 comments
Owner

Originally created by @doctrinebot on GitHub (Aug 24, 2011).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user goetas:

As described in http://www.doctrine-project.org/docs/orm/2.1/en/reference/xml-mapping.html for each version of doctrine2, exists a specific XSD schema file located in:
http://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd (latest)
http://www.doctrine-project.org/schemas/orm/doctrine-mapping-2.0.xsd (2.0)
http://www.doctrine-project.org/schemas/orm/doctrine-mapping-2.1.xsd (2.1)

Currently only http://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd exists.

But current doctrine-mapping.xsd does not support @index-by on one-to-many relations; does not support multiple column primary keys.

Attached you can find a new doctrine-mapping.xsd with @index-by and multiple id support.

Originally created by @doctrinebot on GitHub (Aug 24, 2011). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user goetas: As described in http://www.doctrine-project.org/docs/orm/2.1/en/reference/xml-mapping.html for each version of doctrine2, exists a specific XSD schema file located in: http://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd (latest) http://www.doctrine-project.org/schemas/orm/doctrine-mapping-2.0.xsd (2.0) http://www.doctrine-project.org/schemas/orm/doctrine-mapping-2.1.xsd (2.1) Currently only http://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd exists. But current doctrine-mapping.xsd does not support @index-by on one-to-many relations; does not support multiple column primary keys. Attached you can find a new doctrine-mapping.xsd with @index-by and multiple id support.
admin closed this issue 2026-01-22 13:22:13 +01:00
Author
Owner

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

Comment created by @beberlei:

Fixed now

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

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

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Aug 27, 2011): Issue was closed with resolution "Fixed"
Author
Owner

@doctrinebot commented on GitHub (Dec 13, 2015):

Imported 1 attachments from Jira into https://gist.github.com/cddc804e73ed19317a87

@doctrinebot commented on GitHub (Dec 13, 2015): Imported 1 attachments from Jira into https://gist.github.com/cddc804e73ed19317a87 - [11059_doctrine-mapping.xsd](https://gist.github.com/cddc804e73ed19317a87#file-11059_doctrine-mapping-xsd)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#1686