src/Pure/General/yxml.scala
changeset 27971 57dc3bd6f841
parent 27960 65b10d8ef0c6
child 27993 6dd90ef9f927
     1.1 --- a/src/Pure/General/yxml.scala	Sat Aug 23 23:07:39 2008 +0200
     1.2 +++ b/src/Pure/General/yxml.scala	Sat Aug 23 23:07:41 2008 +0200
     1.3 @@ -115,7 +115,7 @@
     1.4    def parse_failsafe(source: CharSequence) = {
     1.5      try { parse(source) }
     1.6      catch {
     1.7 -      case e: BadYXML => XML.Elem (Markup.MALFORMED, Nil,
     1.8 +      case e: BadYXML => XML.Elem (Markup.BAD, Nil,
     1.9          List(XML.Text(source.toString.replace(X_string, "\\<^X>").replace(Y_string, "\\<^Y>"))))
    1.10      }
    1.11    }