-
Notifications
You must be signed in to change notification settings - Fork 121
Open
Description
In the NlmXmlReader class
def detect(self, fstring, fname=None):
""""""
if fname and not (fname.endswith('.xml') or fname.endswith('.nxml')):
return False
if b'xmlns="http://jats.nlm.nih.gov/ns/archiving' in fstring:
return True
if b'JATS-archivearticle1.dtd' in fstring:
return True
if b'-//NLM//DTD JATS' in fstring:
return True
return FalseThe NLM's JATS namespace URI uses https now, so my document wasn't being registered as compatible with NlmXmlReader
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels