Titus Brown wrote:

On Tue, Jan 17, 2006 at 08:01:36PM +0300, Oleg Broytmann wrote:
-> On Tue, Jan 17, 2006 at 08:40:57AM -0800, Titus Brown wrote:
-> > <input type='text' name='blah' value='%(value)s'>

I assume the <input> up above is technically incorrect because of its
use of single quotes, therefore.  Well, that's easily correctable in
my code...

No, it's technically correct:

   "By default, SGML requires that all attribute values be delimited
   using either double quotation marks (ASCII decimal 34) or single
   quotation marks (ASCII decimal 39). Single quote marks can be
   included within the attribute value when the value is delimited by
   double quote marks, and vice versa. Authors may also use numeric
   character references to represent double quotes (&#34;) and single
   quotes (&#39;). For double quotes authors can also use the character
   entity reference &quot;."

       "On SGML and HTML",
       http://www.w3.org/TR/REC-html40/intro/sgmltut.html#attributes

Don't have a ref at hand, but I am certain it's valid in XML as well.

Graham

_______________________________________________
Quixote-users mailing list
Quixote-users@mems-exchange.org
http://mail.mems-exchange.org/mailman/listinfo/quixote-users

Reply via email to