W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2005

[whatwg] [wf2] Note about XML attribute value handling

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Wed, 11 May 2005 11:48:51 +0200
Message-ID: <4281D503.5030301@annevankesteren.nl>
Mikko Rantalainen wrote:
> You cannot put a random string between <textarea> and </textarea> tags 
> either and expect to get a valid XML fragment as a result.

True, that's why htmlspecialchars was created (in PHP). (Note that there 
are five predefined entities in XML of which &quot; is one.)


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>
Received on Wednesday, 11 May 2005 02:48:51 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:41 UTC