[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: updated SRFI-108
Per Bothner scripsit:
> I've made a number of changes to SRFI-108. Until the editors
> have a chance to upload it, you can read it at:
Two further suggestions:
I like the idea of |$[$| and |$]$| as internal delimiters, but not
their spellings. Some Schemes may not have escapes; in R6RS mode it
would be necessary to write these as $\x5B;$ and $\x5D;$ respectively,
which are deeply unintuitive. I suggest therefore that you adopt the
entity names from <http://www.w3.org/TR/xml-entity-names> and go with
$lsqb$ and $rsqb$ respectively. That is only one character longer than
the ||-escaped form, and is probably easier overall to type.
Deferring the definition of "cname" to NCName is probably not a good
idea; it also isn't clear whether the XML 1.0 1st through 4th Edition
version is meant, or the XML 1.0 5th Edition and XML 1.1 version.
Naturally I prefer the latter, but I would really prefer a self-contained
definition: the cname must be a valid Scheme identifier (according to
the implementation's definition) which consists solely of characters
with Unicode general categories Lu, Ll, Lt, Lm, Lo, Mn, Mc, Me, Nd, Nl,
or No (i.e. letters, combining marks, and numbers only).
> I've added support for indentation adjustment (&|),
> comments (&#|comment|#), and continuation lines (&-).
I presume this remark refers only to SRFI-109, which I have not yet
John Cowan cowan@xxxxxxxx http://ccil.org/~cowan
Female celebrity stalker, on a hot morning in Cairo:
"Imagine, Colonel Lawrence, ninety-two already!"
El Auruns's reply: "Many happy returns of the day!"