author | wenzelm |
Sat, 23 Aug 2008 23:07:41 +0200 | |
changeset 27971 | 57dc3bd6f841 |
parent 27970 | 3dd5fbdf61c4 |
child 27972 | a87be8fcb25c |
--- a/src/Pure/General/yxml.scala Sat Aug 23 23:07:39 2008 +0200 +++ b/src/Pure/General/yxml.scala Sat Aug 23 23:07:41 2008 +0200 @@ -115,7 +115,7 @@ def parse_failsafe(source: CharSequence) = { try { parse(source) } catch { - case e: BadYXML => XML.Elem (Markup.MALFORMED, Nil, + case e: BadYXML => XML.Elem (Markup.BAD, Nil, List(XML.Text(source.toString.replace(X_string, "\\<^X>").replace(Y_string, "\\<^Y>")))) } }