if ( outputStream.size() > 0 ) {
Document document = parseText( outputStream.toString() );
// exclude all parameters that are of type "system", xactions set system params that have to be ignored.
@SuppressWarnings ( "rawtypes" )
List nodes = document.selectNodes( "parameters/parameter" );
for ( int i = 0; i < nodes.size() && !hasParameters; i++ ) {
Element elem = (Element) nodes.get( i );
if ( elem.attributeValue( "name" ).equalsIgnoreCase( "output-target" )
&& elem.attributeValue( "is-mandatory" ).equalsIgnoreCase( "true" ) ) {
hasParameters = true;