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



On Sat, Sep 5, 2009 at 12:51 PM, Daniel Veillard<veillard redhat com> wrote:
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,

Yes, no problem.  Sorry, I should've tested against the git repo
before reporting the bug.  I will do so next time.  :-D

-- 
Aaron Patterson
http://tenderlovemaking.com/



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