owlcs / owlapi

OWL API main repository
821 stars 315 forks source link

Avoid dropping axioms or misplacing annotations when malformed axiom annotations are present #1062

Closed balhoff closed 2 years ago

balhoff commented 2 years ago

This PR addresses #1056. @ignazio1977 could you let me know if you think it's reasonable to address the issue I posted? These changes pass the existing tests, but I found this parser challenging to follow due to the the way it uses side effects.