mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #7614] Allow to escape reserved words in xml mapping #10573
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/doctrine/orm/pull/7614
State: closed
Merged: No
When escaping reserved words in XML mapping XSD validation fails. This PR uses regex to allow backticks. This regex is also much more restrictive than
xs:NMTOKEN, let me know if that's not okay.Any advice in terms of tests? I went over #7324, #6728 and got a bit confused. As far as I understand, #6728 will introduce functionality that can be used in tests, and all XSD related PRs are waiting for that to be merged. Did I get it right?