| 499 | | if (!strcmp((char *)xmlTextReaderConstName(parser->reader), SML_ELEMENT_META) && \ |
|---|
| 500 | | xmlTextReaderNodeType(parser->reader) == XML_NODE_CLOSE) { |
|---|
| 501 | | break; |
|---|
| 502 | | } else if (xmlTextReaderNodeType(parser->reader) != XML_NODE_START) { |
|---|
| 503 | | smlErrorSet(error, SML_ERROR_GENERIC, "Not a start node"); |
|---|
| 504 | | goto error; |
|---|
| 505 | | } |
|---|
| 506 | | |
|---|
| 507 | | if (maxobjsize && !strcmp((char *)xmlTextReaderConstName(parser->reader), SML_ELEMENT_MAXOBJSIZE)) { |
|---|
| 508 | | if (!_smlXmlParserGetID(parser, maxobjsize, SML_ELEMENT_MAXOBJSIZE, error)) |
|---|
| 509 | | goto error; |
|---|
| 510 | | } else if (!strcmp((char *)xmlTextReaderConstName(parser->reader), SML_ELEMENT_MEM)) { |
|---|
| | 499 | if (!strcmp((char *)xmlTextReaderConstName(parser->reader), SML_ELEMENT_MEM)) { |
|---|
| | 505 | } |
|---|
| | 506 | |
|---|
| | 507 | if (!strcmp((char *)xmlTextReaderConstName(parser->reader), SML_ELEMENT_META) && \ |
|---|
| | 508 | xmlTextReaderNodeType(parser->reader) == XML_NODE_CLOSE) { |
|---|
| | 509 | break; |
|---|
| | 510 | } else if (xmlTextReaderNodeType(parser->reader) != XML_NODE_START) { |
|---|
| | 511 | smlErrorSet(error, SML_ERROR_GENERIC, "Not a start node"); |
|---|
| | 512 | goto error; |
|---|
| | 513 | } else if (maxobjsize && !strcmp((char *)xmlTextReaderConstName(parser->reader), SML_ELEMENT_MAXOBJSIZE)) { |
|---|
| | 514 | if (!_smlXmlParserGetID(parser, maxobjsize, SML_ELEMENT_MAXOBJSIZE, error)) |
|---|
| | 515 | goto error; |
|---|