about making the xml schema available, for phpcr-odm we chose to just provide it via github, as in    

    xsi:schemaLocation="http://doctrine-project.org/schemas/phpcr-odm/phpcr-mapping
                  https://github.com/doctrine/phpcr-odm/raw/master/doctrine-phpcr-odm-mapping.xsd"