1
0
mirror of synced 2025-01-10 02:57:10 +03:00
doctrine2/lib/Doctrine/ORM/Tools/Export/Driver
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
..
AbstractExporter.php CS fixes 2013-09-22 02:12:30 +02:00
AnnotationExporter.php Fixed documentation for Doctrine\ORM\Tools\Export 2012-12-14 13:02:12 +00:00
PhpExporter.php Fixed documentation for Doctrine\ORM\Tools\Export 2012-12-14 13:02:12 +00:00
XmlExporter.php Ensure <cascade/> elements preceed <join-columns/> 2014-01-05 15:34:59 +01:00
YamlExporter.php [DDC-2136] Fix exporting to YAML and XML with assocation keys. 2013-05-01 23:10:13 +02:00