W3C home > Mailing lists > Public > www-validator-cvs@w3.org > November 2007

2006/unicorn/resources/templates/output en_text10.vm,NONE,1.1

From: Hiep Duong via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 29 Nov 2007 15:51:51 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Ixlg7-0005qp-KY@lionel-hutz.w3.org>

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

Added Files:
	en_text10.vm 
Log Message:
text template

--- NEW FILE: en_text10.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
Received on Thursday, 29 November 2007 15:52:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:59 GMT