From 534c76a868f35c2eecc13e60df343e12faf84f47 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Wed, 12 Apr 2017 20:39:16 -0400 Subject: - The XML header is now parsed optionally. --- stdlib/source/lux/data/format/xml.lux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdlib') diff --git a/stdlib/source/lux/data/format/xml.lux b/stdlib/source/lux/data/format/xml.lux index 57af6cf37..2494fa1b8 100644 --- a/stdlib/source/lux/data/format/xml.lux +++ b/stdlib/source/lux/data/format/xml.lux @@ -177,7 +177,7 @@ ## This way, the comments can only be before or after the main document. (l;before (l;some comment^)) (l;after (l;some comment^)) - (l;after xml-header^))) + (l;after (l;opt xml-header^)))) (def: #export (read-xml input) (-> Text (Error XML)) -- cgit v1.2.3