--- httpd/cgi-bin/check 30 Apr 2007 13:36:34 -0000 1.513 +++ httpd/cgi-bin/check 30 Apr 2007 14:06:59 -0000 @@ -2339,6 +2339,17 @@ $err->{type} = $mess->{primary_message}{Severity}; $err->{msg} = $mess->{primary_message}{Text}; + # our parser OpenSP is not quite XML-aware, or XML Namespaces Aware, + # so we filter out a few errors for now + + if ($File->{Mode} eq 'XML') { + if ($err->{num} eq '108' and $err->{msg} =~ m{ "xmlns:\S+"}) { + # the error is about a missing xmlns: attribute definition" + return ; # this is not an error, 'cause we said so + } + } + + # ... $File->{'Is Valid'} = FALSE if $err->{type} eq 'E';