My correction: another reason can be a missing or incorrect marker in <def> and a " (as ' ) in CSS code by Inkscape bug.