Skip to content

Commit ea87e08

Browse files
committed
Updating C SDK generation to go from using xmlParseMemory to xmlReadMemory.
1 parent 7cd8bf2 commit ea87e08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ds3-autogen-c/src/main/resources/templates/source-templates/internal_request_processors.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ static ds3_error* _get_request_xml_nodes(
3232
char* root_element_name) {
3333
xmlNodePtr root;
3434

35-
xmlDocPtr doc = xmlParseMemory((const char*) xml_blob->data, xml_blob->len);
35+
xmlDocPtr doc = xmlReadMemory((const char*) xml_blob->data, xml_blob->len, NULL, NULL, XML_PARSE_HUGE);
3636
if (doc == NULL) {
3737
char* message = g_strconcat("Failed to parse response document. The actual response is: ", xml_blob->data, NULL);
3838
g_byte_array_free(xml_blob, TRUE);

0 commit comments

Comments
 (0)