commit 8d0e746ed09cc02bb0afb5a0bd41419a220c54b6
parent def9b146d3f154a9fdd5ca147c612aba801dd6b9
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 2 Apr 2014 22:27:29 +0200
xml: fix cdata parsing, disable markup declaration parsing for now
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git 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
}
}
}