fixed nextCatalog started adding a small regression test Daniel * catalog.c: fixed nextCatalog * result/catalogs/docbook test/catalogs/*: started adding a small regression test Daniel