When the deposit client generates a xml metadata file out of the --name and
--title flag, it generates it with codemeta headers [1]. The author and
name are qualified under the codemeta namespace [1].
In such a state, the current metadata checks (done server side) will reject it.
Those checks are done on plain author, name or title fields (no namespace).
So for example, the update metadata scenario won't work with that metadata generation.
Decide what to do and adapt accordingly the cli.
[1]
<?xml version="1.0" encoding="utf-8"?> <entry xmlns="http://www.w3.org/2005/Atom" xmlns:codemeta="https://doi.org/10.5063/SCHEMA/CODEMETA-2.0"> <codemeta:name>test-project</codemeta:name> <codemeta:identifier>41cebb4c-66ed-4692-87a8-7ba44aa25db8</codemeta:identifier> <codemeta:author> <codemeta:name>Jane Doe</codemeta:name> </codemeta:author> </entry>