DocBook reader: add support for "classname", document and test "type"