[xml] empty CDATA sections



Hi folks.

As you may know, WebKit currently uses libxml2 to handle XML documents, including XHTML. I recently discovered that a number of Ian Hickson's test cases that work fine in other browsers fail in browsers based on WebKit. That's because libxml2 discards empty CDATA sections. I filed this bug:

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

And Mark Rowe attached a patch that resolves the issue.

Daniel pointed out that some clients of libxml2 may be depending on the current behavior; some may see this as a feature rather than a bug.

Does anyone have any comments, objections to this change perhaps or support for the change?

    -- Darin




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