1
0
mirror of synced 2025-01-09 18:47:10 +03:00
doctrine2/lib/Doctrine/ORM/Tools/Export
Menno Holtkamp 85a16f9f28 Ensure <cascade/> elements preceed <join-columns/>
When converting annotations based metadata to XML, the position of the <cascade/> elements resulted in XSD validation errors caused by the definitions of the association ComplexTypes:
- https://github.com/doctrine/doctrine2/blob/master/doctrine-mapping.xsd#L463
- https://github.com/doctrine/doctrine2/blob/master/doctrine-mapping.xsd#L482
- https://github.com/doctrine/doctrine2/blob/master/doctrine-mapping.xsd#L495
- https://github.com/doctrine/doctrine2/blob/master/doctrine-mapping.xsd#L517

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.
2014-01-05 15:34:59 +01:00
..
Driver Ensure <cascade/> elements preceed <join-columns/> 2014-01-05 15:34:59 +01:00
ClassMetadataExporter.php Fixed documentation for Doctrine\ORM\Tools\Export 2012-12-14 13:02:12 +00:00
ExportException.php Fixed documentation for Doctrine\ORM\Tools\Export 2012-12-14 13:02:12 +00:00