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 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:

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 why this causes a problem.
There is absolutely no help about combining multiple namespaces  
inside the same HTML block.

I need this to work:




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


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 why this causes a problem.
There is absolutely no help about combining multiple namespaces  
inside the same HTML block.

I need this to work:




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


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}
 




I have to say this could be better explained in the manual.
D

On Wednesday, 30 September, 2009, at 07:34AM, "Damian Kobylinski" 
 wrote:
>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 entry that validates SPRY:
>"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 why this causes a problem.
>There is absolutely no help about combining multiple namespaces inside the 
>same HTML block.
>I need this to work:
>
>
>
>___
>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