jabref icon indicating copy to clipboard operation
jabref copied to clipboard

Mismatched curly braces cause failure to read any subsequent entries

Open dowobeha opened this issue 2 years ago • 6 comments

JabRef version

5.9 (latest release)

Operating system

macOS

Details on version and operating system

macOS 13.3.1

Checked with the latest development build

  • [X] I made a backup of my libraries before testing the latest development version.
  • [X] I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

  1. Open a bib file that contains an entry with mismatched curly braces:
(accuracy of multilingual models by 3 to 15{{\%}.
  1. Only entries prior to the mismatched curly braces are read.

Appendix

...

Log File
Paste an excerpt of your log file here

dowobeha avatar May 01 '23 23:05 dowobeha

Yeah, unfortunately, this is how our parser works.

A fix would go in somewhere near https://github.com/JabRef/jabref/blob/57048c17a296d301bf538f7d98a7c17940e64b07/src/main/java/org/jabref/logic/importer/fileformat/BibtexParser.java#LL912C16-L912C16

Maybe, you have some time to dive into this? We have a number of test cases ensuring that the other parsing behavior is still working.

This is a follow-up to https://github.com/JabRef/jabref/issues/9668.

koppor avatar May 02 '23 06:05 koppor

Hi, I'd like to work on this issue. Could you please assign it to me?

hisunll avatar Nov 21 '25 01:11 hisunll

⚠️ Issue Already Assigned

Hi @hisunll, this issue is currently assigned to @koppor.

[!NOTE] If no progress is made within 21 days, the issue will be automatically unassigned.

Options for contributors
  • Wait for availability: The issue may become available if auto-unassigned
  • Collaborate: You can ask the assignee if they want help
  • Maintainer assistance: A maintainer can add you as co-assignee if appropriate

github-actions[bot] avatar Nov 21 '25 01:11 github-actions[bot]

/assign @hisunll

palukku avatar Nov 21 '25 01:11 palukku

@hisunll we assigned you. All the best 💪

koppor avatar Nov 21 '25 09:11 koppor