- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 27 May 2010 20:54:52 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/css In directory hutz:/tmp/cvs-serv17804/org/w3c/css/css Modified Files: ucn.properties Log Message: new unicorn schema, partial Index: ucn.properties =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/css/ucn.properties,v retrieving revision 1.29 retrieving revision 1.30 diff -u -d -r1.29 -r1.30 --- ucn.properties 7 Sep 2009 14:49:50 -0000 1.29 +++ ucn.properties 27 May 2010 20:54:50 -0000 1.30 @@ -1,154 +1,83 @@ <?xml version='1.0' encoding="$charset"?> -<observationresponse xmlns="http://www.w3.org/unicorn/observationresponse" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.w3.org/unicorn/observationresponse file:observer-response.xsd"> - <uri>$file_title</uri> - <checkedby>http://jigsaw.w3.org/css-validator/</checkedby> - <version>$cssversion</version> - <date>$currentdate</date> - <passed>$is_valid</passed> - <result> - <errors xml:lang="$lang"> - <errorcount>$errors_count</errorcount> -#if ( $errors_count > 0 ) - #set ( $sf = "" ) - #set ( $open = false ) - #foreach ( $error_content in $errors_content ) - #set ( $err = $error_content.get("Error") ) - #if ( $sf != $err.SourceFile ) - #if ( $open ) - </errorlist> - #end - #set ( $sf = $err.SourceFileEscaped ) - <errorlist> - #set ( $open = true ) - #if ( $fake_input ) - <uri>$file_title</uri> - #else - <uri>$sf</uri> - #end - #end +<observationresponse xmlns="http://www.w3.org/unicorn/observationresponse" ref="$file_title" date="$currentdate" xml:lang="$lang"> - #set ( $error_msg = $error_content.get("ErrorMsg") ) - #set ( $context_name = $error_content.get("CtxName") ) - #set ( $context_msg = $error_content.get("CtxMsg") ) - #set ( $class_name = $error_content.get("ClassName") ) - #if ( $error_content.get("link_value_parse_error") ) - #set ( $before_link = $error_content.get("link_before_parse_error") ) - #set ( $link_value = $error_content.get("link_value_parse_error") ) - #else - #set ( $link_value = false ) - #end - #if ( $error_content.get("span_value_parse_error") ) - #set ( $span_value = $error_content.get("span_value_parse_error") ) - #else - #set ( $span_value = false ) - #end +#if ($is_valid) +<status value="passed"/> +#end - <error> - <line>$err.Line</line> - #if ( $context_msg ) <context name="$context_name">$context_msg</context> #end - <errortype>$class_name</errortype> - <message> - #if ( $link_value ) - #set ( $link_name = $error_content.get("link_name_parse_error") ) - $before_link : $link_name ($link_value) - #end - $error_msg - #if ( $span_value ) - #set ( $span_class = $error_content.get("span_class_parse_error") ) - $span_value - #end - </message> - </error> - #end - #if ( $open ) - </errorlist> - #end +#if ($errors_count == 0) +<message type="info"> + <title></title> + <description> + $doc_validates_before_link <a href="$css_link">$css</a>$doc_validates_after_link<br/> + $no_errors_interoperable_msg<br/> + <img class="inline-badge" height="31" width="88" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="$valid_CSS" /> + <pre><code class='example badgeSnippet'><p> + <a href="http://jigsaw.w3.org/css-validator/check/referer"> + <img style="border:0;width:88px;height:31px" + src="http://jigsaw.w3.org/css-validator/images/vcss" + alt="$valid_CSS" /> + </a> +</p></code></pre> + <img class="inline-badge" height="31" width="88" src="http://jigsaw.w3.org/css-validator/images/vcss-blue" alt="$valid_CSS" /> + <pre><code class='example badgeSnippet'><p> + <a href="http://jigsaw.w3.org/css-validator/check/referer"> + <img style="border:0;width:88px;height:31px" + src="http://jigsaw.w3.org/css-validator/images/vcss-blue" + alt="$valid_CSS" /> + </a> +</p></code></pre> + ($no_errors_close_tags_msg)<br/> + $no_errors_dl_local_msg + </description> +</message> #end - </errors> - <warnings xml:lang="$lang"> - <warningcount>$warnings_count</warningcount> -#if ( $warnings_count > 0 ) - #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 ) - #if ( $fake_input ) - <uri>$file_title</uri> - #else - <uri>$sf</uri> - #end +#foreach ($error_content in $errors_content) - #end - #if ( $warning.Level <= $warning_level ) - <warning> - #if ( $warning.Level ) - <level>$warning.Level</level> - #end - <line>$warning.Line</line> - #if ( $warning.Context ) <context>$warning.Context.Escaped</context> #end - <message>$warning.WarningMessageEscaped</message> - </warning> - #end - #end - #if ( $open ) - </warninglist> - #end -#end - - </warnings> + #set ( $err = $error_content.get("Error") ) + #set ( $error_msg = $error_content.get("ErrorMsg") ) + #set ( $context_msg = $error_content.get("CtxMsg") ) + #set ( $class_name = $error_content.get("ClassName") ) + #if ( $error_content.get("link_value_parse_error") ) + #set ( $before_link = $error_content.get("link_before_parse_error") ) + #set ( $link_value = $error_content.get("link_value_parse_error") ) + #else + #set ( $link_value = false ) + #end + #if ( $error_content.get("span_value_parse_error") ) + #set ( $span_value = $error_content.get("span_value_parse_error") ) + #else + #set ( $span_value = false ) + #end + #if ($fake_input) + #set ($uri = $file_title) + #elseif ($err.SourceFile) + #set ($uri = $err.SourceFileEscaped) + #end + +<message type="error" #if ($uri)ref="$uri"#end> + <context line="$!err.Line">$!context_msg</context> + <title> + #if ( $link_value ) + #set ( $link_name = $error_content.get("link_name_parse_error") ) + $before_link : $link_name ($link_value) + #end + $error_msg + #if ( $span_value ) + #set ( $span_class = $error_content.get("span_class_parse_error") ) + $span_value + #end + $class_name + </title> +</message> +#end -#if ( $errors_count == 0 ) - <informations xml:lang="$lang"> - <infocount>1</infocount> - <infolist> - <uri>$file_title</uri> - <info> - <longmessage>$doc_validates_before_link <a href="$css_link">$css</a> $doc_validates_after_link</longmessage> - <longmessage> - $no_errors_interoperable_msg - </longmessage> - <longmessage> - <img class="inline-badge" style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="$valid_CSS" /> - <code class='example badgeSnippet'><p> - <a href="http://jigsaw.w3.org/css-validator/check/referer"> - <img style="border:0;width:88px;height:31px" - src="http://jigsaw.w3.org/css-validator/images/vcss" - alt="$valid_CSS" /> - </a> -</p></code> - </longmessage> - <longmessage> - <img class="inline-badge" style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss-blue" alt="$valid_CSS" /> - <code class='example badgeSnippet'><p> - <a href="http://jigsaw.w3.org/css-validator/check/referer"> - <img style="border:0;width:88px;height:31px" - src="http://jigsaw.w3.org/css-validator/images/vcss-blue" - alt="$valid_CSS" /> - </a> -</p></code> - </longmessage> - <longmessage> - ($no_errors_close_tags_msg) - </longmessage> - <longmessage> - $no_errors_dl_local_msg - </longmessage> - </info> - </infolist> - </informations> +#foreach ($warning in $warnings_list) #end - </result> -</observationresponse> + +</observationresponse> \ No newline at end of file
Received on Thursday, 27 May 2010 20:54:54 UTC