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:

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

With reproduction code here:

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

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