version 1.29, 1998/11/11 20:07:55
|
version 1.30, 1998/11/12 02:36:16
|
Line 427 xmlStringLenGetNodeList(xmlDocPtr doc, c
|
Line 427 xmlStringLenGetNodeList(xmlDocPtr doc, c
|
* Create a new REFERENCE_REF node |
* Create a new REFERENCE_REF node |
*/ |
*/ |
node = xmlNewReference(doc, val); |
node = xmlNewReference(doc, val); |
if (node == NULL) return(ret); |
if (node == NULL) { |
|
if (val != NULL) free(val); |
|
return(ret); |
|
} |
if (last == NULL) |
if (last == NULL) |
last = ret = node; |
last = ret = node; |
else { |
else { |
Line 534 xmlStringGetNodeList(xmlDocPtr doc, cons
|
Line 537 xmlStringGetNodeList(xmlDocPtr doc, cons
|
/* |
/* |
* Create a new REFERENCE_REF node |
* Create a new REFERENCE_REF node |
*/ |
*/ |
val = xmlStrndup(q, cur - q); |
|
node = xmlNewReference(doc, val); |
node = xmlNewReference(doc, val); |
if (node == NULL) return(ret); |
if (node == NULL) { |
|
if (val != NULL) free(val); |
|
return(ret); |
|
} |
if (last == NULL) |
if (last == NULL) |
last = ret = node; |
last = ret = node; |
else { |
else { |