From 25c014900ca60421548cde16b2a74682c5660024 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sat, 6 May 2017 15:17:15 -0700 Subject: [PATCH] Fix typo from previous change. --- src/xml/xml-struct.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xml/xml-struct.scm b/src/xml/xml-struct.scm index 9ad54bb80..92851f8bd 100644 --- a/src/xml/xml-struct.scm +++ b/src/xml/xml-struct.scm @@ -260,7 +260,8 @@ USA. (let ((end (string-length object))) (and (fix:> end 0) (char-alphabetic? (string-ref object 0)) - (string-composed-of? object char-set:xml-encoding 1 end)))))) + (string-composed-of? (string-slice object 1) + char-set:xml-encoding)))))) (register-predicate! xml-encoding? 'xml-encoding '<= string?) (define char-set:xml-encoding -- 2.25.1