Skip to content

EndNote .xml import to JabRef: PDF links are not imported correctly. #6199

@AtaZadehgol

Description

@AtaZadehgol

JabRef version <JabRef 5.0--2020-03-06--2e6f433
Windows 10 10.0 amd64
Java 13.0.2>

When importing an EndNote library in .xml format into JabRef, the PDF attachment links are not imported into JabRef correctly.

Steps to reproduce the behavior:

  1. I followed instructions under "Importing an EndNote library into JabRef" at https://www.mcgill.ca/library/files/library/jabref_guide_2016.pdf, and exported the EndNote library as an .xml file (attached here as file "My EndNote Library-Converted_xml.txt") . See below snapshot (attached here as file "EndNote Export settings = xml.PNG") showing the export configuration of EndNote version X9.3.1 (Bld 13758).

  2. I then imported the EndNote .xml library file into JabRef version 5.0.

  3. The EndNote .xml library is imported into JabRef; however, the PDF file attachments are not imported automatically.

  4. It appears this is a bug because JabRef expects the pdf url to be encapsulated in a style span as this is the case for the other urls. As a temporary workaround, you can add the <style> ... </style> tag around the filename.pdf (i.e., filename.pdf --> <style> filename.pdf </style>) yourself for the moment; this should work semi-automatically via a "search and replace" in your favorite text editor. Also, remember to replace the "internal-pdf://" before the filename.pdf with the correct path in your computer (e.g., "internal-pdf://path_folder1/filename.pdf" --> "C:/EndNote/PDFs_Folder/path_folder1/filename.pdf" in Windows, etc.).

EndNote Export settings = xml

My EndNote Library-Converted_xml.txt

Log File
Paste an excerpt of your log file here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions