#| -*-Scheme-*-
-$Id: xml-rpc.scm,v 1.6 2006/07/28 16:23:08 riastradh Exp $
+$Id: xml-rpc.scm,v 1.7 2006/08/01 04:23:41 cph Exp $
Copyright 2003,2004,2005,2006 Massachusetts Institute of Technology
(define (encode-string string)
(if (and (utf8-string-valid? string)
- (for-all-chars-in-string? (alphabet-predicate alphabet:xml-char)
- string
- 0
- (string-length string)
- 'UTF-8))
+ (string-of-xml-chars? string))
string
(rpc-elt:base64
(call-with-output-string
#| -*-Scheme-*-
-$Id: xml.pkg,v 1.77 2006/08/01 02:50:50 cph Exp $
+$Id: xml.pkg,v 1.78 2006/08/01 04:23:35 cph Exp $
Copyright 2001,2002,2003,2004,2005,2006 Massachusetts Institute of Technology
%make-xml-parameter-!entity
%make-xml-parameter-entity-ref
%make-xml-processing-instructions
- %make-xml-unparsed-!entity))
+ %make-xml-unparsed-!entity
+ string-of-xml-chars?))
(define-package (runtime xml parser)
(files "xml-chars" "xml-parser")