@c This file is part of the MIT/GNU Scheme Reference Manual.
-@c $Id: io.texi,v 1.2 2003/04/26 02:43:49 cph Exp $
+@c $Id: io.texi,v 1.3 2003/09/25 16:51:56 cph Exp $
@c Copyright 1991,1992,1993,1994,1995 Massachusetts Institute of Technology
@c Copyright 1996,1997,1999,2000,2001 Massachusetts Institute of Technology
@code{xml-external-id} record.
@end deftp
-@deftp {record type} xml-external-id id uri
+@deftp {record type} xml-external-id id iri
@vindex <xml-external-id>
@findex xml-external-id?
@findex make-xml-external-id
@findex xml-external-id-id
-@findex xml-external-id-uri
+@findex xml-external-id-iri
@findex set-xml-external-id-id!
-@findex set-xml-external-id-uri!
+@findex set-xml-external-id-iri!
The @code{xml-external-id} record is a reference to an external
@acronym{DTD}. This reference consists of two parts: @var{id} is a
public @acronym{ID} literal, corresponding to the @samp{PUBLIC}
-keyword, while @var{uri} is a system literal, corresponding to the
+keyword, while @var{iri} is a system literal, corresponding to the
@samp{SYSTEM} keyword. Either or both may be present, depending on
the context. Each is represented as a string.
@end deftp
#| -*-Scheme-*-
-$Id: xml-output.scm,v 1.24 2003/08/22 15:13:19 cph Exp $
+$Id: xml-output.scm,v 1.25 2003/09/25 16:51:15 cph Exp $
Copyright 2001,2002,2003 Massachusetts Institute of Technology
(write-indent col ctx)
(emit-string "PUBLIC " ctx)
(quoted-string (xml-external-id-id id))
- (if (xml-external-id-uri id)
+ (if (xml-external-id-iri id)
(begin
(write-indent col ctx)
- (quoted-string (xml-external-id-uri id)))))
+ (quoted-string (xml-external-id-iri id)))))
(begin
(write-indent col ctx)
(emit-string "SYSTEM" ctx)
(emit-string " " ctx)
- (quoted-string (xml-external-id-uri id))))))
+ (quoted-string (xml-external-id-iri id))))))
\f
(define (write-indent col ctx)
(if col
#| -*-Scheme-*-
-$Id: xml-parser.scm,v 1.42 2003/09/24 22:39:09 cph Exp $
+$Id: xml-parser.scm,v 1.43 2003/09/25 16:51:18 cph Exp $
Copyright 2001,2002,2003 Massachusetts Institute of Technology
(define *general-entities*)
(define *entity-expansion-nesting* '())
-(define (make-external-id id uri p)
+(define (make-external-id id iri p)
(if *standalone?*
(perror p "Illegal external reference in standalone document"))
- (make-xml-external-id id uri))
+ (make-xml-external-id id iri))
\f
;;;; Document-type declarations
#| -*-Scheme-*-
-$Id: xml-struct.scm,v 1.31 2003/09/25 16:48:14 cph Exp $
+$Id: xml-struct.scm,v 1.32 2003/09/25 16:51:20 cph Exp $
Copyright 2001,2002,2003 Massachusetts Institute of Technology
(id (lambda (object)
(or (not object)
(public-id? object))))
- (uri (lambda (object)
+ (iri (lambda (object)
(or (not object)
(xml-char-data? object)))
canonicalize-char-data))
(define-xml-printer external-id
(lambda (dtd)
(or (xml-external-id-id dtd)
- (xml-external-id-uri dtd))))
+ (xml-external-id-iri dtd))))
\f
(define (xml-attribute-value attr)
(and (pair? (cdr attr))
#| -*-Scheme-*-
-$Id: xml.pkg,v 1.29 2003/09/24 22:39:05 cph Exp $
+$Id: xml.pkg,v 1.30 2003/09/25 16:51:12 cph Exp $
Copyright 2001,2002,2003 Massachusetts Institute of Technology
set-xml-element-name!
set-xml-entity-ref-name!
set-xml-external-id-id!
- set-xml-external-id-uri!
+ set-xml-external-id-iri!
+ (set-xml-external-id-uri! set-xml-external-id-iri!)
set-xml-parameter-!entity-name!
set-xml-parameter-!entity-value!
set-xml-parameter-entity-ref-name!
xml-entity-ref-name
xml-entity-ref?
xml-external-id-id
- xml-external-id-uri
+ xml-external-id-iri
+ (xml-external-id-uri xml-external-id-iri)
xml-external-id?
xml-intern
xml-name-hash