improve comment: uppercase cdata -> CDATA
This commit is contained in:
parent
411f5e83c3
commit
60e402d0f2
2
xml.c
2
xml.c
|
@ -292,7 +292,7 @@ xml_parse(XMLParser *x)
|
|||
if ((c = GETNEXT()) == EOF)
|
||||
return;
|
||||
|
||||
if (c == '!') { /* cdata and comments */
|
||||
if (c == '!') { /* CDATA and comments */
|
||||
for (tagdatalen = 0; (c = GETNEXT()) != EOF;) {
|
||||
/* NOTE: sizeof(x->data) must be at least sizeof("[CDATA[") */
|
||||
if (tagdatalen <= sizeof("[CDATA[") - 1)
|
||||
|
|
Loading…
Reference in New Issue