// return-via-reference tag should be left alone␊ |
␉}␊ |
␉/***** dict ****/␊ |
␉else if (!strcmp(tagName, kXMLTagDict))␊ |
␉else if (!strncmp(tagName, kXMLTagDict, sizeof(kXMLTagDict)))␊ |
␉{␊ |
␉␉length = ParseTagList(buffer + pos, tag, kTagTypeDict, 0);␊ |
␉}␊ |
|
␉␉length = ParseTagList(buffer + pos, tag, kTagTypeDict, 0);␊ |
␉}␊ |
␉/***** key ****/␊ |
␉else if (!strcmp(tagName, kXMLTagKey))␊ |
␉else if (!strncmp(tagName, kXMLTagKey, sizeof(kXMLTagKey)))␊ |
␉{␊ |
␉␉length = ParseTagKey(buffer + pos, tag);␊ |
␉}␊ |
␊ |
␉/***** string ****/␊ |
␉else if (!strcmp(tagName, kXMLTagString))␊ |
␉else if (!strncmp(tagName, kXMLTagString, sizeof(kXMLTagString)))␊ |
␉{␊ |
␉␉length = ParseTagString(buffer + pos, tag);␊ |
␉}␊ |
|
␉}␊ |
␊ |
␉/***** integer ****/␊ |
␉else if (!strcmp(tagName, kXMLTagInteger))␊ |
␉else if (!strncmp(tagName, kXMLTagInteger, sizeof(kXMLTagInteger)))␊ |
␉{␊ |
␉␉length = ParseTagInteger(buffer + pos, tag);␊ |
␉}␊ |
|
␊ |
␊ |
␉/***** false ****/␊ |
␉else if (!strcmp(tagName, kXMLTagFalse))␊ |
␉else if (!strncmp(tagName, kXMLTagFalse, sizeof(kXMLTagFalse)))␊ |
␉{␊ |
␉␉length = ParseTagBoolean(buffer + pos, tag, kTagTypeFalse);␊ |
␉}␊ |
␊ |
␉/***** true ****/␊ |
␉else if (!strcmp(tagName, kXMLTagTrue))␊ |
␉else if (!strncmp(tagName, kXMLTagTrue, sizeof(kXMLTagTrue)))␊ |
␉{␊ |
␉␉length = ParseTagBoolean(buffer + pos, tag, kTagTypeTrue);␊ |
␉}␊ |
|
␊ |
␊ |
␉/***** data ****/␊ |
␉else if (!strcmp(tagName, kXMLTagData))␊ |
␉else if (!strncmp(tagName, kXMLTagData, sizeof(kXMLTagData)))␊ |
␉{␊ |
␉␉length = ParseTagData(buffer + pos, tag);␊ |
␉}␊ |
|
␉{␊ |
␉␉length = ParseTagData(buffer + pos, tag);␊ |
␉}␊ |
␉else if (!strcmp(tagName, kXMLTagDate))␊ |
␊ |
␉else if (!strncmp(tagName, kXMLTagDate, sizeof(kXMLTagDate)))␊ |
␉{␊ |
␉␉length = ParseTagDate(buffer + pos, tag);␊ |
␉}␊ |
|
␉else if (!strncmp(tagName, kXMLTagDate " ", strlen(kXMLTagDate " ")))␊ |
␉{␊ |
␉␉length = ParseTagDate(buffer + pos, tag);␊ |
␉}␉/***** array ****/␊ |
␉else if (!strcmp(tagName, kXMLTagArray))␊ |
␉}␊ |
␉/***** array ****/␊ |
␉else if (!strncmp(tagName, kXMLTagArray, sizeof(kXMLTagArray) ))␊ |
␉{␊ |
␉␉length = ParseTagList(buffer + pos, tag, kTagTypeArray, 0);␊ |
␉}␊ |
|
␉{␊ |
␉␉length = ParseTagList(buffer + pos, tag, kTagTypeArray, 0);␊ |
␉}␊ |
␉else if (!strcmp(tagName, kXMLTagArray "/"))␊ |
␉else if (!strncmp(tagName, kXMLTagArray "/", strlen(kXMLTagArray "/")))␊ |
␉{␊ |
␉␉length = ParseTagList(buffer + pos, tag, kTagTypeArray, 1);␊ |
␉}␊ |