Kornel.

The error seems to only appear when you use a spry construct within a <div> or <span> element.

So defining a <div spry:region="someRegion"></div> would fail.
But doing it using <div spry:region="someRegion" xmlns:spry="http://ns.adobe.com/spry "> ></div> works perfectly.
It doesn't seem to be aware of anything defined as a top level xmlns.
I am still trying to figure out exactly what happens, and will update when know more.

D

On 30/09/2009, at 2:02 PM, Kornel Lesiński wrote:


On 29.09.2009, at 21:49, Damian Kobylinski wrote:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> <html xmlns="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 why this causes a problem.
There is absolutely no help about combining multiple namespaces inside the same HTML block.
I need this to work:

<input type="text" value="${phptal_var}" spry:if="i == 1" />

I can't reproduce this error. Are you sure you have namespace well- formed file? (e.g. if you rename it as .xml and open in a browser, do you get any errors?)

Could you send me complete file that triggers the error?

--
regards, Kornel


_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal


_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to