Skip Menu |

This queue is for tickets about the XML-Driver-HTML CPAN distribution.

Report information
The Basics
Id: 17074
Status: new
Priority: 0/
Queue: XML-Driver-HTML

People
Owner: Nobody in particular
Requestors: apalade [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.06
Fixed in: (no value)



Subject: Bug with correct XML syntax when transforming from HTML
Hello, I've been using your module to transform some HTML into XML and it seems to have a problem handling proper stand-alone tags such as <hr />. I have used the exact code you provided in html2xml except I've changed it to get input from a string and output to a string as well. The only problem I've encountered so far is with a HTML source that had a few <hr /> and <img ... /> tags in it. The conversion changed those tags into <hr /="/" /> and <img /="/" ... /> respectively. It only happened in the case of the well-formed tags (the output was fine for classic <hr> tags in the same page). I'm using perl 5.8.6 on a Fedora Core 4, 2.6.11-1.1369.FC4 machine. The module version I have used is 0.06. Thanks for a great module by the way. Keep up the good work! Alex