[sc34wg3] CTM: Line-terminators
xuan--sc34wg3--isotopicmaps.org at baldauf.org
Fri Mar 27 07:07:52 EDT 2009
Lars Marius Garshol wrote:
> * Lars Heuer
>> I think for the single line comment  the reference to 0xA is
>> correct since 0xA is always the trailing part of a new line
> This works because any 0xD will then be considered harmless
> whitespace. However, it's not the case that 0xA is always part of the
> Wikipedia has an article on this:
> Commodore and older Apple machines use just 0xD.
> And, famously, IBM machines use NEL (0x15), which at one point was
> going to be added to the WS production in XML 2nd ed, but I see that
> that didn't happen in the end. I guess that means we can ignore it, too.
> The question is if we should change the production to read
> (0xD | 0xA)
> instead of just
> This would work with all three ASCII-based terminators.
Well, maybe, but (0xD | 0xA) as newline would mean that the sequence
"0xD 0xA" are two lines. However, I do not think whether anyone cares.
> Don't have any strong opinions on this, really.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sc34wg3