in reply to Re^3: Testing generated HTML
in thread [Solved] Testing generated HTML
Unfortunately, libxml2's HTML Parser doesn't support HTML5. If you want to use XML::LibXML, you need to switch to XHTML.
Another solution might be to switch to Polyglot Markup. This is valid HTML5 which is also well-formed XML, so you get the best of both worlds. It was all the rage a few years back, but you don't seem to see it mentioned much nowadays
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Testing generated HTML
by davies (Monsignor) on Feb 22, 2016 at 14:01 UTC | |
by Myrddin Wyllt (Hermit) on Feb 22, 2016 at 16:35 UTC |