2006/unicorn/resources/templates/output/errors en_text.vm,NONE,1.1 fr_text.vm,NONE,1.1 fr_text10.vm,1.1,NONE en_text10.vm,1.1,NONE

Update of /sources/public/2006/unicorn/resources/templates/output/errors
In directory hutz:/tmp/cvs-serv3820/resources/templates/output/errors

Added Files:
	en_text.vm fr_text.vm 
Removed Files:
	fr_text10.vm en_text10.vm 
Log Message:
Renamed *_text10.vm to *_text.vm

--- NEW FILE: en_text.vm ---
#macro(error $error)
-- Error -------------------------
#if($error.Line)Line $error.Line #end #if($error.Column)Column $error.Column #end:
#foreach($message in $error.Message)
>> error.Message: $message
#end
#if($error.Context && $error.Context != "")
>> error.Context: $error.Context
#end
#foreach($longMessage in $error.Longmessage)
#foreach($longMessagePiece in $longMessage.Content)
>> error.longMessagePiece: $longMessagePiece
#end
#end
#end

#macro(info $information)
-- Information -------------------
#if($information.Line)Line $information.Line #end #if($information.Column)Column $information.Column #end:
#foreach($message in $information.Message)
>> information.Message: $message
#end
#if($information.Context && $information.Context != "")
>> information.Context: $information.Context
#end
#foreach($longMessage in $information.Longmessage)
#foreach($longMessagePiece in $longMessage.Content)
>> information.longMessagePiece: $longMessagePiece
#end
#end
#end

#macro(warning $warning)
-- Warning -----------------------
#if($warning.Line)Line $warning.Line #end #if($warning.Column)Column $warning.Column #end:
#foreach($message in $warning.Message)
>> warning.Message: $message
#end
#if($warning.Context && $warning.Context != "")
>> warning.Context: $warning.Context
#end
#foreach($longMessage in $warning.Longmessage)
#foreach($longMessagePiece in $longMessage.Content)
>> warning.longMessagePiece: $longMessagePiece
#end
#end
#end

#macro(produceErrors $errors)
// Errors /////////////////////////////////////////

#foreach($errorList in $errors.Errorlist)
>>>> Location: $errorList.Uri
#foreach($error in $errorList.Error)
#error($error)
#end
#end
#end

#macro(produceWarnings $warnings)
// Warnings ///////////////////////////////////////

#foreach($warningList in $warnings.Warninglist)
#if($warningList.Warning && $warningList.Warning.size() != 0)
>>>> Location: $warningList.Uri
#foreach($warning in $warningList.Warning)
#warning($warning)
#end
#end
#end
#end

#macro(produceInfos $infos)
// Informations ///////////////////////////////////

#foreach($infoList in $infos.Infolist)
>>>> Location: $infoList.Uri
#foreach($information in $infoList.Info)
#info($information)
#end
#end
#end


#set($observationList = $unicorncall.ObservationList)
#foreach($observationName in $observationList.keySet())
#set($observation = $observationList.get($observationName))



========================= $observationName ====================================

#if($observation.isPassed())
> This document has passed the #if($observation.getVersion()) $observation.getVersion().toUpperCase() #else $observationName #end test!
#else
> This document has not passed the #if($observation.getVersion()) $observation.getVersion().toUpperCase() #else $observationName #end test!
#produceErrors($observation.Result.Errors)
#end


#if($observation.Result.Informations)
#produceInfos($observation.Result.Informations)
#end
#if($observation.Result.Warnings)
#produceWarnings($observation.Result.Warnings)
#end
#end

#if(!$unicorncall.haveHighPassed())
Some observations might not have been made because one or more with high
priority failed.
#end
#if(!$unicorncall.haveMediumPassed())
Some observations might not have been made because one or more with medium
priority failed.
#end

--- NEW FILE: fr_text.vm ---
#macro(error $error)
-- Error -------------------------
#if($error.Line)Line $error.Line #end #if($error.Column)Column $error.Column #end:
#foreach($message in $error.Message)
>> error.Message: $message
#end
#if($error.Context && $error.Context != "")
>> error.Context: $error.Context
#end
#foreach($longMessage in $error.Longmessage)
#foreach($longMessagePiece in $longMessage.Content)
>> error.longMessagePiece: $longMessagePiece
#end
#end
#end

#macro(info $information)
-- Information -------------------
#if($information.Line)Line $information.Line #end #if($information.Column)Column $information.Column #end:
#foreach($message in $information.Message)
>> information.Message: $message
#end
#if($information.Context && $information.Context != "")
>> information.Context: $information.Context
#end
#foreach($longMessage in $information.Longmessage)
#foreach($longMessagePiece in $longMessage.Content)
>> information.longMessagePiece: $longMessagePiece
#end
#end
#end

#macro(warning $warning)
-- Alerte -----------------------
#if($warning.Line)Line $warning.Line #end #if($warning.Column)Column $warning.Column #end:
#foreach($message in $warning.Message)
>> warning.Message: $message
#end
#if($warning.Context && $warning.Context != "")
>> warning.Context: $warning.Context
#end
#foreach($longMessage in $warning.Longmessage)
#foreach($longMessagePiece in $longMessage.Content)
>> warning.longMessagePiece: $longMessagePiece
#end
#end
#end

#macro(produceErrors $errors)
// Errors /////////////////////////////////////////

#foreach($errorList in $errors.Errorlist)
>>>> Location: $errorList.Uri
#foreach($error in $errorList.Error)
#error($error)
#end
#end
#end

#macro(produceWarnings $warnings)
// Alerts ///////////////////////////////////////

#foreach($warningList in $warnings.Warninglist)
#if($warningList.Warning && $warningList.Warning.size() != 0)
>>>> Location: $warningList.Uri
#foreach($warning in $warningList.Warning)
#warning($warning)
#end
#end
#end
#end

#macro(produceInfos $infos)
// Informations ///////////////////////////////////

#foreach($infoList in $infos.Infolist)
>>>> Location: $infoList.Uri
#foreach($information in $infoList.Info)
#info($information)
#end
#end
#end


#set($observationList = $unicorncall.ObservationList)
#foreach($observationName in $observationList.keySet())
#set($observation = $observationList.get($observationName))



========================= $observationName ====================================

#if($observation.isPassed())
> Le document est valide le test #if($observation.getVersion()) $observation.getVersion().toUpperCase() #else $observationName #end !
#else
> Le document ne passe pas le test #if($observation.getVersion()) $observation.getVersion().toUpperCase() #else $observationName #end !
#produceErrors($observation.Result.Errors)
#end


#if($observation.Result.Informations)
#produceInfos($observation.Result.Informations)
#end
#if($observation.Result.Warnings)
#produceWarnings($observation.Result.Warnings)
#end
#end

#if(!$unicorncall.haveHighPassed())
Quelques observations ne sont pas effectuer car one or more with high priority failed.
#end
#if(!$unicorncall.haveMediumPassed())
Quelques observations ne sont pas effectuer car one or more with medium priority failed.
#end

--- fr_text10.vm DELETED ---

--- en_text10.vm DELETED ---

Received on Wednesday, 2 July 2008 17:42:58 UTC