Closed Vitaliy-1 closed 3 years ago
Related to: https://forum.pkp.sfu.ca/t/jatsparserplugin-and-oldgregg-after-upgrade-to-3-2-1-2/64498/11
The Texture plugin doesn't escape spaces in the URI of the image in the JATS XML output. To reproduce:
fig 1.jpg
<graphic id="graphic-2b9ee4ad70b4c56ec056012bf94bd7fa" mimetype="image" mime-subtype="jpeg" xlink:href="fig 1.jpg"/>
according to the JATS XML specification: https://jats.nlm.nih.gov/publishing/tag-library/1.3d1/attribute/xlink-href.html
As specified in XML Linking Language (XLink) Version 1.0, the value of an @xlink:href must be a valid URI.
if considering encoded one: xlink:href="fig%201.jpg
xlink:href="fig%201.jpg
Related to: https://forum.pkp.sfu.ca/t/jatsparserplugin-and-oldgregg-after-upgrade-to-3-2-1-2/64498/11
The Texture plugin doesn't escape spaces in the URI of the image in the JATS XML output. To reproduce:
fig 1.jpg
as per forum thread.according to the JATS XML specification: https://jats.nlm.nih.gov/publishing/tag-library/1.3d1/attribute/xlink-href.html
if considering encoded one:
xlink:href="fig%201.jpg