-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Rewrite code of MedlineImporter #9673
Conversation
Thanks! Looks good! can you take a look at #4273 as well? |
Sure, I'll check that one! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much for working on this! 🎉
I have micro nitpicks 😇 - otherwise, looks good!
src/main/java/org/jabref/logic/importer/fileformat/MedlineImporter.java
Outdated
Show resolved
Hide resolved
src/test/resources/org/jabref/logic/importer/fileformat/MedlineImporterTestNbib.bib
Show resolved
Hide resolved
src/main/java/org/jabref/logic/importer/fileformat/medline/ArticleID.java
Outdated
Show resolved
Hide resolved
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think, it's an improvement and I go forward with merge.
Regarding the italics:
The apolipoprotein E (
<i>APOE</i>) gene on chromosome
should get
The apolipoprotein E (\textit{APOE}) gene on chromosome
Since 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.MedlineImporter
class to use a StAX-Parser, and removes all JAXB dependencies from the class. The corresponding xjc task is also removed frombuild.gradle
.CHANGELOG.md
described in a way that is understandable for the average user (if applicable)