rsvg_start_metadata (RsvgHandle * ctx, RsvgPropertyBag * atts)
{
    RsvgSaxHandlerMetadata *handler = g_new0 (RsvgSaxHandlerMetadata, 1);

    handler->super.free = rsvg_metadata_handler_free;
    handler->super.characters = rsvg_metadata_handler_characters;
    handler->super.start_element = rsvg_metadata_handler_start;
    handler->super.end_element = rsvg_metadata_handler_end;
    handler->ctx = ctx;

    ctx->priv->metadata = g_string_new (NULL);
    ctx->priv->handler = &handler->super;
}
rsvg_start_metadata (RsvgHandle * ctx, RsvgPropertyBag * atts)
{
    RsvgSaxHandlerMetadata *handler = g_new0 (RsvgSaxHandlerMetadata, 1);

    handler->super.free = rsvg_metadata_handler_free;
    handler->super.characters = rsvg_metadata_handler_characters;
    handler->super.start_element = rsvg_metadata_handler_start;
    handler->super.end_element = rsvg_metadata_handler_end;
    handler->ctx = ctx;

    ctx->priv->metadata = g_string_new (NULL);
    ctx->priv->handler = &handler->super;
}