On 30 Sep 2010, at 18:28, Piotr Kroczyński wrote:

> Ok thank you for reply. I have just one more question. In which revision is 
> that diry quick fix that you wrote earlier to make PHPTAL write doctype after 
> clone? I just added this to svn:externals in place of 1.2.1:

r993

> phptal -r 939 https://svn.motion-twin.com/phptal/trunk/classes/ to svn 
> externals

Wrong revision number.

> But problem is still there. Can you tell me where and what to add to fix this 
> bug ?

The fix is in PHPTAL_Context::setDocType(). Sets it in current context, rather 
than topmost context. I'm not sure if that is sufficient in all cases, but 
passes test case you've sent me (which I've added to tests in r991).

-- 
regards, Kornel


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

Reply via email to