Re: [PHPTAL] XML Namespace and xmlns declaration removed from emitted DOM

2012-06-12 Thread Terin Stock
? As far as I know, namespaces aren't valid in documents that aren't XHTML. Can you see if switching the output fixes it? -- #Terin Stock On Tue, Jun 12, 2012 at 11:19 AM, Andrew Crites ajcri...@gmail.com wrote: It's known that when you have an element like: g:plusone size=medium href

Re: [PHPTAL] HTML5 - requires link to be closed

2011-11-24 Thread Terin Stock
Excuse my post-turkey reply from my phone. :) PHPTAL does not parse the HTML as a web browser would, it parses it has an XML document. So you must provide valid XML input. As for HTML5 boilderplate, I regularily use it with PHPTAL, you just have to adjust the input HTML to be valid XML. On Nov

Re: [PHPTAL] [PATCH] Shouldn't skip over __get() just because __isset() was defined…

2011-06-28 Thread Terin Stock
at stopping me from having __isset defined in a way logical for the rest of my application. My patch fixes that, and doesn't change anything if you have decided to implement __isset the other way. -- #Terin Stock Undergraduate, Computer Science (CISE), University of Florida On Tuesday, June

Re: [PHPTAL] [PATCH] Shouldn't skip over __get() just because __isset() was defined…

2011-06-28 Thread Terin Stock
, and hopefully some of the others are more acceptable. List: Thank for the discussion. Hope to be able to contribute to this project along side you.-- #Terin Stock Undergraduate, Computer Science (CISE), University of Florida On Tuesday, June 28, 2011 at 12:33 PM, Kornel Lesiński wrote: On Tue, 28

Re: [PHPTAL] [PATCH] Shouldn't skip over __get() just because __isset() was defined…

2011-06-27 Thread Terin Stock
accessed in the view. Thus, when the view executes, any instance variables that haven't been fetched yet are still NULL, causing isset() to return FALSE. -- #Terin Stock Undergraduate, Computer Science (CISE), University of Florida On Sunday, June 26, 2011 at 8:01 PM, Tjerk Meesters wrote

Re: [PHPTAL] [PATCH] Shouldn't skip over __get() just because __isset() was defined…

2011-06-27 Thread Terin Stock
Based on my understanding of PHP it seems that __isset() is returning correctly. At that point in time exampleVariable is not set. Can it be set in the future? Sure, but it's not currently. -- #Terin Stock Undergraduate, Computer Science (CISE), University of Florida On Monday, June 27, 2011

[PHPTAL] [PATCH] Shouldn't skip over __get() just because __isset() was defined…

2011-06-26 Thread Terin Stock
/PHPTAL/Context.php @@ -382,7 +382,7 @@ class PHPTAL_Context } } // ask __get and discard if it returns null - elseif (method_exists($base, '__get')) { + if (method_exists($base, '__get')) { $tmp = $base-$current; if (null !== $tmp) { $base = $tmp; -- #Terin Stock Undergraduate, Computer