[PR #196] [MERGED] Added some improvments for generated XML #7843

Closed
opened 2026-01-22 15:57:08 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/196
Author: @goetas
Created: 11/18/2011
Status: Merged
Merged: 1/28/2012
Merged by: @beberlei

Base: masterHead: manyidx


📝 Commits (3)

  • 82a1626 Better generation of exported xml (valid with xsd)
  • 24432bd tabs
  • 289c186 orphanRemoval default is false

📊 Changes

1 file changed (+22 additions, -6 deletions)

View changed files

📝 lib/Doctrine/ORM/Tools/Export/Driver/XmlExporter.php (+22 -6)

📄 Description

Added some improvements that makes the generated xml compatible with 2.1 xsd.

  • change-tracking-policy non generated for default value (DEFERRED_IMPLICIT)
  • associationMappings order respect xsd definition
  • orphan-removal can not be empty (false was generated as empty string)
  • lifecycleCallbacks non generated when the count of callbacks is zero

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/196 **Author:** [@goetas](https://github.com/goetas) **Created:** 11/18/2011 **Status:** ✅ Merged **Merged:** 1/28/2012 **Merged by:** [@beberlei](https://github.com/beberlei) **Base:** `master` ← **Head:** `manyidx` --- ### 📝 Commits (3) - [`82a1626`](https://github.com/doctrine/orm/commit/82a1626e82729740ab0ef8bbb711369f6f12a897) Better generation of exported xml (valid with xsd) - [`24432bd`](https://github.com/doctrine/orm/commit/24432bd0abf1da96b9c2214efdec81ce2911563d) tabs - [`289c186`](https://github.com/doctrine/orm/commit/289c186de5d6bc6cbf36f960c4f4f78f1d6fd773) orphanRemoval default is false ### 📊 Changes **1 file changed** (+22 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Tools/Export/Driver/XmlExporter.php` (+22 -6) </details> ### 📄 Description Added some improvements that makes the generated xml compatible with 2.1 xsd. - change-tracking-policy non generated for default value (DEFERRED_IMPLICIT) - associationMappings order respect xsd definition - orphan-removal can not be empty (false was generated as empty string) - lifecycleCallbacks non generated when the count of callbacks is zero --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 15:57:08 +01:00
admin closed this issue 2026-01-22 15:57:09 +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#7843