Properties (= Attributes) view does not support namespaces on attribute names [was #7873]
E.g., in the tei_all XML schema, the teiHeader element supports the attribute xml:lang, but not plain lang. The attributes view offers lang and inserts sth like lang="ger" when you enter ger there, on which the validator complains, of course.
It's a bug in WST I think.