The JATS DTD is complaining about the generated ids:
Attribute value "...." of type ID must be an NCName when namespaces are enabled.
It's complaining about ids in this format 2e45bcfe-0f39-4e0c-a88a-2e621577b2d6.
I'm not precious about these ids (although eLife does have a particular convention atm). But they'll need to not start with a number in order for the XML to be valid JATS. Apparently this is because ids have to be NCNames, which is something I was unaware of. Practically, this means that the ids cannot contain the following characters: :, @, $, %, &, /, +, ,, ;, or parentheses, and cannot begin with a number, dot or minus character although these can appear later in the string.
The JATS DTD is complaining about the generated ids:
Attribute value "...." of type ID must be an NCName when namespaces are enabled.
It's complaining about ids in this format
2e45bcfe-0f39-4e0c-a88a-2e621577b2d6
.I'm not precious about these ids (although eLife does have a particular convention atm). But they'll need to not start with a number in order for the XML to be valid JATS. Apparently this is because ids have to be NCNames, which is something I was unaware of. Practically, this means that the ids cannot contain the following characters:
:
,@
,$
,%
,&
,/
,+
,,
,;
, or parentheses, and cannot begin with a number, dot or minus character although these can appear later in the string.