On Mon, Jan 31, 2011 at 10:19:08AM +1100, David Crossley wrote:
[snip]
> This is because JIRA is down.
> 
> Previously we just got no response, so forrest treated it differently.
> 
> Behind-the-scenes forrest is doing a request for a certain JIRA
> report and transforming the result.
> 
> Because for our site-author docs build we have internal validation [1][2]
> configured to be happening, we detect this error in this way.
[snip]
> I assume that our xsl stylesheet needs tweaks to handle such
> unexpected content.

There is an attempt in r1065442 [3]. Can anyone confirm whether the
maintenance message is hand-crafted each time, or starts from a known
template? That would make the stylesheet less brittle. With this
revision, the body content is taken as is and produces an invalid
intermediate document, but the final result is usable.

-Brian

> [1] http://forrest.apache.org/howto-dev.html#debug-validation
> Using Cocoon Validation Transformers
> 
> [2] http://forrest.apache.org/howto-dev.html#validate-intermediate
> Validate all intermediate xml content

[3] http://svn.apache.org/viewvc?view=revision&revision=1065442

> -David