src/Pure/General/yxml.ML
changeset 26684 0701201def95
parent 26547 1112375f6a69
child 27798 b96c73f11a23
--- a/src/Pure/General/yxml.ML	Wed Apr 16 17:40:39 2008 +0200
+++ b/src/Pure/General/yxml.ML	Wed Apr 16 17:40:40 2008 +0200
@@ -101,7 +101,7 @@
 (* parsing *)
 
 fun parse_attrib s =
-  (case String.fields (is_char "=") s of
+  (case space_explode "=" s of
     [] => err_attribute ()
   | "" :: _ => err_attribute ()
   | a :: xs => (a, space_implode "=" xs));