When there is no file attached, the generated code is not w3ccompliant since an empty <ul> tag is inserted
CMS-6134 W3C validation for services