The XSD hosted on the website at https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd is currently being generated from https://github.com/doctrine/doctrine-website/blob/master/source/schemas/orm/doctrine-mapping.xsd. However this differs in some key ways from https://github.com/doctrine/orm/blob/2.9.x/doctrine-mapping.xsd.
Which XSD should be used for validating the XML mappings? As an example, the XSD in this repository requires that elements be ordered (such as <cascade> before <join-columns>) whereas the one hosted on the website does not. (Note: I am using xmllint from libxml2-utils for validation)
Some possibly related issues I found:
doctrine/orm#6968
doctrine/orm#6728
The XSD hosted on the website at https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd is currently being generated from https://github.com/doctrine/doctrine-website/blob/master/source/schemas/orm/doctrine-mapping.xsd. However this differs in some key ways from https://github.com/doctrine/orm/blob/2.9.x/doctrine-mapping.xsd.
Which XSD should be used for validating the XML mappings? As an example, the XSD in this repository requires that elements be ordered (such as
<cascade>before<join-columns>) whereas the one hosted on the website does not. (Note: I am usingxmllintfromlibxml2-utilsfor validation)Some possibly related issues I found:
doctrine/orm#6968
doctrine/orm#6728