What is this splitting? This feels fragile... what if the attribute value contained an =?