W3C home > Mailing lists > Public > www-html@w3.org > November 2003

Re: XML in textarea problem

From: Lachlan Hunt <lhunt07@postoffice.csu.edu.au>
Date: Tue, 04 Nov 2003 20:47:52 +1100
Message-ID: <3FA775C8.7030105@postoffice.csu.edu.au>
To: Andrew Clover <and-w3@doxdesk.com>
Cc: www-html@w3.org

Andrew Clover wrote:

>The <p> here is not markup, it is literal text content and should be
>encoded as such:
>
>  <textarea>
>    &lt;p>Blah, blah, blah.&lt;/p>
>  </textarea>
>
You should also encode the > character as &gt; to be correct.  The four 
entities defined in xml (&lt; &gt; &amp; and &quot;) should always be 
used, rather than the literal characters.
Received on Tuesday, 4 November 2003 04:47:50 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:40:09 UTC