Skip to content

Parsing invalid DDI should raise MappingError (citation with no titlStmt)

Created by: yytosi

If a DDI2.5. has no titlStmt inside relPubl/citation, the parser raises an AttributeError. It should raise MappingError instead. This makes it more explicit and reliable to catch in caller.