Fix attribute-reversal bug in scala.xml