diff options
author | link <link@localhost> | 2001-07-19 03:16:14 +0000 |
---|---|---|
committer | link <link@localhost> | 2001-07-19 03:16:14 +0000 |
commit | fb6bce16cfff1b365ee8c504a4ebb842bdd5a4b8 (patch) | |
tree | 2e66245bb7c969c4c282f591905e2b94214fc634 | |
parent | 6b8f5ccd2de6a4cf3433105048a02382b91c4d48 (diff) | |
download | markup-validator-fb6bce16cfff1b365ee8c504a4ebb842bdd5a4b8.zip markup-validator-fb6bce16cfff1b365ee8c504a4ebb842bdd5a4b8.tar.gz markup-validator-fb6bce16cfff1b365ee8c504a4ebb842bdd5a4b8.tar.bz2 |
Enable warning for non-SGML Character Entity References on all documents.
XML-derivates enable them implicitly with -wxml; we now add -wnon-sgml-char-ref
by default and let XML options override it if necessary. Thanks to Thanasis
Kinias <tkinias@optimalco.com> for the catch and Matthias Clasen for finally
documenting the individual XML warnings that James Clark never bothered with.
-rwxr-xr-x | httpd/cgi-bin/check | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check index 939cdd7..f0d04e9 100755 --- a/httpd/cgi-bin/check +++ b/httpd/cgi-bin/check @@ -9,7 +9,7 @@ # This source code is available under the license at: # http://www.w3.org/Consortium/Legal/copyright-software # -# $Id: check,v 1.151 2001-07-18 22:08:39 link Exp $ +# $Id: check,v 1.152 2001-07-19 03:16:14 link Exp $ # # We need Perl 5.004. @@ -80,9 +80,9 @@ my $element_ref = 'http://www.htmlhelp.com/reference/html40/'; # # Strings -$VERSION = q$Revision: 1.151 $; +$VERSION = q$Revision: 1.152 $; $VERSION =~ s/Revision: ([\d\.]+) /$1/; -$DATE = q$Date: 2001-07-18 22:08:39 $; +$DATE = q$Date: 2001-07-19 03:16:14 $; $MAINTAINER = 'gerald@w3.org'; $NOTICE = ''; # "<p><strong>Note: This service will be ...</strong>"; @@ -473,7 +473,7 @@ EOF } } -my $xmlflags = ''; +my $xmlflags = '-wnon-sgml-char-ref'; my $catalog = $sgmlstuff . '/catalog'; if ($File->{Type} eq 'xhtml') { |