One more fly in the quoting ointment
Posted Oct 24, 2005 14:00 UTC (Mon) by
Max.Hyre (subscriber, #1054)
In reply to:
One more reason not to use XML by Zarathustra
Parent article:
Small company makes big claims on XML patents (ZDNet)
[A] ' character inside the string is represented by ''. Eg., "it's easy" becomes 'it''s easy'. And you don't need any other escaping or quoting
I'm not understanding something here. Using this quoting style,
She said "it's easy". becomes 'She
said "it"s easy".'. Run that through the de-quoting algorithm.
There's simply no way to delimit random text without being able
to escape the delimiter somehow. Even MIME's mechanism has a
greater than zero chance of failure. (Admittedly, it's something
like 10**-1000000000 [that's a billion*] or less.) As a HW engineer colleague
says:
The question isn't ``Does it work?'', but rather ``Can it
fail?''.
*Or a thousand million, for
my British readers :-)
(
Log in to post comments)