Subversion Repositories wimsdev

Rev

Rev 6445 | Rev 11479 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6445 Rev 10817
Line 12... Line 12...
12
   {
12
   {
13
     foreach my $E (@{$v->errors}) {
13
     foreach my $E (@{$v->errors}) {
14
       next if ($E->msg =~ /not allowed in prolog/);
14
       next if ($E->msg =~ /not allowed in prolog/);
15
       next if ($E->msg =~ /Conflict between Mime Type/); #error coming from last.html
15
       next if ($E->msg =~ /Conflict between Mime Type/); #error coming from last.html
16
       next if ($E->msg =~ /xmlParseEntityRef/); #error I do not understand, link with &
16
       next if ($E->msg =~ /xmlParseEntityRef/); #error I do not understand, link with &
-
 
17
       next if ($E->msg =~ /data-dropdown-menu/); #is not a member of a group specified for any attribute (html5)
-
 
18
       next if ($E->msg =~ /no attribute \"data/); #html5
-
 
19
       next if ($E->msg =~ /aria-label/);  #html5
-
 
20
       next if ($E->msg =~ /nav/);  #html5
17
       printf("\$wims_name_Error: line %d, %s\n", $E->line, $E->msg);
21
       printf("\$wims_name_Error: line %d, %s\n", $E->line, $E->msg);
18
       
22
 
19
     }
23
     }
20
     foreach my $E (@{$v->warnings}) {
24
     foreach my $E (@{$v->warnings}) {
21
       next if ($E->msg =~ /character "(&|&)" is the first character of a delimiter but occurred as data/);  ##due to wims
25
       next if ($E->msg =~ /character "(&|&)" is the first character of a delimiter but occurred as data/);  ##due to wims
22
       next if ($E->msg =~ /Conflict between Mime Type/);  #error coming from last.html
26
       next if ($E->msg =~ /Conflict between Mime Type/);  #error coming from last.html
23
       next if ($E->msg =~ /xmlParseEntityRef/); #error I do not understand, link with &
27
       next if ($E->msg =~ /xmlParseEntityRef/); #error I do not understand, link with &
24
       printf("\$wims_name_warning: line %d, %s\n", $E->line, $E->msg);}
28
       printf("\$wims_name_warning: line %d, %s\n", $E->line, $E->msg);}
25
   } else {
29
   } else {
26
     printf("Validation has been done") ; }
30
     printf("Validation has been done"); }
27
 } else {
31
 } else {
28
     printf ("Failed to validate the validator $v->uri : %s\n", $v->validator_error);
32
     printf ("Failed to validate the validator $v->uri : %s\n", $v->validator_error);
29
 }
33
 }