[bugzilla 383612] Raising compilation issue when element with an identical name has already been registered