parser: Fix detection of duplicate attributes We really need a second scan if more than one namespace clash was detected.