[xml] cdata problem

Hi, juste a little problem

when I write a simple C code (with libxml2 v2-2.6.19) :

 sprintf(vv, "<?xml version=\"1.0\" ?><TEST><![CDATA[%c]]></TEST>", 0x1 );

I get :
Entity : line 1: parser error : internal error
Extra content at the end of the document !?

I though I could write any kinf of characters in CDATA section !?


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