Blame TODO

Packit 16975c
TO-DO LIST FOR HTML::Tree
Packit 16975c
Packit 16975c
* Make more and better tests!  Regression and otherwise.
Packit 16975c
Packit 16975c
    './Build testcover' for the coverage details
Packit 16975c
Packit 16975c
* Make as_HTML emit the DOCTYPE declaration before <html...>
Packit 16975c
Packit 16975c
* Maybe reorganize the HTMLE::Element docs some time?
Packit 16975c
Packit 16975c
Packit 16975c
Packit 16975c
========================================================================
Packit 16975c
Packit 16975c
RT's
Packit 16975c
Packit 16975c
14212 	HTML::TreeBuilder generates text nodes in a strange encoding
Packit 16975c
Packit 16975c
	MOVE This is a bug in HTML::Entities, line 479, is encoding the Chinese
Packit 16975c
        characters. Adding the following code reveals this:
Packit 16975c
Packit 16975c
print(STDERR "1: ref = $$ref\n");
Packit 16975c
	$$ref =~ s/([^\n\r\t !\#\$%\(-;=?-~])/$char2entity{$1} || num_entity($1)/ge;
Packit 16975c
print(STDERR "2: ref = $$ref\n");
Packit 16975c
Packit 16975c
1: ref = This is a test 漢語
Packit 16975c
2: ref = This is a test 漢語
Packit 16975c
Packit 16975c
19724 	Can't distinguish among ending tags
Packit 16975c
Packit 16975c
	TRIAGE Where in the parser are the tokens handled? Suspect he'd have to use HTML::Parser directly.
Packit 16975c
Packit 16975c
24407 	

w/o a previous

ends the treebuild...

Packit 16975c
Packit 16975c
	TRIAGE Invalid HTML breaks parse.
Packit 16975c
Packit 16975c
26938 	as_XML doesn't encode enough characters, specifically CR and LF
Packit 16975c
Packit 16975c
	TRIAGE Perfectly valid to drop white space in an attibute.
Packit 16975c
Packit 16975c
27288 	as_HTML() for frameset html code produces implicit <body> tag
Packit 16975c
Packit 16975c
	CLOSE body is valid there. Needs to turn off implicit tags if he doesn't want them.
Packit 16975c
Packit 16975c
28404 	tests fail when PERL_UNICODE is set
Packit 16975c
Packit 16975c
	TRIAGE
Packit 16975c
Packit 16975c
33063 	Feature request: suppress output of implicit elements by as_HTML
Packit 16975c
Packit 16975c
	TRIAGE
Packit 16975c
Packit 16975c
33523 	Incorrect parsing of nested inline elements
Packit 16975c
Packit 16975c
	CLOSE It's invalid to nest entities that way.
Packit 16975c
Packit 16975c
33961 	Allow optional_end_tags to be set globally
Packit 16975c
Packit 16975c
	CLOSE This is already possible.
Packit 16975c
Packit 16975c
35948 	Unhelpful message if I pass an arbitrary object in content.
Packit 16975c
Packit 16975c
	TRIAGE Suggest fix breaks sub classing, need a better fix.
Packit 16975c
Packit 16975c
37537 	Implementation of as_HTML makes it effectively impossible to subclass
Packit 16975c
Packit 16975c
	TRIAGE
Packit 16975c
Packit 16975c
38398 	TreeBuilder can broke tree with correct nesting
Packit 16975c
Packit 16975c
	TRIAGE invalid HTML breaks parsing.
Packit 16975c
Packit 16975c
41945 	cpan(1) install fails on OS X
Packit 16975c
Packit 16975c
	Maybe FIXED, #! line was odd.
Packit 16975c
Packit 16975c
42209 	The word "value" appears if you supply value => undef to an input of type "text"
Packit 16975c
Packit 16975c
	TRIAGE This is because of the line '$val = $attr unless defined $val;'
Packit 16975c
	Guess this is to catch attributes that don't have values?
Packit 16975c
Packit 16975c
45069 	test failure
Packit 16975c
Packit 16975c
	TRIAGE Can't duplicate.
Packit 16975c
Packit 16975c
46219 	Debugger dies on parse()
Packit 16975c
Packit 16975c
	TRIAGE Can't duplicate.
Packit 16975c
Packit 16975c
48344 	Documentation for tree/element traversal is conflicting/confusing
Packit 16975c
Packit 16975c
	TRIAGE
Packit 16975c
Packit 16975c
53658 	HTML::Element::as_text collapses internal whitespace
Packit 16975c
Packit 16975c
	TRIAGE The white space is being consolidated somewhere, HTML::Parser?,
Packit 16975c
        so there is only 1 space by output time.
Packit 16975c
Packit 16975c
53926 	Bug in HTML::TreeBuilder - <link> inside 
    not parsed
Packit 16975c
Packit 16975c
	TRIAGE Invalid HTML breaks parsing.
Packit 16975c