2002/css-validator/org/w3c/css/css ucn.properties,1.12,1.13

Update of /sources/public/2002/css-validator/org/w3c/css/css
In directory hutz:/tmp/cvs-serv32379

Modified Files:
	ucn.properties 
Log Message:
*** empty log message ***

Index: ucn.properties
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/ucn.properties,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- ucn.properties	26 Feb 2009 09:21:31 -0000	1.12
+++ ucn.properties	24 Aug 2009 17:05:54 -0000	1.13
@@ -33,8 +33,8 @@
         #end
         #if  ( $sf != $err.SourceFile )
             #set ( $sf = $err.SourceFileEscaped )
-        #end
                 <uri>$sf</uri>
+        #end
                 <error>
                     <line>$err.Line</line>
                     #if ( $context_msg ) <context name="$context_name">$context_msg</context> #end
@@ -63,19 +63,29 @@
         <warnings xml:lang="$lang">
             <warningcount>$warnings_count</warningcount>
 #if ( $warnings_count > 0 )
-
-            <warninglist>
     #set ( $sf = "" )
+    #set ( $open = false )
     #foreach ( $warning in $warnings_list )
+        #if ( $sf != $warning.SourceFile )    
+            #if ( $open )
+            </warninglist>
+            #end
+            #set ( $sf = $warning.SourceFileEscaped )
+            <warninglist>
+            #set ( $open = true )
                 <uri>$file_title</uri>
+        #end
+        #if ( $warning.Level <= $warning_level )
                 <warning>
                     <line>$warning.Line</line>
                     <code_context>#if ( $warning.Context ) $warning.ContextEscaped #end</code_context>
                     <message level="$warning.Level">$warning.WarningMessageEscaped</message>
                 </warning>
+        #end
     #end
-
+    #if ( $open )
             </warninglist>
+    #end
 #end
     
         </warnings>

Received on Monday, 24 August 2009 17:06:06 UTC