[xml] problems saving HTML as XHTML



Hi!  I have an HTML document that contains some CDATA nodes.  When I
output the document using the save API, and force the document to
either XML or XHTML, the resulting output CDATA nodes look very
broken.

I've put together a short C program to reproduce the problem:

http://gist.github.com/304365

libxml2 seems to output three CDATA nodes where there was only one.
Any help would be much appreciated!

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



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