mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-30 22:43:14 +03:00
investigating xmlNodeGetContent() on namespace nodes and removed a few
* tree.c: investigating xmlNodeGetContent() on namespace nodes and removed a few warnings Daniel
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Mon Oct 14 17:37:32 CEST 2002 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
|
* tree.c: investigating xmlNodeGetContent() on namespace nodes
|
||||||
|
and removed a few warnings
|
||||||
|
|
||||||
Mon Oct 14 13:12:55 CEST 2002 Daniel Veillard <daniel@veillard.com>
|
Mon Oct 14 13:12:55 CEST 2002 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* parser.c: Christian Glahn found a small bug in the push parser.
|
* parser.c: Christian Glahn found a small bug in the push parser.
|
||||||
|
10
tree.c
10
tree.c
@ -3438,7 +3438,7 @@ xmlGetNodePath(xmlNodePtr node)
|
|||||||
xmlChar *buffer = NULL, *temp;
|
xmlChar *buffer = NULL, *temp;
|
||||||
size_t buf_len;
|
size_t buf_len;
|
||||||
xmlChar *buf;
|
xmlChar *buf;
|
||||||
char *sep;
|
const char *sep;
|
||||||
const char *name;
|
const char *name;
|
||||||
char nametemp[100];
|
char nametemp[100];
|
||||||
int occur = 0;
|
int occur = 0;
|
||||||
@ -4091,8 +4091,12 @@ xmlNodeGetContent(xmlNodePtr cur)
|
|||||||
case XML_DOCB_DOCUMENT_NODE:
|
case XML_DOCB_DOCUMENT_NODE:
|
||||||
#endif
|
#endif
|
||||||
return (NULL);
|
return (NULL);
|
||||||
case XML_NAMESPACE_DECL:
|
case XML_NAMESPACE_DECL: {
|
||||||
return (xmlStrdup(((xmlNsPtr) cur)->href));
|
xmlChar *tmp;
|
||||||
|
|
||||||
|
tmp = xmlStrdup(((xmlNsPtr) cur)->href);
|
||||||
|
return (tmp);
|
||||||
|
}
|
||||||
case XML_ELEMENT_DECL:
|
case XML_ELEMENT_DECL:
|
||||||
/* TODO !!! */
|
/* TODO !!! */
|
||||||
return (NULL);
|
return (NULL);
|
||||||
|
Reference in New Issue
Block a user