drdozer / oboformat

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

Parser should report error for malformed synonyms #82

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
an ontology with a typo:

synonym: "inion" REALTED [Wikipedia:Inion]

should throw an exception - scope is required in the spec (type is optional), 
scope must conform to predefined vocabulary.

currently the parser does not complain and after roundtrip:

property_value: REALTED "inion" xsd:string {xref="Wikipedia:Inion"}

Original issue reported on code.google.com by cmung...@gmail.com on 23 Jan 2013 at 4:55