Re: [invisibleXML/ixml] Normalizing line endings in ixml inputs (Issue #192)

Apparently I'm not receiving all mail from W3C, because I didn't receive the referenced email, but I see a 4th alternative, namely to have a specific notation for newline, that implementations would map to the local machine's newline convention. That way there is a generalised notation of newlines, without excluding other uses of the characters involved, nor requiring the implementations to mess with the input stream.


Using / as a strawperson, since that is what is used in poetry:


  file = line++/, /*.
  line = ~[/]+.

where / stands for the character or characters used in the newline sequence on the implementation, with the understanding that [/] may need special treatment.


input: "Host: ", host, ":", port, /, 
          "Connection: keep-alive", /, 
           "Accept: ", mediatype++",", /.


Steven



On Monday 23 October 2023 19:07:11 (+02:00), Norman Walsh wrote:



Per an action I took to write up a proposal: https://lists.w3.org/Archives/Public/public-ixml/2023Oct/0021.html

—
Reply to this email directly, view it on GitHub <https://github.com/invisibleXML/ixml/issues/192#issuecomment-1775638647> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACNIXL5HGVNIYEWN5PISVVTYA2P37AVCNFSM6AAAAAA2XMAHS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZVGYZTQNRUG4> .
You are receiving this because you are subscribed to this thread.

Received on Tuesday, 24 October 2023 19:18:00 UTC