Re: [xml] Bug when dumping meta tag nodes with the xmlSaveToIO api



On Fri, Aug 28, 2009 at 11:53:39AM -0700, Aaron Patterson wrote:
Hi,

I seem to have found a bug when dumping meta tags from parsed HTML
documents.  I've filed a ticket here:

http://bugzilla.gnome.org/show_bug.cgi?id=593421

With reproduction code here:

http://gist.github.com/177141

Basically, if you parse an HTML file, then find the meta tag, and as
xmlSaveToIO to dump that node, you'll get strange output like this:

< ="" content=""></>

When I would expect the output to be more like this:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

  Yeah, that's a bug in releases up to 2.7.3, but fixed in git and
hence in the upcoming release.

   Thanks for the report,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]