-
Notifications
You must be signed in to change notification settings - Fork 33
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
Fix DTD validation #143
base: master
Are you sure you want to change the base?
Fix DTD validation #143
Conversation
Hi Dulip, Sorry for the MASSIVE delay here, but this is giving me some very weird results on test 510 and 513: XTDE0820: Invalid element name. Invalid QName {2} among others.
|
Hi @MartinPaulEve ,
In the metadata.xsl we had JATS-journalpublishing1.dtd which should be a local file, although we do not have the schema in the generated folder.
NLM maintains the DTD in a CDN manner, which can be automatically extracted for validation.
Another solution would be to copy the DTD from the runtime folder to each generated NLM folder, which may add extra storage, what I thought users would not like.
Additionally, I added two namespaces, xlink and mml, which are common in JATS files so that an automated validation is possible, even though some files may not have mml.
Best wishes,
Dulip