Tighten XML-CHAR-DATA? and CANONICALIZE-CHAR-DATA so that they refuse
authorTaylor R. Campbell <net/mumble/campbell>
Mon, 31 Jul 2006 18:55:43 +0000 (18:55 +0000)
committerTaylor R. Campbell <net/mumble/campbell>
Mon, 31 Jul 2006 18:55:43 +0000 (18:55 +0000)
commit519273265be5285d930b8bcc80392749ed45fccb
treee1ccbb77c37e0839a958e56a9b73f31f241665d0
parent84eb2d56356f27eaf51fb39edd8f0dd51449a5d0
Tighten XML-CHAR-DATA? and CANONICALIZE-CHAR-DATA so that they refuse
characters or entity references not included in the XML-CHAR alphabet.

This may have a small performance cost when constructing XML trees,
and it will have to change for XML 1.1, which relaxes the restriction
on XML character data.  It could have been done in the XML writer,
since the parser already checks this, but this way offers guarantees
about the validity of any XML data in Scheme, and these guarantees are
probably good things.
v7/src/xml/xml-struct.scm