1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

fixed Red Hat bug #86118 use libxml2.spec instead of libxml.spec fixed

* configure.in Makefile.am: fixed Red Hat bug #86118 use libxml2.spec
  instead of libxml.spec
* relaxng.c: fixed some of the error reporting excessive
  verbosity
* catalog.c debugXML.c valid.c xmlreader.c xmlschemas.c xpath.c
  xmlschemastypes.c: removed some warnings from gcc
* doc/libxml2-api.xml: rebuilt
Daniel
This commit is contained in:
Daniel Veillard
2003-03-21 21:22:48 +00:00
parent e063f4829d
commit 580ced8ee2
12 changed files with 145 additions and 23 deletions

View File

@ -1200,11 +1200,11 @@ xmlLsOneNode(FILE *output, xmlNodePtr node) {
switch (node->type) {
case XML_ELEMENT_NODE:
if (node->name != NULL)
fprintf(output, "%s", node->name);
fprintf(output, "%s", (const char *) node->name);
break;
case XML_ATTRIBUTE_NODE:
if (node->name != NULL)
fprintf(output, "%s", node->name);
fprintf(output, "%s", (const char *) node->name);
break;
case XML_TEXT_NODE:
if (node->content != NULL) {
@ -1215,15 +1215,15 @@ xmlLsOneNode(FILE *output, xmlNodePtr node) {
break;
case XML_ENTITY_REF_NODE:
if (node->name != NULL)
fprintf(output, "%s", node->name);
fprintf(output, "%s", (const char *) node->name);
break;
case XML_ENTITY_NODE:
if (node->name != NULL)
fprintf(output, "%s", node->name);
fprintf(output, "%s", (const char *) node->name);
break;
case XML_PI_NODE:
if (node->name != NULL)
fprintf(output, "%s", node->name);
fprintf(output, "%s", (const char *) node->name);
break;
case XML_COMMENT_NODE:
break;
@ -1248,7 +1248,7 @@ xmlLsOneNode(FILE *output, xmlNodePtr node) {
}
default:
if (node->name != NULL)
fprintf(output, "%s", node->name);
fprintf(output, "%s", (const char *) node->name);
}
fprintf(output, "\n");
}