Lines Matching defs:attribute
2 * attribute-rel-svg.cpp
10 * SPAttributeRelSVG class stores the mapping of element->attribute
23 #include "attribute-rel-svg.h"
32 * This functions checks whether an element -> attribute pair is allowed or not
34 bool SPAttributeRelSVG::findIfValid(Glib::ustring attribute, Glib::ustring element)
50 if (attribute[0] == '-'
51 || attribute.substr(0,4) == "role"
52 || attribute.substr(0,4) == "aria"
53 || attribute.substr(0,5) == "xmlns"
54 || attribute.substr(0,9) == "inkscape:"
55 || attribute.substr(0,9) == "sodipodi:"
56 || attribute.substr(0,4) == "rdf:"
57 || attribute.substr(0,3) == "cc:"
58 || attribute.substr(0,4) == "ns1:" // JessyInk
59 || attribute.substr(0,4) == "osb:" // Open Swatch Book
60 || (SPAttributeRelSVG::instance->attributesOfElements[temp].find(attribute)
64 //g_warning( "Invalid attribute: %s used on <%s>", attribute.c_str(), element.c_str() );
85 g_warning("Could not open the data file for XML attribute-element map construction: %s", filepath.c_str());