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

Anne van Kesteren fora at annevankesteren.nl
Wed May 11 02:48:51 PDT 2005

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 " is one.)

  Anne van Kesteren

More information about the whatwg mailing list