Lines Matching full:output
33 FILE *output; /* the output file */ member
55 ctxt->output = stdout; in xmlCtxtDumpInitCtxt()
133 if ((ctxt->output != NULL) && (ctxt->depth > 0)) { in xmlCtxtDumpSpaces()
135 fprintf(ctxt->output, "%s", &ctxt->shift[100 - 2 * ctxt->depth]); in xmlCtxtDumpSpaces()
137 fprintf(ctxt->output, "%s", ctxt->shift); in xmlCtxtDumpSpaces()
152 fprintf(ctxt->output, "ERROR %d: %s", error, msg); in xmlDebugErr()
158 fprintf(ctxt->output, "ERROR %d: ", error); in xmlDebugErr2()
159 fprintf(ctxt->output, msg, extra); in xmlDebugErr2()
165 fprintf(ctxt->output, "ERROR %d: ", error); in xmlDebugErr3()
166 fprintf(ctxt->output, msg, extra); in xmlDebugErr3()
401 fprintf(ctxt->output, "(NULL)"); in xmlCtxtDumpString()
408 fputc(' ', ctxt->output); in xmlCtxtDumpString()
410 fprintf(ctxt->output, "#%X", str[i]); in xmlCtxtDumpString()
412 fputc(str[i], ctxt->output); in xmlCtxtDumpString()
413 fprintf(ctxt->output, "..."); in xmlCtxtDumpString()
423 fprintf(ctxt->output, "DTD node is NULL\n"); in xmlCtxtDumpDtdNode()
434 fprintf(ctxt->output, "DTD(%s)", (char *) dtd->name); in xmlCtxtDumpDtdNode()
436 fprintf(ctxt->output, "DTD"); in xmlCtxtDumpDtdNode()
438 fprintf(ctxt->output, ", PUBLIC %s", (char *) dtd->ExternalID); in xmlCtxtDumpDtdNode()
440 fprintf(ctxt->output, ", SYSTEM %s", (char *) dtd->SystemID); in xmlCtxtDumpDtdNode()
441 fprintf(ctxt->output, "\n"); in xmlCtxtDumpDtdNode()
456 fprintf(ctxt->output, "Attribute declaration is NULL\n"); in xmlCtxtDumpAttrDecl()
466 fprintf(ctxt->output, "ATTRDECL(%s)", (char *) attr->name); in xmlCtxtDumpAttrDecl()
472 fprintf(ctxt->output, " for %s", (char *) attr->elem); in xmlCtxtDumpAttrDecl()
479 fprintf(ctxt->output, " CDATA"); in xmlCtxtDumpAttrDecl()
482 fprintf(ctxt->output, " ID"); in xmlCtxtDumpAttrDecl()
485 fprintf(ctxt->output, " IDREF"); in xmlCtxtDumpAttrDecl()
488 fprintf(ctxt->output, " IDREFS"); in xmlCtxtDumpAttrDecl()
491 fprintf(ctxt->output, " ENTITY"); in xmlCtxtDumpAttrDecl()
494 fprintf(ctxt->output, " ENTITIES"); in xmlCtxtDumpAttrDecl()
497 fprintf(ctxt->output, " NMTOKEN"); in xmlCtxtDumpAttrDecl()
500 fprintf(ctxt->output, " NMTOKENS"); in xmlCtxtDumpAttrDecl()
503 fprintf(ctxt->output, " ENUMERATION"); in xmlCtxtDumpAttrDecl()
506 fprintf(ctxt->output, " NOTATION "); in xmlCtxtDumpAttrDecl()
515 fprintf(ctxt->output, "|%s", (char *) cur->name); in xmlCtxtDumpAttrDecl()
517 fprintf(ctxt->output, " (%s", (char *) cur->name); in xmlCtxtDumpAttrDecl()
523 fprintf(ctxt->output, ")"); in xmlCtxtDumpAttrDecl()
525 fprintf(ctxt->output, "...)"); in xmlCtxtDumpAttrDecl()
531 fprintf(ctxt->output, " REQUIRED"); in xmlCtxtDumpAttrDecl()
534 fprintf(ctxt->output, " IMPLIED"); in xmlCtxtDumpAttrDecl()
537 fprintf(ctxt->output, " FIXED"); in xmlCtxtDumpAttrDecl()
541 fprintf(ctxt->output, "\""); in xmlCtxtDumpAttrDecl()
543 fprintf(ctxt->output, "\""); in xmlCtxtDumpAttrDecl()
545 fprintf(ctxt->output, "\n"); in xmlCtxtDumpAttrDecl()
561 fprintf(ctxt->output, "Element declaration is NULL\n"); in xmlCtxtDumpElemDecl()
571 fprintf(ctxt->output, "ELEMDECL("); in xmlCtxtDumpElemDecl()
573 fprintf(ctxt->output, ")"); in xmlCtxtDumpElemDecl()
581 fprintf(ctxt->output, ", UNDEFINED"); in xmlCtxtDumpElemDecl()
584 fprintf(ctxt->output, ", EMPTY"); in xmlCtxtDumpElemDecl()
587 fprintf(ctxt->output, ", ANY"); in xmlCtxtDumpElemDecl()
590 fprintf(ctxt->output, ", MIXED "); in xmlCtxtDumpElemDecl()
593 fprintf(ctxt->output, ", MIXED "); in xmlCtxtDumpElemDecl()
602 fprintf(ctxt->output, "%s", buf); in xmlCtxtDumpElemDecl()
604 fprintf(ctxt->output, "\n"); in xmlCtxtDumpElemDecl()
620 fprintf(ctxt->output, "Entity declaration is NULL\n"); in xmlCtxtDumpEntityDecl()
630 fprintf(ctxt->output, "ENTITYDECL("); in xmlCtxtDumpEntityDecl()
632 fprintf(ctxt->output, ")"); in xmlCtxtDumpEntityDecl()
640 fprintf(ctxt->output, ", internal\n"); in xmlCtxtDumpEntityDecl()
643 fprintf(ctxt->output, ", external parsed\n"); in xmlCtxtDumpEntityDecl()
646 fprintf(ctxt->output, ", unparsed\n"); in xmlCtxtDumpEntityDecl()
649 fprintf(ctxt->output, ", parameter\n"); in xmlCtxtDumpEntityDecl()
652 fprintf(ctxt->output, ", external parameter\n"); in xmlCtxtDumpEntityDecl()
655 fprintf(ctxt->output, ", predefined\n"); in xmlCtxtDumpEntityDecl()
660 fprintf(ctxt->output, " ExternalID=%s\n", in xmlCtxtDumpEntityDecl()
665 fprintf(ctxt->output, " SystemID=%s\n", in xmlCtxtDumpEntityDecl()
670 fprintf(ctxt->output, " URI=%s\n", (char *) ent->URI); in xmlCtxtDumpEntityDecl()
674 fprintf(ctxt->output, " content="); in xmlCtxtDumpEntityDecl()
676 fprintf(ctxt->output, "\n"); in xmlCtxtDumpEntityDecl()
693 fprintf(ctxt->output, "namespace node is NULL\n"); in xmlCtxtDumpNamespace()
712 fprintf(ctxt->output, "namespace %s href=", in xmlCtxtDumpNamespace()
715 fprintf(ctxt->output, "default namespace href="); in xmlCtxtDumpNamespace()
718 fprintf(ctxt->output, "\n"); in xmlCtxtDumpNamespace()
739 fprintf(ctxt->output, "Entity is NULL\n"); in xmlCtxtDumpEntity()
745 fprintf(ctxt->output, "INTERNAL_GENERAL_ENTITY "); in xmlCtxtDumpEntity()
748 fprintf(ctxt->output, "EXTERNAL_GENERAL_PARSED_ENTITY "); in xmlCtxtDumpEntity()
751 fprintf(ctxt->output, "EXTERNAL_GENERAL_UNPARSED_ENTITY "); in xmlCtxtDumpEntity()
754 fprintf(ctxt->output, "INTERNAL_PARAMETER_ENTITY "); in xmlCtxtDumpEntity()
757 fprintf(ctxt->output, "EXTERNAL_PARAMETER_ENTITY "); in xmlCtxtDumpEntity()
760 fprintf(ctxt->output, "ENTITY_%d ! ", (int) ent->etype); in xmlCtxtDumpEntity()
762 fprintf(ctxt->output, "%s\n", ent->name); in xmlCtxtDumpEntity()
765 fprintf(ctxt->output, "ExternalID=%s\n", in xmlCtxtDumpEntity()
770 fprintf(ctxt->output, "SystemID=%s\n", (char *) ent->SystemID); in xmlCtxtDumpEntity()
774 fprintf(ctxt->output, "URI=%s\n", (char *) ent->URI); in xmlCtxtDumpEntity()
778 fprintf(ctxt->output, "content="); in xmlCtxtDumpEntity()
780 fprintf(ctxt->output, "\n"); in xmlCtxtDumpEntity()
787 * @output: the FILE * for the output
800 fprintf(ctxt->output, "Attr is NULL"); in xmlCtxtDumpAttr()
804 fprintf(ctxt->output, "ATTRIBUTE "); in xmlCtxtDumpAttr()
806 fprintf(ctxt->output, "\n"); in xmlCtxtDumpAttr()
825 * @output: the FILE * for the output
842 * @output: the FILE * for the output
854 fprintf(ctxt->output, "node is NULL\n"); in xmlCtxtDumpOneNode()
864 fprintf(ctxt->output, "ELEMENT "); in xmlCtxtDumpOneNode()
867 fprintf(ctxt->output, ":"); in xmlCtxtDumpOneNode()
870 fprintf(ctxt->output, "\n"); in xmlCtxtDumpOneNode()
876 fprintf(ctxt->output, "Error, ATTRIBUTE found here\n"); in xmlCtxtDumpOneNode()
883 fprintf(ctxt->output, "TEXT no enc"); in xmlCtxtDumpOneNode()
885 fprintf(ctxt->output, "TEXT"); in xmlCtxtDumpOneNode()
888 fprintf(ctxt->output, " compact\n"); in xmlCtxtDumpOneNode()
890 fprintf(ctxt->output, " interned\n"); in xmlCtxtDumpOneNode()
892 fprintf(ctxt->output, "\n"); in xmlCtxtDumpOneNode()
894 fprintf(ctxt->output, "\n"); in xmlCtxtDumpOneNode()
900 fprintf(ctxt->output, "CDATA_SECTION\n"); in xmlCtxtDumpOneNode()
906 fprintf(ctxt->output, "ENTITY_REF(%s)\n", in xmlCtxtDumpOneNode()
913 fprintf(ctxt->output, "ENTITY\n"); in xmlCtxtDumpOneNode()
919 fprintf(ctxt->output, "PI %s\n", (char *) node->name); in xmlCtxtDumpOneNode()
925 fprintf(ctxt->output, "COMMENT\n"); in xmlCtxtDumpOneNode()
933 fprintf(ctxt->output, "Error, DOCUMENT found here\n"); in xmlCtxtDumpOneNode()
939 fprintf(ctxt->output, "DOCUMENT_TYPE\n"); in xmlCtxtDumpOneNode()
945 fprintf(ctxt->output, "DOCUMENT_FRAG\n"); in xmlCtxtDumpOneNode()
951 fprintf(ctxt->output, "NOTATION\n"); in xmlCtxtDumpOneNode()
972 fprintf(ctxt->output, "INCLUDE START\n"); in xmlCtxtDumpOneNode()
978 fprintf(ctxt->output, "INCLUDE END\n"); in xmlCtxtDumpOneNode()
992 fprintf(ctxt->output, "PBM: doc == NULL !!!\n"); in xmlCtxtDumpOneNode()
1003 fprintf(ctxt->output, "content="); in xmlCtxtDumpOneNode()
1005 fprintf(ctxt->output, "\n"); in xmlCtxtDumpOneNode()
1025 * @output: the FILE * for the output
1037 fprintf(ctxt->output, "node is NULL\n"); in xmlCtxtDumpNode()
1052 * @output: the FILE * for the output
1072 fprintf(ctxt->output, "DOCUMENT == NULL !\n"); in xmlCtxtDumpDocHead()
1112 fprintf(ctxt->output, "DOCUMENT\n"); in xmlCtxtDumpDocHead()
1116 fprintf(ctxt->output, "HTML DOCUMENT\n"); in xmlCtxtDumpDocHead()
1138 * @output: the FILE * for the output
1150 fprintf(ctxt->output, "name="); in xmlCtxtDumpDocumentHead()
1152 fprintf(ctxt->output, "\n"); in xmlCtxtDumpDocumentHead()
1155 fprintf(ctxt->output, "version="); in xmlCtxtDumpDocumentHead()
1157 fprintf(ctxt->output, "\n"); in xmlCtxtDumpDocumentHead()
1160 fprintf(ctxt->output, "encoding="); in xmlCtxtDumpDocumentHead()
1162 fprintf(ctxt->output, "\n"); in xmlCtxtDumpDocumentHead()
1165 fprintf(ctxt->output, "URL="); in xmlCtxtDumpDocumentHead()
1167 fprintf(ctxt->output, "\n"); in xmlCtxtDumpDocumentHead()
1170 fprintf(ctxt->output, "standalone=true\n"); in xmlCtxtDumpDocumentHead()
1178 * @output: the FILE * for the output
1188 fprintf(ctxt->output, "DOCUMENT == NULL !\n"); in xmlCtxtDumpDocument()
1209 fprintf(ctxt->output, "Entity is NULL"); in xmlCtxtDumpEntityCallback()
1213 fprintf(ctxt->output, "%s : ", (char *) cur->name); in xmlCtxtDumpEntityCallback()
1216 fprintf(ctxt->output, "INTERNAL GENERAL, "); in xmlCtxtDumpEntityCallback()
1219 fprintf(ctxt->output, "EXTERNAL PARSED, "); in xmlCtxtDumpEntityCallback()
1222 fprintf(ctxt->output, "EXTERNAL UNPARSED, "); in xmlCtxtDumpEntityCallback()
1225 fprintf(ctxt->output, "INTERNAL PARAMETER, "); in xmlCtxtDumpEntityCallback()
1228 fprintf(ctxt->output, "EXTERNAL PARAMETER, "); in xmlCtxtDumpEntityCallback()
1235 fprintf(ctxt->output, "ID \"%s\"", (char *) cur->ExternalID); in xmlCtxtDumpEntityCallback()
1237 fprintf(ctxt->output, "SYSTEM \"%s\"", (char *) cur->SystemID); in xmlCtxtDumpEntityCallback()
1239 fprintf(ctxt->output, "\n orig \"%s\"", (char *) cur->orig); in xmlCtxtDumpEntityCallback()
1241 fprintf(ctxt->output, "\n content \"%s\"", in xmlCtxtDumpEntityCallback()
1243 fprintf(ctxt->output, "\n"); in xmlCtxtDumpEntityCallback()
1249 * @output: the FILE * for the output
1264 fprintf(ctxt->output, "Entities in internal subset\n"); in xmlCtxtDumpEntities()
1267 fprintf(ctxt->output, "No entities in internal subset\n"); in xmlCtxtDumpEntities()
1273 fprintf(ctxt->output, "Entities in external subset\n"); in xmlCtxtDumpEntities()
1276 fprintf(ctxt->output, "No entities in external subset\n"); in xmlCtxtDumpEntities()
1281 * @output: the FILE * for the output
1291 fprintf(ctxt->output, "DTD is NULL\n"); in xmlCtxtDumpDTD()
1296 fprintf(ctxt->output, " DTD is empty\n"); in xmlCtxtDumpDTD()
1312 * @output: the FILE * for the output
1318 xmlDebugDumpString(FILE * output, const xmlChar * str) in xmlDebugDumpString() argument
1322 if (output == NULL) in xmlDebugDumpString()
1323 output = stdout; in xmlDebugDumpString()
1325 fprintf(output, "(NULL)"); in xmlDebugDumpString()
1332 fputc(' ', output); in xmlDebugDumpString()
1334 fprintf(output, "#%X", str[i]); in xmlDebugDumpString()
1336 fputc(str[i], output); in xmlDebugDumpString()
1337 fprintf(output, "..."); in xmlDebugDumpString()
1342 * @output: the FILE * for the output
1349 xmlDebugDumpAttr(FILE *output, xmlAttrPtr attr, int depth) { in xmlDebugDumpAttr() argument
1352 if (output == NULL) return; in xmlDebugDumpAttr()
1354 ctxt.output = output; in xmlDebugDumpAttr()
1363 * @output: the FILE * for the output
1369 xmlDebugDumpEntities(FILE * output, xmlDocPtr doc) in xmlDebugDumpEntities() argument
1373 if (output == NULL) return; in xmlDebugDumpEntities()
1375 ctxt.output = output; in xmlDebugDumpEntities()
1382 * @output: the FILE * for the output
1389 xmlDebugDumpAttrList(FILE * output, xmlAttrPtr attr, int depth) in xmlDebugDumpAttrList() argument
1393 if (output == NULL) return; in xmlDebugDumpAttrList()
1395 ctxt.output = output; in xmlDebugDumpAttrList()
1403 * @output: the FILE * for the output
1410 xmlDebugDumpOneNode(FILE * output, xmlNodePtr node, int depth) in xmlDebugDumpOneNode() argument
1414 if (output == NULL) return; in xmlDebugDumpOneNode()
1416 ctxt.output = output; in xmlDebugDumpOneNode()
1424 * @output: the FILE * for the output
1431 xmlDebugDumpNode(FILE * output, xmlNodePtr node, int depth) in xmlDebugDumpNode() argument
1435 if (output == NULL) in xmlDebugDumpNode()
1436 output = stdout; in xmlDebugDumpNode()
1438 ctxt.output = output; in xmlDebugDumpNode()
1446 * @output: the FILE * for the output
1453 xmlDebugDumpNodeList(FILE * output, xmlNodePtr node, int depth) in xmlDebugDumpNodeList() argument
1457 if (output == NULL) in xmlDebugDumpNodeList()
1458 output = stdout; in xmlDebugDumpNodeList()
1460 ctxt.output = output; in xmlDebugDumpNodeList()
1468 * @output: the FILE * for the output
1474 xmlDebugDumpDocumentHead(FILE * output, xmlDocPtr doc) in xmlDebugDumpDocumentHead() argument
1478 if (output == NULL) in xmlDebugDumpDocumentHead()
1479 output = stdout; in xmlDebugDumpDocumentHead()
1482 ctxt.output = output; in xmlDebugDumpDocumentHead()
1489 * @output: the FILE * for the output
1495 xmlDebugDumpDocument(FILE * output, xmlDocPtr doc) in xmlDebugDumpDocument() argument
1499 if (output == NULL) in xmlDebugDumpDocument()
1500 output = stdout; in xmlDebugDumpDocument()
1503 ctxt.output = output; in xmlDebugDumpDocument()
1510 * @output: the FILE * for the output
1516 xmlDebugDumpDTD(FILE * output, xmlDtdPtr dtd) in xmlDebugDumpDTD() argument
1520 if (output == NULL) in xmlDebugDumpDTD()
1521 output = stdout; in xmlDebugDumpDTD()
1524 ctxt.output = output; in xmlDebugDumpDTD()
1537 * @output: the FILE * for the output
1540 * Check the document for potential content problems, and output
1541 * the errors to @output
1546 xmlDebugCheckDocument(FILE * output, xmlDocPtr doc) in xmlDebugCheckDocument() argument
1550 if (output == NULL) in xmlDebugCheckDocument()
1551 output = stdout; in xmlDebugCheckDocument()
1553 ctxt.output = output; in xmlDebugCheckDocument()