On 4/2/07, <b class="gmail_sendername">David Koontz</b> &lt;<a href="mailto:david@koontzfamily.org">david@koontzfamily.org</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
REXML::Version gives 3.1.3<br>&gt; On 4/2/07, *David Koontz* &lt;<a href="mailto:david@koontzfamily.org">david@koontzfamily.org</a><br>&gt; &lt;mailto:<a href="mailto:david@koontzfamily.org">david@koontzfamily.org</a>&gt;&gt; wrote:
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; I have installed masterview into the vendor directory and when I start<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; up mongrel I get:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Initializing MasterView configuration (2007-04-02 13:18)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Program name = script/server
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Using default admin_auth mixin for MasterView admin (local<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; requests only)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Adding MasterView AdminPages controller directories to<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; controller_paths<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; MasterView Admin pages enabled
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Failure to parse template. Exception=undefined method `progress&#39; for<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; #&lt;MasterView::TemplateProcessing::SAXParserListener:0x224d5f8&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Failure to parse template. Exception=undefined method `progress&#39; for
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; #&lt;MasterView::TemplateProcessing::SAXParserListener:0x248661c&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Failure to parse template. Exception=undefined method `progress&#39; for<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; #&lt;MasterView::TemplateProcessing::SAXParserListener:0x240b0d4&gt;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Failure to parse template. Exception=undefined method `progress&#39; for<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; #&lt;MasterView::TemplateProcessing::SAXParserListener:0x23c21e0&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Failure to parse template. Exception=undefined method `progress&#39; for
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; #&lt;MasterView::TemplateProcessing::SAXParserListener:0x23acbec&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Failure to parse template. Exception=undefined method `progress&#39; for<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; #&lt;MasterView::TemplateProcessing::SAXParserListener:0x2391234&gt;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Adding hook to allow MasterView to check for templates that have<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; changed<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; when processing a request<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Adding hooks to enable Rails to read erb directly from MasterView<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; MasterView plugin initialized - Version 
0.3.2<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; ** Rails loaded.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Followed by the rest of the normal rails startup output.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; When I try to hit <a href="http://localhost:3000/masterview">http://localhost:3000/masterview</a>
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;<a href="http://localhost:3000/masterview">http://localhost:3000/masterview</a>&gt; or other url&#39;s that<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; are masterview generated content I get the same error again<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Failure to parse template. Exception=undefined method `progress&#39; for
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; #&lt;MasterView::TemplateProcessing::SAXParserListener:0x3718bf8&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Any idea on what I might have done wrong?&nbsp;&nbsp;I&#39;m on Rails 1.2.<br>&gt;<br></blockquote></div><br><br>I believe I have found the issue. It is a result of the rexml version being older, the patched class uses an event progress which is not defined in 
3.1.3. <br><br>I am completing and testing a fix that checks the version of rexml before using the patched parser otherwise it will default to the original version (which might not handle doctypes properly but otherwise should work fine).
<br><br>Jeff<br>