[plt-scheme] patch to escape R6RS library names [was: SXML for R6RS]
At Tue, 8 Jul 2008 07:34:44 -0600, Matthew Flatt wrote:
> That is, a `%' could be allowed
> in a `lib' module-path element, as long as its followed by two
> lowercase hexadecimal digits. [...] But if R6RS library names are mapped
> to `lib' paths by UTF-8
> encoding followed by %-encoding of all "special" characters, then
> there's a 1-to-1 mapping (ignoring versioning and suffixes) between
> R6RS paths and `lib' paths.
One more detail: we'd have to constrain `%' escapes in `lib' path
elements to rule out encodings of the characters that are currently
allowed. For example, "%41" (= "A", when read as an encoding) would be
disallowed.
Matthew