- From: Florent Batard via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 19 Jun 2008 11:14:30 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/resources/templates/output In directory hutz:/tmp/cvs-serv931/resources/templates/output Modified Files: en_text10.vm Log Message: bug correction for command line unicorn request Index: en_text10.vm =================================================================== RCS file: /sources/public/2006/unicorn/resources/templates/output/en_text10.vm,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- en_text10.vm 29 Nov 2007 15:51:49 -0000 1.1 +++ en_text10.vm 19 Jun 2008 11:14:28 -0000 1.2 @@ -1,17 +1,17 @@ #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 + ---Error-------------------------- + #if($error.Line)Line $error.Line #end #if($error.Column)Column $error.Column #end : + #foreach($message in $error.Message) + error : $message + #end + #if($error.Context && $error.Context != "") + error context : $error.Context + #end + #foreach($longMessage in $error.Longmessage) + #foreach($longMessagePiece in $longMessage.Content) + $longMessagePiece + #end + #end #end #macro(info $information) @@ -47,18 +47,15 @@ #end #macro(produceErrors $errors) -// Errors ///////////////////////////////////////// +============== Errors =================== -#foreach($errorList in $errors.Errorlist) ->>>> Location: $errorList.Uri -#foreach($error in $errorList.Error) -#error($error) -#end -#end + #foreach($error in $errors) + #error($error) + #end #end #macro(produceWarnings $warnings) -// Warnings /////////////////////////////////////// +============== Warnings ================= #foreach($warningList in $warnings.Warninglist) #if($warningList.Warning && $warningList.Warning.size() != 0) @@ -71,13 +68,13 @@ #end #macro(produceInfos $infos) -// Informations /////////////////////////////////// +============== Informations ============= #foreach($infoList in $infos.Infolist) ->>>> Location: $infoList.Uri -#foreach($information in $infoList.Info) -#info($information) -#end + >>>> Location: $infoList.Uri + #foreach($information in $infoList.Info) + #info($information) + #end #end #end @@ -94,7 +91,12 @@ > 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) +#foreach($result in $observation.getResultsList()) + #if(!$result.Errors.isEmpty()) + Location: $result.Uri + #produceErrors($result.Errors) + #end + #end #end
Received on Thursday, 19 June 2008 11:15:06 UTC