KTH-Library / kthcorpus

R package to support workflows related to the corpus of publications from KTH
https://kth-library.github.io/kthcorpus
GNU Affero General Public License v3.0
0 stars 2 forks source link

Scopus > MODS: character "&" should be escaped? #42

Closed awandahl closed 1 year ago

awandahl commented 1 year ago
Department of Geography & Planning, School of Environmental Sciences, University of Liverpool, Liverpool, UK

I Guess "&" in affiliation names (and at other places) should be escaped, XML validator says "The entity name must immediately follow the '&' in the entity reference"

mskyttner commented 1 year ago

Hmmm... ok... either escape or could CDATA be used?

awandahl commented 1 year ago

CDATA is apparently better for all content in fields like this, i.e fields with random text that should be passed to MODS literally

mskyttner commented 1 year ago

Tried this on todays 91 articles and the xml validates for all of these now. Another question is if uploads to DiVA will work.

mskyttner commented 1 year ago

Thanks for spotting @awandahl !