mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #896] [MERGED] Ensure <cascade/> elements preceed <join-columns/> #8864
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?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/896
Author: @holtkamp
Created: 1/5/2014
Status: ✅ Merged
Merged: 1/5/2014
Merged by: @guilhermeblanco
Base:
master← Head:patch-2📝 Commits (1)
85a16f9Ensure elements preceed📊 Changes
1 file changed (+33 additions, -33 deletions)
View changed files
📝
lib/Doctrine/ORM/Tools/Export/Driver/XmlExporter.php(+33 -33)📄 Description
When converting annotations based metadata to XML, the position of the
<cascade/>elements in the generated files resulted in XSD validation errors caused by the definitions of the association ComplexTypes:Since changing the XSD might result in validation problems in existing mappings, changing the XmlExporter seems a better approach.
Note that the
<cache/>element is not yet generated by the XmlExporter, but according to the XML Schema, it should precede the<cascade/>element.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.