Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bot not finding DTD #135

Open
tcatapano opened this issue May 27, 2016 · 3 comments
Open

bot not finding DTD #135

tcatapano opened this issue May 27, 2016 · 3 comments

Comments

@tcatapano
Copy link
Collaborator

Warnings in python.err related to failure to load DTD. Does this trigger a fatal error after three tries?

/data/project/recitation-bot/recitation-bot/data/PLoS_Negl_Trop_Dis_2016_Apr_12_10(4)_e0004636/pntd.0004636.nxml:1: warning: failed to load external entity "/data/project/recitation-bot/recitation-bot/data/PLoS_Negl_Trop_Dis_2016_Apr_12_10(4)_e0004636/JATS-archivearticle1.dtd"
rnal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd"
                                                                               ^
Sleeping for 7.5 seconds, 2016-05-27 10:04:46
/data/project/recitation-bot/recitation-bot/data/PLoS_Negl_Trop_Dis_2016_Apr_12_10(4)_e0004636/pntd.0004636.nxml:1: warning: failed to load external entity "/data/project/recitation-bot/recitation-bot/data/PLoS_Negl_Trop_Dis_2016_Apr_12_10(4)_e0004636/JATS-archivearticle1.dtd"
rnal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd"
                                                                               ^
Sleeping for 7.5 seconds, 2016-05-27 10:04:57
/data/project/recitation-bot/recitation-bot/data/PLoS_One_2014_Jun_18_9(6)_e98781/pone.0098781.nxml:1: warning: failed to load external entity "/data/project/recitation-bot/recitation-bot/data/PLoS_One_2014_Jun_18_9(6)_e98781/JATS-archivearticle1.dtd"
rnal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd"


@difranco
Copy link
Collaborator

Can you tell me what version of the xslt libraries you are using on your machine? Came up in the call today.

@Daniel-Mietchen
Copy link
Member

Pinging @tcatapano.

@tcatapano
Copy link
Collaborator Author

It is an XSLT 1 stylesheet and testing is done on xsltproc, which uses
libxml2 via lxml in python, I believe. There may be a ---novalid option
available which will turn off the loading of the referenced DTD, which
could be useful.

Pinging @tcatapano https://github.com/tcatapano.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#135 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AA7A8mUuEObK_SgDnulnXSP3H7YRa-8Zks5qGgghgaJpZM4IoYRD
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants