in reply to HTML::TreeBuilder, HTML::Element, as_XML()
IMnsHO, there is a bug in the _valid_name subroutine deep in HTML::Element. There should be
notreturn (0) unless ( $attr =~ /^$START_CHAR$NAME_CHAR*$/ );
return (0) unless ( $attr =~ /^$START_CHAR$NAME_CHAR+$/ );
The XML specs say that
Name ::= NameStartChar (NameChar)*
Jenda
Enoch was right!
Enjoy the last years of Rome.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: HTML::TreeBuilder, HTML::Element, as_XML()
by Anonymous Monk on May 23, 2013 at 16:41 UTC | |
by Jenda (Abbot) on May 23, 2013 at 16:46 UTC |