85a16f9f28
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. |
||
---|---|---|
.. | ||
Cache | ||
Decorator | ||
Event | ||
Id | ||
Internal | ||
Mapping | ||
Persisters | ||
Proxy | ||
Query | ||
Repository | ||
Tools | ||
AbstractQuery.php | ||
Cache.php | ||
Configuration.php | ||
EntityManager.php | ||
EntityManagerInterface.php | ||
EntityNotFoundException.php | ||
EntityRepository.php | ||
Events.php | ||
NativeQuery.php | ||
NonUniqueResultException.php | ||
NoResultException.php | ||
OptimisticLockException.php | ||
ORMException.php | ||
ORMInvalidArgumentException.php | ||
PersistentCollection.php | ||
PessimisticLockException.php | ||
Query.php | ||
QueryBuilder.php | ||
README.markdown | ||
TransactionRequiredException.php | ||
UnexpectedResultException.php | ||
UnitOfWork.php | ||
Version.php |