projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7e6f2c
)
Fix typo from previous change.
author
Chris Hanson
<org/chris-hanson/cph>
Sat, 6 May 2017 22:17:15 +0000
(15:17 -0700)
committer
Chris Hanson
<org/chris-hanson/cph>
Sat, 6 May 2017 22:17:15 +0000
(15:17 -0700)
src/xml/xml-struct.scm
patch
|
blob
|
history
diff --git
a/src/xml/xml-struct.scm
b/src/xml/xml-struct.scm
index 9ad54bb801a28d521adea875cdf40686b8a1519a..92851f8bd59d62e0fd7297c004e8a660b3fcfa29 100644
(file)
--- 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