You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I can't view any JATS XML files that I've uploaded. I just see the spinner and get this error in the console:
Uncaught TypeError: Cannot read property 'textContent' of null
at s.test (lens.js:3)
at l.convertDocument (lens.js:5)
at Object.<anonymous> (lens.js:5)
at c (jquery.min.js?v=3.2.1.2:2)
at Object.fireWith [as resolveWith] (jquery.min.js?v=3.2.1.2:2)
at l (jquery.min.js?v=3.2.1.2:2)
at XMLHttpRequest.<anonymous> (jquery.min.js?v=3.2.1.2:2)
Click on the galley to open it on the publication page
See spinner
What application are you using?
OJS version 3.2.1.2
Additional information
The text was updated successfully, but these errors were encountered:
benaltair
changed the title
XML viewer not working
XML viewer not working: Cannot read property 'textContent' of nullMay 18, 2021
benaltair
changed the title
XML viewer not working: Cannot read property 'textContent' of null
XML viewer not working: Cannot read property textContent of null
May 18, 2021
Yeah, the Lens Reader breaks when it encounters JATS XML that it doesn't understand. And unfortunately JATS XML is very diverse so most XML won't load in it. I'll close this as a duplicate, but point you to this issue in our docs hub, where we discuss an XML Production Guide. The guide doesn't exist yet, and the short answer is that JATS XML is still very difficult to do reliably. But you may find some links to different tools and display strategies there.
Describe the bug
I can't view any JATS XML files that I've uploaded. I just see the spinner and get this error in the console:
To Reproduce
Steps to reproduce the behavior:
What application are you using?
OJS version 3.2.1.2
Additional information
The text was updated successfully, but these errors were encountered: