Closed mdeboer closed 3 years ago
Looks good! Before I merge it I will look into hosting the XSD though.
Hey @sandermarechal any luck hosting the XSD file or can I do anything to help? There's no specific requirements, just a plain file to host in a directory :) Let me know if you need anything, I would really like to use this!
It's not quite so simple on our end as uploading a file. I'll need to have a chat with our sysadmin after the holidays. I assume this change is also usable without a hosted file, so I will merge it and tag a new release.
Merged and tagged as 3.0.0. Thank you!
Provides a proper XML schema to provide autocomplete and validation on mapping files. I have also cleaned up the code and use separate elements for translatable and translation as they both feature different attributes and requirements.
It is recommended to host the XSD schema somewhere, possibly at
https://prezent.nl/schemas/doctrine-translatable-3.0.xsd
. I added the3.0
version suffix as I think this would go as a BC break regarding XML mapping.I based this PR off the current master, not off my other PR. Either one can be merged first.
Please let me know what you think 👍