validating http://www.xyzzy.claranet.de/home/test/res.html through SPO, and
calling split_message() on one message received, SPO croaks with following
message:
| Unexpected error message format ((invalid
location):47239440633056.2322:W: URL | Redirected to
| "http://www.xyzzy.claranet.de/w3c/html2070.dtd"
| ) at /usr/local/lib/perl/5.8.8/SGML/Parser/OpenSP.pm line 45
Which seems to point to the following regexp :
my @comp = split(/(?:^|\n)(?:<[^>]+>)?\Q$name\E:(\d+):(\d+):\s*/,
$mess);
in SGML::Parser::OpenSP::split_message
I am not familiar enough with OpenSP's API to know whether the bug is in
OpenSP's message not following its recommended formats, or if the regexp
should be amended to be more flexible.
More info:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=4516
http://lists.w3.org/Archives/Public/www-validator/2007Apr/0118.html
Nobody/Anonymous
None
None
Public
|
Date: 2008-06-15 18:47
|
|
Date: 2008-06-15 01:03
|
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use