Even with an assigned schema location this will not work in all parsers.
This will validate as well, because the key is not referencing the target namespace.
Changes that need to be made in the XSD are
And
For a discussion regarding this behaviour see #1545101