[PATCH 2/4] normalize whitespace for each ref in (attribute) ref list, permitting use of newlines or accidental spaces