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

Issue #29 resolved
Toni Sissala created an issue

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.

Comments (1)

  1. Log in to comment