owlcollab / oboformat

Automatically exported from code.google.com/p/oboformat
5 stars 2 forks source link

OBOFormat parser does not unescape strings #50

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
One symptom are errors parsing definitions, after a second write of an 
ontology. 

The reason is that escaped characters such as \{, \}, \", or \n are not 
transferred back to their original during the read. 

Later during the write, they are symbols are escaped again.

Added a test: OboEscapeCharsTest

Remark: There was already an obo file (escape_chars_test.obo), but no test made 
use of it.

Original issue reported on code.google.com by HDie...@lbl.gov on 2 Sep 2011 at 9:54

GoogleCodeExporter commented 9 years ago
fix committed in rev 283.

Original comment by HDie...@lbl.gov on 2 Sep 2011 at 10:22