Rewrite code of MedlineImporter#9673
Conversation
|
Thanks! Looks good! can you take a look at #4273 as well? |
|
Sure, I'll check that one! |
koppor
left a comment
There was a problem hiding this comment.
Thank you so much for working on this! 🎉
I have micro nitpicks 😇 - otherwise, looks good!
|
I think the |
|
Yes, their servers return server error: |
|
I would go ahead to merge this as is - and do fixing of #4273 as follow-up? |
|
I found that Abstract and Title xml elements containing italics, bold tags etc. were getting cut short, so updated the code to handle this. |
koppor
left a comment
There was a problem hiding this comment.
Think, it's an improvement and I go forward with merge.
Regarding the italics:
The apolipoprotein E (
<i>APOE</i>) gene on chromosomeshould get
The apolipoprotein E (\textit{APOE}) gene on chromosomeSince it are very rare cases of HTML tags, it should be "easy". Maybe, this can be implemented when converting MathML?
* upstream/main: (26 commits) Remove bibtexml.xsd (We don't support BibTeXML any more) Rewrite code of MedlineImporter (#9673) Rename variable and add more documentation Fix checkstyle Add hanling of "field = {content\}" Add link to PR Add link to PR. JabRef writes a new backup file only if there is a change. Add debug output to log.txt Refine logging howto Change log level for non-found files during PDF indexing Initial ImportHandlerTest Streamline AppDirs paths add a clear history button in sub-menu Removed redundant list add for en.properties add Localization.lang for string correct changelog add test for getLastSearchHistory and change HashLinkedSet to ArrayList fix the checkstlye ...
This fixes #9536 by rewriting the
org.jabref.logic.importer.fileformat.MedlineImporterclass to use a StAX-Parser, and removes all JAXB dependencies from the class. The corresponding xjc task is also removed frombuild.gradle.CHANGELOG.mddescribed in a way that is understandable for the average user (if applicable)