medium: xmlutil: rsc_template has no provider attribute (savannah#41410)
Only copy attributes from the template if the template actually
has the attribute in question set.