2007-09-07 23:17:30 +02:00
|
|
|
#include <memory>
|
|
|
|
#include "wraplibxml.h"
|
|
|
|
#include "catalogresolver.h"
|
|
|
|
|
2007-09-08 00:25:30 +02:00
|
|
|
std::string CatalogResolver::lookupPublicId (
|
|
|
|
const std::string& publicId,
|
|
|
|
const std::string& catalogPath )
|
2007-09-07 23:17:30 +02:00
|
|
|
{
|
2007-09-08 00:25:30 +02:00
|
|
|
std::auto_ptr<WrapLibxml> libxml ( new WrapLibxml ( false, catalogPath ) );
|
|
|
|
return libxml->lookupPublicId ( publicId );
|
2007-09-07 23:17:30 +02:00
|
|
|
}
|