diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2014-04-02 22:27:29 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2014-04-02 22:27:29 +0200 |
commit | 8d0e746ed09cc02bb0afb5a0bd41419a220c54b6 (patch) | |
tree | db5c7212b792946f44adf5657d0b9d873c9f566b | |
parent | def9b146d3f154a9fdd5ca147c612aba801dd6b9 (diff) |
xml: fix cdata parsing, disable markup declaration parsing for now
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
-rw-r--r-- | xml.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 } } } |