#| -*-Scheme-*-
-$Id: xml-struct.scm,v 1.41 2004/06/27 06:26:33 cph Exp $
+$Id: xml-struct.scm,v 1.42 2004/06/28 03:26:20 cph Exp $
Copyright 2001,2002,2003 Massachusetts Institute of Technology
(misc-3 xml-misc-content?))
(define (xml-misc-content? object)
- (list-of-type? object
- (lambda (object)
- (or (xml-comment? object)
- (xml-whitespace-string? object)
- (xml-processing-instructions? object)))))
+ (list-of-type? object xml-misc-content-item?))
+
+(define (xml-misc-content-item? object)
+ (or (xml-comment? object)
+ (xml-whitespace-string? object)
+ (xml-processing-instructions? object)))
(define (xml-whitespace-string? object)
(string-composed-of? object char-set:xml-whitespace))
#| -*-Scheme-*-
-$Id: xml.pkg,v 1.40 2004/06/27 06:26:13 cph Exp $
+$Id: xml.pkg,v 1.41 2004/06/28 03:25:57 cph Exp $
Copyright 2001,2002,2003,2004 Massachusetts Institute of Technology
xml-external-id-id
xml-external-id-iri
xml-external-id?
+ xml-misc-content-item?
xml-misc-content?
xml-parameter-!entity-name
xml-parameter-!entity-value
char-set:xml-whitespace
read-xml
read-xml-file
- string->xml)
+ string->xml
+ xml-processing-instructions-handlers)
(export (runtime xml)
alphabet:name-initial
alphabet:name-subsequent