W3C home > Mailing lists > Public > xproc-dev@w3.org > June 2009

Re: p:escape-markup ... & changed to ∓ ... why isn't " changed to "?

From: Norman Walsh <ndw@nwalsh.com>
Date: Sat, 20 Jun 2009 17:19:33 -0400
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <m2ab42bo2i.fsf@nwalsh.com>
"Costello, Roger L." <costello@mitre.org> writes:

> Why aren't the quotes escaped? Why don't I get this:
>    &lt;Book id=&quot;McCartney&quot;&gt;

Because they don't have to be. As I said, in the last message,
there's a lot of leeway. This would be equally correct:

     &lt;&#66;&#x6f;&#x157;k id=&quot;McCartney&quot;&gt;

But somewhat...surprising.

The only characters you *have* to escape are "<" and "&" because
they're "markup start characters". Or that's what we used to call them
in the SGML days, anyway.

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com> | A proof tells us where to concentrate
http://nwalsh.com/            | our doubts.-- Anonymous

Received on Saturday, 20 June 2009 21:20:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:05 UTC