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.
In reply to Re: HTML::TreeBuilder, HTML::Element, as_XML()
by Jenda
in thread HTML::TreeBuilder, HTML::Element, as_XML()
by AlexTape
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |