W3C home > Mailing lists > Public > www-validator-cvs@w3.org > March 2010

validator/httpd/cgi-bin check,1.769,1.770

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 04 Mar 2010 16:09:54 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1NnDcY-0001rD-Vv@lionel-hutz.w3.org>
Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv7121/httpd/cgi-bin

Modified Files:
	check 
Log Message:
Fix encoding modification for docs passed to the XML parser (0.8.6 regression).

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.769
retrieving revision 1.770
diff -u -d -r1.769 -r1.770
--- check	3 Mar 2010 19:40:59 -0000	1.769
+++ check	4 Mar 2010 16:09:52 -0000	1.770
@@ -620,7 +620,7 @@
                (encoding${xmlws}*=${xmlws}*
                    (?:(["'])[A-Za-z][a-zA-Z0-9_-]+\3)
                )
-               ([^>].*\?>)
+               (.*?\?>)
            /$1encoding="UTF-8"$4/sox;
 
         # Is the document standalone?  Need to check with a regex because
Received on Thursday, 4 March 2010 16:09:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:19 GMT