#284: errors from Test::HTML::Content about HTML parser error
------------------------+---------------------------------------------------
Reporter: bob | Owner: bob
Type: defect | Status: new
Priority: normal | Milestone:
Component: openguides | Version: svn
Severity: normal | Keywords:
------------------------+---------------------------------------------------
t/90_css_category_locale_classes.t .. 1/3 HTML parser error : Misplaced
DOCTYPE declaration
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
^
HTML parser error : htmlParseStartTag: misplaced <html> tag
<html lang="en">
^
HTML parser error : htmlParseStartTag: misplaced <head> tag
<head
profile="http://a9.com/-/spec/opensearch/1.1/">
^
HTML parser error : htmlParseStartTag: misplaced <body> tag
<body>
these are coming from XML::LibXML
Test::HTML::Content needs patching to suppress the errors from XML::LibXML
https://github.com/rjw1/Test-HTML-
Content/commit/f17d6cf7579a34af7facfa199ff866646f6e97e8
is a rough and ready patch. Probably needs more to make it submittable.
Should probably be configurable
To install under perl 5.14 will also need the patch from
https://rt.cpan.org/Public/Bug/Display.html?id=70099
Needs a modern XML::LibXML because of
https://rt.cpan.org/Public/Bug/Display.html?id=58024
--
Ticket URL: <http://dev.openguides.org/ticket/284>
OpenGuides <http://openguides.org/>
The OpenGuides city guides project