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,
                                          norm

-- 
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 June 2009 21:20:11 GMT