Closed rwalkerands closed 6 years ago
Hi @rwalkerands Thanks for pointing this out. It looks like that's been there for a while :P I'll go through and find other references like this which attempt to baulk the ands processing and correct so these ampersand messages don't go through as unescaped so validation fails. I'll also let the authors know as they have their own customised template.
The file
config/src/main/config/home/templates/rif.vm
has these lines:So the code escapes the value of the group attribute, which makes "&Invalid XML placeholder..." into valid XML.
We have recently imported records that indeed have this group:
https://researchdata.ands.org.au/contributors/invalid-xml-placeholder-prevents-ands-harvesting-records-in-error (sample record: https://researchdata.ands.org.au/testing-spectrum-ha-spectral-detection/341549)
I haven't checked for other instances of the code escaping what's meant to remain invalid.