If I do npm start and then ./translate_search 9781421402833, I get this:
(3)(+0000000): Translate: Could not find a result using Library of Congress ISBN -- trying next translator
…and a small amount of metadata.
If I run translate_search again without restarting the server, the LoC ISBN translator succeeds and I get much more data. Same for subsequent runs.
This line in MARCXML.js is returning different results for the different runs — a length of 0 and 1, respectively — despite the exact same XML going into the parseFromString() above.
If I do
npm start
and then./translate_search 9781421402833
, I get this:…and a small amount of metadata.
If I run
translate_search
again without restarting the server, the LoC ISBN translator succeeds and I get much more data. Same for subsequent runs.This line in MARCXML.js is returning different results for the different runs — a length of 0 and 1, respectively — despite the exact same XML going into the
parseFromString()
above.