At 13.04 -0500 1999.03.01, Arved Sandstrom wrote: >The consensus now appears to be this: XML does NOT require \n == \xA >internally, but according to the spec an XML processor _must_ pass \xA out >to an application, in place of \xD\xA or \xA. Despite the fact this is not >so attractive for us on the MacOS side, I have to reluctantly concur with >this interpretation, after really carefully re-reading the EOL handling >section in the XML spec. (It sort of helps that Larry Wall pointed this >out in the first place... :-)) I'm not sure I follow. What is the consensus? That XML::Parser should return \xA, but that string methods should convert to \n? Or that it should indeed return \xA in string methods? >So far the discussion has been quite reasonable (Larry appears to be >supportive, in particular), but just today Tim Bray, who is directly >responsible for this chunk of the spec, also joined in. He clearly is not >aware that \n != \xA on MacOS, and I need a good, solid authoritative ref >from Apple docs (more than one is even better) saying that the line >terminator for Mac apps is a CR (\xD), which I can refer him to. I've >looked at IM:Text, IM:Printing, IM:Files, searched on the Apple Developers >site, and I can't find a thing, except one ancient Tech Note pertaining to >A/UX <=> HFS file translations. So, help! :-) Why doesn't he just take the word of everyone who obviously knows it to be true? How about a Mac program that prints the value of \n as its numeric equivalent? :) I did some searching and could not find anything. I will let you know if I do. >P.S. I don't know about anybody else, but I have to sort of wonder what >Apple is up to. Here's something as important as the XML spec, and one of >the lead people working on it (Tim Bray), with specific responsibilities >pertaining to the EOL issue, hasn't even been apprised that things are a >little bit different over on Macs. Maybe Apple is thinking that it'll >become a non-issue with MacOS X: I certainly hope that's not it, though. Well, most people use CW for most stuff, so it doesn't matter for them, since \n usually means \xA. -- Chris Nandor mailto:pudge@pobox.com http://pudge.net/ %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6']) ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-porters-request@macperl.org