remove the warning when parsing meta-data

This commit is contained in:
Edouard Dupin 2012-05-11 17:39:18 +02:00
parent 16136c4b30
commit a5893dae56

View File

@ -162,8 +162,11 @@ svg::Parser::Parser(etk::File fileName) : m_renderedElement(NULL)
elementParser = new svg::Polygon(m_paint); elementParser = new svg::Polygon(m_paint);
} else if (localValue == "text") { } else if (localValue == "text") {
elementParser = new svg::Text(m_paint); elementParser = new svg::Text(m_paint);
} else if (localValue == "metadata") {
// nothing to do : generaly inkscape data
normalNoElement = true;
} else { } else {
SVG_ERROR("(l "<<child->Row()<<") node not suported : \""<<localValue<<"\" must be [title,g,a,path,rect,circle,ellipse,line,polyline,polygon,text]"); SVG_ERROR("(l "<<child->Row()<<") node not suported : \""<<localValue<<"\" must be [title,g,a,path,rect,circle,ellipse,line,polyline,polygon,text,metadata]");
} }
if (false == normalNoElement) { if (false == normalNoElement) {
if (NULL == elementParser) { if (NULL == elementParser) {