For #4664, set value of empty attribute to the attribute string
Merge pull request #4681 from adobe/nj/issue-4664

For #4664, set value of empty attribute to the attribute string