Error handling a little better

There is a test in XmlStringInterpolation.scala