Home | History | Annotate | Download | only in libxml2

Lines Matching refs:fprintf

144             fprintf(ctxt->output, "%s", &ctxt->shift[100 - 2 * ctxt->depth]);
146 fprintf(ctxt->output, "%s", ctxt->shift);
430 fprintf(ctxt->output, "(NULL)");
439 fprintf(ctxt->output, "#%X", str[i]);
442 fprintf(ctxt->output, "...");
452 fprintf(ctxt->output, "DTD node is NULL\n");
463 fprintf(ctxt->output, "DTD(%s)", (char *) dtd->name);
465 fprintf(ctxt->output, "DTD");
467 fprintf(ctxt->output, ", PUBLIC %s", (char *) dtd->ExternalID);
469 fprintf(ctxt->output, ", SYSTEM %s", (char *) dtd->SystemID);
470 fprintf(ctxt->output, "\n");
485 fprintf(ctxt->output, "Attribute declaration is NULL\n");
495 fprintf(ctxt->output, "ATTRDECL(%s)", (char *) attr->name);
501 fprintf(ctxt->output, " for %s", (char *) attr->elem);
508 fprintf(ctxt->output, " CDATA");
511 fprintf(ctxt->output, " ID");
514 fprintf(ctxt->output, " IDREF");
517 fprintf(ctxt->output, " IDREFS");
520 fprintf(ctxt->output, " ENTITY");
523 fprintf(ctxt->output, " ENTITIES");
526 fprintf(ctxt->output, " NMTOKEN");
529 fprintf(ctxt->output, " NMTOKENS");
532 fprintf(ctxt->output, " ENUMERATION");
535 fprintf(ctxt->output, " NOTATION ");
544 fprintf(ctxt->output, "|%s", (char *) cur->name);
546 fprintf(ctxt->output, " (%s", (char *) cur->name);
552 fprintf(ctxt->output, ")");
554 fprintf(ctxt->output, "...)");
560 fprintf(ctxt->output, " REQUIRED");
563 fprintf(ctxt->output, " IMPLIED");
566 fprintf(ctxt->output, " FIXED");
570 fprintf(ctxt->output, "\"");
572 fprintf(ctxt->output, "\"");
574 fprintf(ctxt->output, "\n");
590 fprintf(ctxt->output, "Element declaration is NULL\n");
600 fprintf(ctxt->output, "ELEMDECL(");
602 fprintf(ctxt->output, ")");
610 fprintf(ctxt->output, ", UNDEFINED");
613 fprintf(ctxt->output, ", EMPTY");
616 fprintf(ctxt->output, ", ANY");
619 fprintf(ctxt->output, ", MIXED ");
622 fprintf(ctxt->output, ", MIXED ");
631 fprintf(ctxt->output, "%s", buf);
633 fprintf(ctxt->output, "\n");
649 fprintf(ctxt->output, "Entity declaration is NULL\n");
659 fprintf(ctxt->output, "ENTITYDECL(");
661 fprintf(ctxt->output, ")");
669 fprintf(ctxt->output, ", internal\n");
672 fprintf(ctxt->output, ", external parsed\n");
675 fprintf(ctxt->output, ", unparsed\n");
678 fprintf(ctxt->output, ", parameter\n");
681 fprintf(ctxt->output, ", external parameter\n");
684 fprintf(ctxt->output, ", predefined\n");
689 fprintf(ctxt->output, " ExternalID=%s\n",
694 fprintf(ctxt->output, " SystemID=%s\n",
699 fprintf(ctxt->output, " URI=%s\n", (char *) ent->URI);
703 fprintf(ctxt->output, " content=");
705 fprintf(ctxt->output, "\n");
722 fprintf(ctxt->output, "namespace node is NULL\n");
741 fprintf(ctxt->output, "namespace %s href=",
744 fprintf(ctxt->output, "default namespace href=");
747 fprintf(ctxt->output, "\n");
768 fprintf(ctxt->output, "Entity is NULL\n");
774 fprintf(ctxt->output, "INTERNAL_GENERAL_ENTITY ");
777 fprintf(ctxt->output, "EXTERNAL_GENERAL_PARSED_ENTITY ");
780 fprintf(ctxt->output, "EXTERNAL_GENERAL_UNPARSED_ENTITY ");
783 fprintf(ctxt->output, "INTERNAL_PARAMETER_ENTITY ");
786 fprintf(ctxt->output, "EXTERNAL_PARAMETER_ENTITY ");
789 fprintf(ctxt->output, "ENTITY_%d ! ", (int) ent->etype);
791 fprintf(ctxt->output, "%s\n", ent->name);
794 fprintf(ctxt->output, "ExternalID=%s\n",
799 fprintf(ctxt->output, "SystemID=%s\n", (char *) ent->SystemID);
803 fprintf(ctxt->output, "URI=%s\n", (char *) ent->URI);
807 fprintf(ctxt->output, "content=");
809 fprintf(ctxt->output, "\n");
829 fprintf(ctxt->output, "Attr is NULL");
833 fprintf(ctxt->output, "ATTRIBUTE ");
835 fprintf(ctxt->output, "\n");
883 fprintf(ctxt->output, "node is NULL\n");
893 fprintf(ctxt->output, "ELEMENT ");
896 fprintf(ctxt->output, ":");
899 fprintf(ctxt->output, "\n");
905 fprintf(ctxt->output, "Error, ATTRIBUTE found here\n");
912 fprintf(ctxt->output, "TEXT no enc");
914 fprintf(ctxt->output, "TEXT");
917 fprintf(ctxt->output, " compact\n");
919 fprintf(ctxt->output, " interned\n");
921 fprintf(ctxt->output, "\n");
923 fprintf(ctxt->output, "\n");
929 fprintf(ctxt->output, "CDATA_SECTION\n");
935 fprintf(ctxt->output, "ENTITY_REF(%s)\n",
942 fprintf(ctxt->output, "ENTITY\n");
948 fprintf(ctxt->output, "PI %s\n", (char *) node->name);
954 fprintf(ctxt->output, "COMMENT\n");
962 fprintf(ctxt->output, "Error, DOCUMENT found here\n");
968 fprintf(ctxt->output, "DOCUMENT_TYPE\n");
974 fprintf(ctxt->output, "DOCUMENT_FRAG\n");
980 fprintf(ctxt->output, "NOTATION\n");
1001 fprintf(ctxt->output, "INCLUDE START\n");
1007 fprintf(ctxt->output, "INCLUDE END\n");
1021 fprintf(ctxt->output, "PBM: doc == NULL !!!\n");
1032 fprintf(ctxt->output, "content=");
1034 fprintf(ctxt->output, "\n");
1066 fprintf(ctxt->output, "node is NULL\n");
1101 fprintf(ctxt->output, "DOCUMENT == NULL !\n");
1141 fprintf(ctxt->output, "DOCUMENT\n");
1145 fprintf(ctxt->output, "HTML DOCUMENT\n");
1179 fprintf(ctxt->output, "name=");
1181 fprintf(ctxt->output, "\n");
1184 fprintf(ctxt->output, "version=");
1186 fprintf(ctxt->output, "\n");
1189 fprintf(ctxt->output, "encoding=");
1191 fprintf(ctxt->output, "\n");
1194 fprintf(ctxt->output, "URL=");
1196 fprintf(ctxt->output, "\n");
1199 fprintf(ctxt->output, "standalone=true\n");
1217 fprintf(ctxt->output, "DOCUMENT == NULL !\n");
1235 fprintf(ctxt->output, "Entity is NULL");
1239 fprintf(ctxt->output, "%s : ", (char *) cur->name);
1242 fprintf(ctxt->output, "INTERNAL GENERAL, ");
1245 fprintf(ctxt->output, "EXTERNAL PARSED, ");
1248 fprintf(ctxt->output, "EXTERNAL UNPARSED, ");
1251 fprintf(ctxt->output, "INTERNAL PARAMETER, ");
1254 fprintf(ctxt->output, "EXTERNAL PARAMETER, ");
1261 fprintf(ctxt->output, "ID \"%s\"", (char *) cur->ExternalID);
1263 fprintf(ctxt->output, "SYSTEM \"%s\"", (char *) cur->SystemID);
1265 fprintf(ctxt->output, "\n orig \"%s\"", (char *) cur->orig);
1267 fprintf(ctxt->output, "\n content \"%s\"",
1269 fprintf(ctxt->output, "\n");
1290 fprintf(ctxt->output, "Entities in internal subset\n");
1294 fprintf(ctxt->output, "No entities in internal subset\n");
1300 fprintf(ctxt->output, "Entities in external subset\n");
1304 fprintf(ctxt->output, "No entities in external subset\n");
1319 fprintf(ctxt->output, "DTD is NULL\n");
1324 fprintf(ctxt->output, " DTD is empty\n");
1353 fprintf(output, "(NULL)");
1362 fprintf(output, "#%X", str[i]);
1365 fprintf(output, "...");
1663 fprintf(output, "NULL\n");
1668 fprintf(output, "-");
1671 fprintf(output, "a");
1674 fprintf(output, "t");
1677 fprintf(output, "C");
1680 fprintf(output, "e");
1683 fprintf(output, "E");
1686 fprintf(output, "p");
1689 fprintf(output, "c");
1692 fprintf(output, "d");
1695 fprintf(output, "h");
1698 fprintf(output, "T");
1701 fprintf(output, "F");
1704 fprintf(output, "N");
1707 fprintf(output, "n");
1710 fprintf(output, "?");
1714 fprintf(output, "a");
1716 fprintf(output, "-");
1718 fprintf(output, "n");
1720 fprintf(output, "-");
1723 fprintf(output, " %8d ", xmlLsCountNode(node));
1728 fprintf(output, "%s", (const char *) node->name);
1732 fprintf(output, "%s", (const char *) node->name);
1743 fprintf(output, "%s", (const char *) node->name);
1747 fprintf(output, "%s", (const char *) node->name);
1751 fprintf(output, "%s", (const char *) node->name);
1769 fprintf(output, "default -> %s", (char *)ns->href);
1771 fprintf(output, "%s -> %s", (char *)ns->prefix,
1777 fprintf(output, "%s", (const char *) node->name);
1779 fprintf(output, "\n");
1904 fprintf(fp, "\n");
2008 fprintf(ctxt->output, "NULL\n");
2051 fprintf(ctxt->output, "NULL\n");
2058 fprintf(ctxt->output, " No base found !!!\n");
2060 fprintf(ctxt->output, "%s\n", base);
2123 fprintf(ctxt->output, "setns: prefix=[nsuri] required\n");
2138 fprintf(ctxt->output,"Error: unable to register NS with prefix=\"%s\" and href=\"%s\"\n", prefix, href);
2213 fprintf(ctxt->output, "%s : ", xmlGetNodePath(node));
2219 fprintf(ctxt->output, "%s : ", xmlGetNodePath(node->parent));
2278 fprintf(ctxt->output, "NULL\n");
2315 fprintf(ctxt->output, "NULL\n");
2319 fprintf(ctxt->output, "NULL\n");
2332 fprintf(ctxt->output, "failed to parse content\n");
2362 (xmlRelaxNGValidityErrorFunc) fprintf,
2363 (xmlRelaxNGValidityWarningFunc) fprintf,
2374 (xmlRelaxNGValidityErrorFunc) fprintf,
2375 (xmlRelaxNGValidityWarningFunc) fprintf,
2379 fprintf(stderr, "%s validates\n", sctxt->filename);
2381 fprintf(stderr, "%s fails to validate\n", sctxt->filename);
2383 fprintf(stderr, "%s validation generated an internal error\n",
2413 fprintf(ctxt->output, "NULL\n");
2434 fprintf(ctxt->output, "\n");
2467 fprintf(ctxt->output, "HTML support not compiled in\n");
2646 vctxt.error = (xmlValidityErrorFunc) fprintf;
2647 vctxt.warning = (xmlValidityWarningFunc) fprintf;
2695 fprintf(ctxt->output, "/\n");
2698 fprintf(ctxt->output, " ");
2699 fprintf(ctxt->output, "%s\n", node->name);
2893 fprintf(ctxt->output, "\tbase display XML base of the node\n");
2894 fprintf(ctxt->output, "\tsetbase URI change the XML base of the node\n");
2895 fprintf(ctxt->output, "\tbye leave shell\n");
2896 fprintf(ctxt->output, "\tcat [node] display node or current node\n");
2897 fprintf(ctxt->output, "\tcd [path] change directory to path or to root\n");
2898 fprintf(ctxt->output, "\tdir [path] dumps informations about the node (namespace, attributes, content)\n");
2899 fprintf(ctxt->output, "\tdu [path] show the structure of the subtree under path or the current node\n");
2900 fprintf(ctxt->output, "\texit leave shell\n");
2901 fprintf(ctxt->output, "\thelp display this help\n");
2902 fprintf(ctxt->output, "\tfree display memory usage\n");
2903 fprintf(ctxt->output, "\tload [name] load a new document with name\n");
2904 fprintf(ctxt->output, "\tls [path] list contents of path or the current directory\n");
2905 fprintf(ctxt->output, "\tset xml_fragment replace the current node content with the fragment parsed in context\n");
2907 fprintf(ctxt->output, "\txpath expr evaluate the XPath expression in that context and print the result\n");
2908 fprintf(ctxt->output, "\tsetns nsreg register a namespace to a prefix in the XPath evaluation context\n");
2909 fprintf(ctxt->output, "\t format for nsreg is: prefix=[nsuri] (i.e. prefix= unsets a prefix)\n");
2910 fprintf(ctxt->output, "\tsetrootns register all namespace found on the root element\n");
2911 fprintf(ctxt->output, "\t the default namespace if any uses 'defaultns' prefix\n");
2913 fprintf(ctxt->output, "\tpwd display current working directory\n");
2914 fprintf(ctxt->output, "\tquit leave shell\n");
2916 fprintf(ctxt->output, "\tsave [name] save this document to name or the original name\n");
2917 fprintf(ctxt->output, "\twrite [name] write the current node to the filename\n");
2920 fprintf(ctxt->output, "\tvalidate check the document for errors\n");
2923 fprintf(ctxt->output, "\trelaxng rng validate the document agaisnt the Relax-NG schemas\n");
2925 fprintf(ctxt->output, "\tgrep string search for a string in the subtree\n");
2961 fprintf(ctxt->output, "%s\n", dir);
3189 fprintf(ctxt->output, " -------\n");