translation-server icon indicating copy to clipboard operation
translation-server copied to clipboard

jsdom last version + needed adjustments to tests and etc.

Open abaevbog opened this issue 2 years ago • 1 comments

abaevbog avatar Jun 07 '23 00:06 abaevbog

Just tested this PR on the master branch (as of today), as it fixes importing references that have CDATA nodes in their titles (from Crossref XML).

The version of w3c-xmlserializer used by jsdom currently in the master branch fails on serialising CDATA nodes, but this has been fixed in subsequent versions of that library. This PR updates jsdom which updates its use of w3c-xmlserializer, and the import now succeeds!

For reference the DOI that fails currently which works with this PR is:

curl -d 'http://dx.doi.org/10.1109/SASOW.2012.14' -H 'content-type: text/plain' http://localhost:1969/search

avsm avatar Mar 18 '24 17:03 avsm