|
Final comments, mostly editorial
John Cowan
(27 Nov 2013 23:59 UTC)
|
|
Re: Final comments, mostly editorial
Per Bothner
(28 Nov 2013 03:52 UTC)
|
|
Re: Final comments, mostly editorial
John Cowan
(28 Nov 2013 04:07 UTC)
|
|
Re: Final comments, mostly editorial
John Cowan
(28 Nov 2013 04:10 UTC)
|
|
Re: Final comments, mostly editorial
Per Bothner
(28 Nov 2013 04:46 UTC)
|
|
Re: Final comments, mostly editorial
John Cowan
(28 Nov 2013 04:51 UTC)
|
|
Re: Final comments, mostly editorial
Per Bothner
(07 Dec 2013 01:24 UTC)
|
|
Re: Final comments, mostly editorial John Cowan (07 Dec 2013 19:24 UTC)
|
|
Re: Final comments, mostly editorial
Per Bothner
(08 Dec 2013 08:37 UTC)
|
|
Re: Final comments, mostly editorial
John Cowan
(08 Dec 2013 17:13 UTC)
|
|
Re: Final comments, mostly editorial
Per Bothner
(08 Dec 2013 20:27 UTC)
|
|
Re: Final comments, mostly editorial
John Cowan
(08 Dec 2013 23:23 UTC)
|
Per Bothner scripsit (reordered):
> Still mulling how to handle "]]>".
>
> Perhaps a warning is a reasonable compromise. In the SRFI, perhaps
> we could add:
>
> The XML and HTML standards (up through HTML 4.x) do not allow the
> literal text
> "]]> in element content - instead it should be escaped as in "]]>".
> This is for historical reasons of SGML-compatibility.
> An implementation SHOULD warn if literal "]]>" is seen.
Strengthen this to "MUST warn" and I can live with it, though I would
still prefer to make it an error.
> >>I'm inclined to think you're right, but I don't see any benefit in
> >>adding a restriction to prohibit "SRFI 109 constructs" in attribute values
> >>- it would seem to make the rules and syntax more complicated, just to
> >>reduce flexibility, without any obvious benefit.
> >
> >I'm primarily concerned that, when translated into actual XML, it won't
> >have the effects that people think it will have.
>
> I don't understand what you mean by "when translated into actual XML".
> If an xml-constructor containing "]]>" in element content
I wasn't addressing "]]>" at this point, but SRFI 109. On reflection,
however, the line continuation, indentation, and comment features only
remove things rather than adding them, and so are fairly harmless.
I continue to be opposed to special syntax for formats, because I am
opposed to formats altogether, but since they are optional I don't
really care.
> Note the ">" is serialized as ">" in the Print part of the REPL.
Be sure to serialize explicit newlines as "
" (or the equivalent)
in attribute values, too.
--
Take two turkeys, one goose, four John Cowan
cabbages, but no duck, and mix them http://www.ccil.org/~cowan
together. After one taste, you'll duck xxxxxx@ccil.org
soup the rest of your life.
--Groucho