summaryrefslogtreecommitdiff
path: root/xml.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2014-04-02 22:27:29 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2014-04-02 22:27:29 +0200
commit8d0e746ed09cc02bb0afb5a0bd41419a220c54b6 (patch)
treedb5c7212b792946f44adf5657d0b9d873c9f566b /xml.c
parentdef9b146d3f154a9fdd5ca147c612aba801dd6b9 (diff)
xml: fix cdata parsing, disable markup declaration parsing for now
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Diffstat (limited to 'xml.c')
-rw-r--r--xml.c3
1 files changed, 3 insertions, 0 deletions
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
}
}
}