From 8d0e746ed09cc02bb0afb5a0bd41419a220c54b6 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Wed, 2 Apr 2014 22:27:29 +0200 Subject: xml: fix cdata parsing, disable markup declaration parsing for now Signed-off-by: Hiltjo Posthuma --- xml.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xml.c b/xml.c index d223625..88b2e95 100644 --- a/xml.c +++ b/xml.c @@ -223,9 +223,12 @@ xmlparser_parse(XMLParser *x) { x->data[5] == 'A' && x->data[6] == '[') { /* cdata */ xmlparser_parsecdata(x); break; + #if 0 } else { + /* TODO ? */ /* markup declaration section */ while((c = xmlparser_getnext(x)) != EOF && c != ']'); + #endif } } } -- cgit v1.2.3