forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject JIRA down, need to handle poor response
Date Sun, 30 Jan 2011 23:19:08 GMT
Forrestbot wrote:
> Automated build for forrest-docs FAILED
> Log attached.
> 
> ----------
> Forrestbot run ended at 30 January 08:11 PM
[ snip ]
>      [java] * [78/140]  [0/0]     0.025s 100b    docs_0_90/catalog.validation.xml
>      [java] * [79/139]  [0/39]    0.388s 10.0Kb  asf-infrastructure.html
>      [java] * [80/138]  [0/0]     0.041s 100b    thanks.validation.xml
>      [java] X [0]                                     forrest-issues.validation.xml	BROKEN:
The value of attribute "href" associated with an element type "a" must not contain the '<'
character.
>------------

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.

This is the "xml" response from localhost:8888/forrest-issues.xml

-------------
<?xml version="1.0" encoding="ISO-8859-1"?>
  
    System Maintenance
  
  
    Maintenance in progress
    This system is currently down for maintenance. More details may be
    available from the 
    ASF Public Network Status page.
-------------

:-)

I assume that our xsl stylesheet needs tweaks to handle such
unexpected content.


[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

-David

Mime
View raw message