[Cruisecontrolrb-users] XHTML validation
Lee Cantey
lcantey at gmail.com
Thu Mar 13 16:48:48 EDT 2008
On Mar 12, 2008, at 4:43 PM, Lee Cantey wrote:
> An interesting thing of note is that we have another server here
> running 1.2.1 that isn't exhibiting the same problem. One
> difference I've noted, besides it controlling fewer builds, is
> during validation there is an extra failure on mine. Ie. they have
> the same pattern of failures except mine has an additional one at
> the start right about where the garbled output starts on first
> load. Looking at the source generated side by side I get an extra
> <table> inserted right after <div id="projects"> and before the <div
> id="project_PROJECT_NAME" class="project build_success"> which
> causes a " Line 55, Column 65: document type does not allow element
> "div" here."
So the difference in the number of projects turned out to be key. The
problem lies in app/views/projects/index.rhtml and is triggered by
greater than five projects. In this case the extra table element is
generated and the invalid xhtml seems to be causing the bad behavior.
Regards,
Lee
More information about the Cruisecontrolrb-users
mailing list