[PHPTAL] SPRY and PHPTAL namespace

2009-09-29 Thread Damian Kobylinski
Hi there I am trying to migrate my pages from a pervious version of TAL. The problem I have is the inclusion of SPRY in my pages. The previous version has no problem with SPRY attributes. But the latest version is telling me that there is no namespace for attribute SPRY. So, I found the DTD en

Re: [PHPTAL] SPRY and PHPTAL namespace

2009-09-29 Thread Damian Kobylinski
I managed to figure out why. It looks like defining the spry namespace inside the top level HTML tag doesn't have any impact. But defining it at the level of let's say a macro that contains some spry code works. So what works is: http://ns.adobe.com/spry"; > {someSpryRegion::element}

Re: [PHPTAL] SPRY and PHPTAL namespace

2009-09-29 Thread Kornel LesiƄski
On 29.09.2009, at 21:49, Damian Kobylinski wrote: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> http://www.w3.org/1999/xhtml"; xmlns:spry="http://ns.adobe.com/spry "> It still says "There is no namespace declared for prefix of attribute spry:region of element ...". No idea wh

Re: [PHPTAL] SPRY and PHPTAL namespace

2009-09-29 Thread Damian
Kornel. The error seems to only appear when you use a spry construct within a or element. So defining a would fail. But doing it using http://ns.adobe.com/spry "> > works perfectly. It doesn't seem to be aware of anything defined as a top level xmlns. I am still trying to figure out exa