<p>Browsing to a dynamic web page built using Grails version 1.0.3 the console log shows the following errors for each page request:</p>

<pre><code>[Fatal Error] :-1:-1: Premature end of file.
</code></pre>

<p>How do I stop this error from appearing for each request?</p>

This bug was already fixed:
http://jira.codehaus.org/browse/GRAILS-3088
Premature end of file
Affects Version/s:  1.0.3
Fix Version/s:
1.0.4
...Just a few implementation notes. We were defaulting to a q value of 0, which is incorrect according to the spec. So we now default to 1.0 which gives the correct precedence order in Firefox 3, but incorrect in Firefox 2. However, more specific XML types like application/xhtml+xml now take precendence over less specific ones if they have the same q value so this fixes the issue in Firefox 2...