doctrine/doctrine2 — pull request #196 by goetas (2011-11-18 10:06:15+00:00)
Title: Added some improvments for generated XML

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