This commit replaces the reference to the beans DTD in sql-error-codes.xml with the preferred schema-based configuration approach.

Apart from using the preferred approach as per the docs, this also closes #27332.

Comment From: snicoll

Sweet, thanks @ralph-riedel!