Re: [Templates] The new xml filter

2009-07-09 Thread Larry Leszczynski
On Thu, 09 Jul 2009 12:48 -0700, "Sean McAfee" wrote: > On Thu, Jul 9, 2009 at 3:39 PM, Larry Leszczynski > wrote: > > > Hi Bill - > > > > On Thu, 09 Jul 2009 11:31 -0700, "Bill Moseley" > > wrote: > > > " and ' are both ok to use > > > > Ok in HTML but not XHTML. XHTML says you *must* use do

Re: [Templates] The new xml filter

2009-07-09 Thread Sean McAfee
On Thu, Jul 9, 2009 at 3:39 PM, Larry Leszczynski wrote: > Hi Bill - > > On Thu, 09 Jul 2009 11:31 -0700, "Bill Moseley" > wrote: > > " and ' are both ok to use > > Ok in HTML but not XHTML. XHTML says you *must* use double quotes > around your attribute values, single quotes are not ok. So thi

Re: [Templates] The new xml filter

2009-07-09 Thread Larry Leszczynski
Hi Bill - On Thu, 09 Jul 2009 11:31 -0700, "Bill Moseley" wrote: > On Thu, Jul 9, 2009 at 3:16 PM, Bill Ward wrote: > > > Anyway you probably should be using " not ' for the HTML > > attributes there, to avoid that problem... > > [cut] > > " and ' are both ok to use Ok in HTML but not XHTML.

Re: [Templates] The new xml filter

2009-07-09 Thread Bill Moseley
On Thu, Jul 9, 2009 at 3:16 PM, Bill Ward wrote: > > > On Thu, Jul 9, 2009 at 3:10 PM, Randal L. Schwartz > wrote: > >> > "Bill" == Bill Moseley writes: >> >> >> Because that isn't what it's for. It replaces the *essential* HTML >> items (< & >) with their counterparts. >> > > Well, " (")

Re: [Templates] The new xml filter

2009-07-09 Thread Bill Ward
On Thu, Jul 9, 2009 at 3:10 PM, Randal L. Schwartz wrote: > > "Bill" == Bill Moseley writes: > > Bill> [% > Bill> value = meta.value | html; > Bill> key = meta.key | html; > Bill> ""; > Bill> %] > > Bill> And $value had a single quote. > > Bill> Is there a reason why replacing single quotes

Re: [Templates] The new xml filter

2009-07-09 Thread Randal L. Schwartz
> "Bill" == Bill Moseley writes: Bill> [% Bill> value = meta.value | html; Bill> key = meta.key | html; Bill> ""; Bill> %] Bill> And $value had a single quote. Bill> Is there a reason why replacing single quotes with ' would not be Bill> desired with the html filter? Because that isn't wh

[Templates] The new xml filter

2009-07-09 Thread Bill Moseley
Funny timing. I noticed the recent addition of this new filter, then someone on the Catalyst list asked about escaping single quotes, then I got an error because I was doing: [% value = meta.value | html; key = meta.key | html; ""; %] And $value had a single quote. Is there a reason why replac