I\'ve prepared a demo here.
Basically, when an svg file containing linearGradient definition (that uses an ID to be used for the fill:url(#myID) rule) is ins
fill:url(#myID)