Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1 | <HTML |
| 2 | ><HEAD |
| 3 | ><TITLE |
| 4 | >xmlerror</TITLE |
| 5 | ><META |
| 6 | NAME="GENERATOR" |
Daniel Veillard | 60087f3 | 2001-10-10 09:45:09 +0000 | [diff] [blame] | 7 | CONTENT="Modular DocBook HTML Stylesheet Version 1.64 |
| 8 | "><LINK |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 9 | REL="HOME" |
| 10 | TITLE="Gnome XML Library Reference Manual" |
| 11 | HREF="book1.html"><LINK |
| 12 | REL="UP" |
| 13 | TITLE="Libxml Library Reference" |
| 14 | HREF="libxml-lib.html"><LINK |
| 15 | REL="PREVIOUS" |
| 16 | TITLE="uri" |
| 17 | HREF="libxml-uri.html"><LINK |
| 18 | REL="NEXT" |
| 19 | TITLE="HTMLparser" |
| 20 | HREF="libxml-htmlparser.html"></HEAD |
| 21 | ><BODY |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 22 | CLASS="REFENTRY" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 23 | BGCOLOR="#FFFFFF" |
| 24 | TEXT="#000000" |
| 25 | LINK="#0000FF" |
| 26 | VLINK="#840084" |
| 27 | ALINK="#0000FF" |
| 28 | ><DIV |
| 29 | CLASS="NAVHEADER" |
| 30 | ><TABLE |
| 31 | WIDTH="100%" |
| 32 | BORDER="0" |
| 33 | BGCOLOR="#000000" |
| 34 | CELLPADDING="1" |
| 35 | CELLSPACING="0" |
| 36 | ><TR |
| 37 | ><TH |
| 38 | COLSPAN="4" |
| 39 | ALIGN="center" |
| 40 | ><FONT |
| 41 | COLOR="#FFFFFF" |
| 42 | SIZE="5" |
| 43 | >Gnome XML Library Reference Manual</FONT |
| 44 | ></TH |
| 45 | ></TR |
| 46 | ><TR |
| 47 | ><TD |
| 48 | WIDTH="25%" |
| 49 | BGCOLOR="#C00000" |
| 50 | ALIGN="left" |
| 51 | ><A |
| 52 | HREF="libxml-uri.html" |
| 53 | ><FONT |
| 54 | COLOR="#FFFFFF" |
| 55 | SIZE="3" |
| 56 | ><B |
| 57 | ><<< Previous Page</B |
| 58 | ></FONT |
| 59 | ></A |
| 60 | ></TD |
| 61 | ><TD |
| 62 | WIDTH="25%" |
| 63 | BGCOLOR="#0000C0" |
| 64 | ALIGN="center" |
| 65 | ><FONT |
| 66 | COLOR="#FFFFFF" |
| 67 | SIZE="3" |
| 68 | ><B |
| 69 | ><A |
| 70 | HREF="book1.html" |
| 71 | ><FONT |
| 72 | COLOR="#FFFFFF" |
| 73 | SIZE="3" |
| 74 | ><B |
| 75 | >Home</B |
| 76 | ></FONT |
| 77 | ></A |
| 78 | ></B |
| 79 | ></FONT |
| 80 | ></TD |
| 81 | ><TD |
| 82 | WIDTH="25%" |
| 83 | BGCOLOR="#00C000" |
| 84 | ALIGN="center" |
| 85 | ><FONT |
| 86 | COLOR="#FFFFFF" |
| 87 | SIZE="3" |
| 88 | ><B |
| 89 | ><A |
| 90 | HREF="libxml-lib.html" |
| 91 | ><FONT |
| 92 | COLOR="#FFFFFF" |
| 93 | SIZE="3" |
| 94 | ><B |
| 95 | >Up</B |
| 96 | ></FONT |
| 97 | ></A |
| 98 | ></B |
| 99 | ></FONT |
| 100 | ></TD |
| 101 | ><TD |
| 102 | WIDTH="25%" |
| 103 | BGCOLOR="#C00000" |
| 104 | ALIGN="right" |
| 105 | ><A |
| 106 | HREF="libxml-htmlparser.html" |
| 107 | ><FONT |
| 108 | COLOR="#FFFFFF" |
| 109 | SIZE="3" |
| 110 | ><B |
| 111 | >Next Page >>></B |
| 112 | ></FONT |
| 113 | ></A |
| 114 | ></TD |
| 115 | ></TR |
| 116 | ></TABLE |
| 117 | ></DIV |
| 118 | ><H1 |
| 119 | ><A |
| 120 | NAME="LIBXML-XMLERROR" |
| 121 | >xmlerror</A |
| 122 | ></H1 |
| 123 | ><DIV |
| 124 | CLASS="REFNAMEDIV" |
| 125 | ><A |
Daniel Veillard | ef90ba7 | 2001-12-07 14:24:22 +0000 | [diff] [blame^] | 126 | NAME="AEN10454" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 127 | ></A |
| 128 | ><H2 |
| 129 | >Name</H2 |
| 130 | >xmlerror -- </DIV |
| 131 | ><DIV |
| 132 | CLASS="REFSYNOPSISDIV" |
| 133 | ><A |
Daniel Veillard | ef90ba7 | 2001-12-07 14:24:22 +0000 | [diff] [blame^] | 134 | NAME="AEN10457" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 135 | ></A |
| 136 | ><H2 |
| 137 | >Synopsis</H2 |
| 138 | ><TABLE |
| 139 | BORDER="0" |
| 140 | BGCOLOR="#D6E8FF" |
| 141 | WIDTH="100%" |
| 142 | CELLPADDING="6" |
| 143 | ><TR |
| 144 | ><TD |
| 145 | ><PRE |
| 146 | CLASS="SYNOPSIS" |
| 147 | > |
| 148 | |
| 149 | enum <A |
| 150 | HREF="libxml-xmlerror.html#XMLPARSERERRORS" |
| 151 | >xmlParserErrors</A |
| 152 | >; |
| 153 | void (<A |
| 154 | HREF="libxml-xmlerror.html#XMLGENERICERRORFUNC" |
| 155 | >*xmlGenericErrorFunc</A |
| 156 | >) (void *ctx, |
| 157 | const char *msg, |
| 158 | ...); |
| 159 | void <A |
| 160 | HREF="libxml-xmlerror.html#XMLSETGENERICERRORFUNC" |
| 161 | >xmlSetGenericErrorFunc</A |
| 162 | > (void *ctx, |
| 163 | <A |
| 164 | HREF="libxml-xmlerror.html#XMLGENERICERRORFUNC" |
| 165 | >xmlGenericErrorFunc</A |
| 166 | > handler); |
| 167 | void <A |
Daniel Veillard | 52dcab3 | 2001-10-30 12:51:17 +0000 | [diff] [blame] | 168 | HREF="libxml-xmlerror.html#INITGENERICERRORDEFAULTFUNC" |
| 169 | >initGenericErrorDefaultFunc</A |
| 170 | > (<A |
| 171 | HREF="libxml-xmlerror.html#XMLGENERICERRORFUNC" |
| 172 | >xmlGenericErrorFunc</A |
| 173 | > *handler); |
| 174 | void <A |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 175 | HREF="libxml-xmlerror.html#XMLPARSERERROR" |
| 176 | >xmlParserError</A |
| 177 | > (void *ctx, |
| 178 | const char *msg, |
| 179 | ...); |
| 180 | void <A |
| 181 | HREF="libxml-xmlerror.html#XMLPARSERWARNING" |
| 182 | >xmlParserWarning</A |
| 183 | > (void *ctx, |
| 184 | const char *msg, |
| 185 | ...); |
| 186 | void <A |
| 187 | HREF="libxml-xmlerror.html#XMLPARSERVALIDITYERROR" |
| 188 | >xmlParserValidityError</A |
| 189 | > (void *ctx, |
| 190 | const char *msg, |
| 191 | ...); |
| 192 | void <A |
| 193 | HREF="libxml-xmlerror.html#XMLPARSERVALIDITYWARNING" |
| 194 | >xmlParserValidityWarning</A |
| 195 | > (void *ctx, |
| 196 | const char *msg, |
| 197 | ...); |
| 198 | void <A |
| 199 | HREF="libxml-xmlerror.html#XMLPARSERPRINTFILEINFO" |
| 200 | >xmlParserPrintFileInfo</A |
| 201 | > (<A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame] | 202 | HREF="libxml-tree.html#XMLPARSERINPUTPTR" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 203 | >xmlParserInputPtr</A |
| 204 | > input); |
| 205 | void <A |
| 206 | HREF="libxml-xmlerror.html#XMLPARSERPRINTFILECONTEXT" |
| 207 | >xmlParserPrintFileContext</A |
| 208 | > (<A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame] | 209 | HREF="libxml-tree.html#XMLPARSERINPUTPTR" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 210 | >xmlParserInputPtr</A |
| 211 | > input);</PRE |
| 212 | ></TD |
| 213 | ></TR |
| 214 | ></TABLE |
| 215 | ></DIV |
| 216 | ><DIV |
| 217 | CLASS="REFSECT1" |
| 218 | ><A |
Daniel Veillard | ef90ba7 | 2001-12-07 14:24:22 +0000 | [diff] [blame^] | 219 | NAME="AEN10474" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 220 | ></A |
| 221 | ><H2 |
| 222 | >Description</H2 |
| 223 | ><P |
| 224 | ></P |
| 225 | ></DIV |
| 226 | ><DIV |
| 227 | CLASS="REFSECT1" |
| 228 | ><A |
Daniel Veillard | ef90ba7 | 2001-12-07 14:24:22 +0000 | [diff] [blame^] | 229 | NAME="AEN10477" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 230 | ></A |
| 231 | ><H2 |
| 232 | >Details</H2 |
| 233 | ><DIV |
| 234 | CLASS="REFSECT2" |
| 235 | ><A |
Daniel Veillard | ef90ba7 | 2001-12-07 14:24:22 +0000 | [diff] [blame^] | 236 | NAME="AEN10479" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 237 | ></A |
| 238 | ><H3 |
| 239 | ><A |
| 240 | NAME="XMLPARSERERRORS" |
| 241 | ></A |
| 242 | >enum xmlParserErrors</H3 |
| 243 | ><TABLE |
| 244 | BORDER="0" |
| 245 | BGCOLOR="#D6E8FF" |
| 246 | WIDTH="100%" |
| 247 | CELLPADDING="6" |
| 248 | ><TR |
| 249 | ><TD |
| 250 | ><PRE |
| 251 | CLASS="PROGRAMLISTING" |
| 252 | >typedef enum { |
| 253 | XML_ERR_OK = 0, |
| 254 | XML_ERR_INTERNAL_ERROR, |
| 255 | XML_ERR_NO_MEMORY, |
| 256 | |
| 257 | XML_ERR_DOCUMENT_START, /* 3 */ |
| 258 | XML_ERR_DOCUMENT_EMPTY, |
| 259 | XML_ERR_DOCUMENT_END, |
| 260 | |
| 261 | XML_ERR_INVALID_HEX_CHARREF, /* 6 */ |
| 262 | XML_ERR_INVALID_DEC_CHARREF, |
| 263 | XML_ERR_INVALID_CHARREF, |
| 264 | XML_ERR_INVALID_CHAR, |
| 265 | |
| 266 | XML_ERR_CHARREF_AT_EOF, /* 10 */ |
| 267 | XML_ERR_CHARREF_IN_PROLOG, |
| 268 | XML_ERR_CHARREF_IN_EPILOG, |
| 269 | XML_ERR_CHARREF_IN_DTD, |
| 270 | XML_ERR_ENTITYREF_AT_EOF, |
| 271 | XML_ERR_ENTITYREF_IN_PROLOG, |
| 272 | XML_ERR_ENTITYREF_IN_EPILOG, |
| 273 | XML_ERR_ENTITYREF_IN_DTD, |
| 274 | XML_ERR_PEREF_AT_EOF, |
| 275 | XML_ERR_PEREF_IN_PROLOG, |
| 276 | XML_ERR_PEREF_IN_EPILOG, |
| 277 | XML_ERR_PEREF_IN_INT_SUBSET, |
| 278 | |
| 279 | XML_ERR_ENTITYREF_NO_NAME, /* 22 */ |
| 280 | XML_ERR_ENTITYREF_SEMICOL_MISSING, |
| 281 | |
| 282 | XML_ERR_PEREF_NO_NAME, /* 24 */ |
| 283 | XML_ERR_PEREF_SEMICOL_MISSING, |
| 284 | |
| 285 | XML_ERR_UNDECLARED_ENTITY, /* 26 */ |
| 286 | XML_WAR_UNDECLARED_ENTITY, |
| 287 | XML_ERR_UNPARSED_ENTITY, |
| 288 | XML_ERR_ENTITY_IS_EXTERNAL, |
| 289 | XML_ERR_ENTITY_IS_PARAMETER, |
| 290 | |
| 291 | XML_ERR_UNKNOWN_ENCODING, /* 31 */ |
| 292 | XML_ERR_UNSUPPORTED_ENCODING, |
| 293 | |
| 294 | XML_ERR_STRING_NOT_STARTED, /* 33 */ |
| 295 | XML_ERR_STRING_NOT_CLOSED, |
| 296 | XML_ERR_NS_DECL_ERROR, |
| 297 | |
| 298 | XML_ERR_ENTITY_NOT_STARTED, /* 36 */ |
| 299 | XML_ERR_ENTITY_NOT_FINISHED, |
| 300 | |
| 301 | XML_ERR_LT_IN_ATTRIBUTE, /* 38 */ |
| 302 | XML_ERR_ATTRIBUTE_NOT_STARTED, |
| 303 | XML_ERR_ATTRIBUTE_NOT_FINISHED, |
| 304 | XML_ERR_ATTRIBUTE_WITHOUT_VALUE, |
| 305 | XML_ERR_ATTRIBUTE_REDEFINED, |
| 306 | |
| 307 | XML_ERR_LITERAL_NOT_STARTED, /* 43 */ |
| 308 | XML_ERR_LITERAL_NOT_FINISHED, |
| 309 | |
| 310 | XML_ERR_COMMENT_NOT_FINISHED, /* 45 */ |
| 311 | |
| 312 | XML_ERR_PI_NOT_STARTED, /* 47 */ |
| 313 | XML_ERR_PI_NOT_FINISHED, |
| 314 | |
| 315 | XML_ERR_NOTATION_NOT_STARTED, /* 49 */ |
| 316 | XML_ERR_NOTATION_NOT_FINISHED, |
| 317 | |
| 318 | XML_ERR_ATTLIST_NOT_STARTED, /* 51 */ |
| 319 | XML_ERR_ATTLIST_NOT_FINISHED, |
| 320 | |
| 321 | XML_ERR_MIXED_NOT_STARTED, /* 53 */ |
| 322 | XML_ERR_MIXED_NOT_FINISHED, |
| 323 | |
| 324 | XML_ERR_ELEMCONTENT_NOT_STARTED, /* 55 */ |
| 325 | XML_ERR_ELEMCONTENT_NOT_FINISHED, |
| 326 | |
| 327 | XML_ERR_XMLDECL_NOT_STARTED, /* 57 */ |
| 328 | XML_ERR_XMLDECL_NOT_FINISHED, |
| 329 | |
| 330 | XML_ERR_CONDSEC_NOT_STARTED, /* 59 */ |
| 331 | XML_ERR_CONDSEC_NOT_FINISHED, |
| 332 | |
| 333 | XML_ERR_EXT_SUBSET_NOT_FINISHED, /* 61 */ |
| 334 | |
| 335 | XML_ERR_DOCTYPE_NOT_FINISHED, /* 62 */ |
| 336 | |
| 337 | XML_ERR_MISPLACED_CDATA_END, /* 63 */ |
| 338 | XML_ERR_CDATA_NOT_FINISHED, |
| 339 | |
| 340 | XML_ERR_RESERVED_XML_NAME, /* 65 */ |
| 341 | |
| 342 | XML_ERR_SPACE_REQUIRED, /* 66 */ |
| 343 | XML_ERR_SEPARATOR_REQUIRED, |
| 344 | XML_ERR_NMTOKEN_REQUIRED, |
| 345 | XML_ERR_NAME_REQUIRED, |
| 346 | XML_ERR_PCDATA_REQUIRED, |
| 347 | XML_ERR_URI_REQUIRED, |
| 348 | XML_ERR_PUBID_REQUIRED, |
| 349 | XML_ERR_LT_REQUIRED, |
| 350 | XML_ERR_GT_REQUIRED, |
| 351 | XML_ERR_LTSLASH_REQUIRED, |
| 352 | XML_ERR_EQUAL_REQUIRED, |
| 353 | |
| 354 | XML_ERR_TAG_NAME_MISMATCH, /* 77 */ |
| 355 | XML_ERR_TAG_NOT_FINISED, |
| 356 | |
| 357 | XML_ERR_STANDALONE_VALUE, /* 79 */ |
| 358 | |
| 359 | XML_ERR_ENCODING_NAME, /* 80 */ |
| 360 | |
| 361 | XML_ERR_HYPHEN_IN_COMMENT, /* 81 */ |
| 362 | |
| 363 | XML_ERR_INVALID_ENCODING, /* 82 */ |
| 364 | |
| 365 | XML_ERR_EXT_ENTITY_STANDALONE, /* 83 */ |
| 366 | |
| 367 | XML_ERR_CONDSEC_INVALID, /* 84 */ |
| 368 | |
| 369 | XML_ERR_VALUE_REQUIRED, /* 85 */ |
| 370 | |
| 371 | XML_ERR_NOT_WELL_BALANCED, /* 86 */ |
| 372 | XML_ERR_EXTRA_CONTENT, /* 87 */ |
| 373 | XML_ERR_ENTITY_CHAR_ERROR, /* 88 */ |
| 374 | XML_ERR_ENTITY_PE_INTERNAL, /* 88 */ |
| 375 | XML_ERR_ENTITY_LOOP, /* 89 */ |
| 376 | XML_ERR_ENTITY_BOUNDARY, /* 90 */ |
| 377 | XML_ERR_INVALID_URI, /* 91 */ |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 378 | XML_ERR_URI_FRAGMENT, /* 92 */ |
Daniel Veillard | 04382ae | 2001-09-12 18:51:30 +0000 | [diff] [blame] | 379 | XML_WAR_CATALOG_PI, /* 93 */ |
| 380 | XML_ERR_NO_DTD /* 94 */ |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 381 | }xmlParserErrors;</PRE |
| 382 | ></TD |
| 383 | ></TR |
| 384 | ></TABLE |
| 385 | ><P |
| 386 | ></P |
| 387 | ></DIV |
| 388 | ><HR><DIV |
| 389 | CLASS="REFSECT2" |
| 390 | ><A |
Daniel Veillard | ef90ba7 | 2001-12-07 14:24:22 +0000 | [diff] [blame^] | 391 | NAME="AEN10484" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 392 | ></A |
| 393 | ><H3 |
| 394 | ><A |
| 395 | NAME="XMLGENERICERRORFUNC" |
| 396 | ></A |
| 397 | >xmlGenericErrorFunc ()</H3 |
| 398 | ><TABLE |
| 399 | BORDER="0" |
| 400 | BGCOLOR="#D6E8FF" |
| 401 | WIDTH="100%" |
| 402 | CELLPADDING="6" |
| 403 | ><TR |
| 404 | ><TD |
| 405 | ><PRE |
| 406 | CLASS="PROGRAMLISTING" |
| 407 | >void (*xmlGenericErrorFunc) (void *ctx, |
| 408 | const char *msg, |
| 409 | ...);</PRE |
| 410 | ></TD |
| 411 | ></TR |
| 412 | ></TABLE |
| 413 | ><P |
| 414 | ></P |
| 415 | ><DIV |
| 416 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 417 | ><A |
Daniel Veillard | ef90ba7 | 2001-12-07 14:24:22 +0000 | [diff] [blame^] | 418 | NAME="AEN10489" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 419 | ></A |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 420 | ><P |
| 421 | ></P |
| 422 | ><TABLE |
| 423 | BORDER="0" |
| 424 | WIDTH="100%" |
| 425 | BGCOLOR="#FFD0D0" |
| 426 | CELLSPACING="0" |
| 427 | CELLPADDING="4" |
| 428 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 429 | ><TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 430 | ><TR |
| 431 | ><TD |
| 432 | WIDTH="20%" |
| 433 | ALIGN="RIGHT" |
| 434 | VALIGN="TOP" |
| 435 | ><TT |
| 436 | CLASS="PARAMETER" |
| 437 | ><I |
| 438 | >ctx</I |
| 439 | ></TT |
| 440 | > :</TD |
| 441 | ><TD |
| 442 | WIDTH="80%" |
| 443 | ALIGN="LEFT" |
| 444 | VALIGN="TOP" |
| 445 | > </TD |
| 446 | ></TR |
| 447 | ><TR |
| 448 | ><TD |
| 449 | WIDTH="20%" |
| 450 | ALIGN="RIGHT" |
| 451 | VALIGN="TOP" |
| 452 | ><TT |
| 453 | CLASS="PARAMETER" |
| 454 | ><I |
| 455 | >msg</I |
| 456 | ></TT |
| 457 | > :</TD |
| 458 | ><TD |
| 459 | WIDTH="80%" |
| 460 | ALIGN="LEFT" |
| 461 | VALIGN="TOP" |
| 462 | > </TD |
| 463 | ></TR |
| 464 | ><TR |
| 465 | ><TD |
| 466 | WIDTH="20%" |
| 467 | ALIGN="RIGHT" |
| 468 | VALIGN="TOP" |
| 469 | ><TT |
| 470 | CLASS="PARAMETER" |
| 471 | ><I |
| 472 | >...</I |
| 473 | ></TT |
| 474 | > :</TD |
| 475 | ><TD |
| 476 | WIDTH="80%" |
| 477 | ALIGN="LEFT" |
| 478 | VALIGN="TOP" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 479 | > </TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 480 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 481 | ></TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 482 | ></TABLE |
| 483 | ><P |
| 484 | ></P |
| 485 | ></DIV |
| 486 | ></DIV |
| 487 | ><HR><DIV |
| 488 | CLASS="REFSECT2" |
| 489 | ><A |
Daniel Veillard | ef90ba7 | 2001-12-07 14:24:22 +0000 | [diff] [blame^] | 490 | NAME="AEN10506" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 491 | ></A |
| 492 | ><H3 |
| 493 | ><A |
| 494 | NAME="XMLSETGENERICERRORFUNC" |
| 495 | ></A |
| 496 | >xmlSetGenericErrorFunc ()</H3 |
| 497 | ><TABLE |
| 498 | BORDER="0" |
| 499 | BGCOLOR="#D6E8FF" |
| 500 | WIDTH="100%" |
| 501 | CELLPADDING="6" |
| 502 | ><TR |
| 503 | ><TD |
| 504 | ><PRE |
| 505 | CLASS="PROGRAMLISTING" |
| 506 | >void xmlSetGenericErrorFunc (void *ctx, |
| 507 | <A |
| 508 | HREF="libxml-xmlerror.html#XMLGENERICERRORFUNC" |
| 509 | >xmlGenericErrorFunc</A |
| 510 | > handler);</PRE |
| 511 | ></TD |
| 512 | ></TR |
| 513 | ></TABLE |
| 514 | ><P |
| 515 | >Function to reset the handler and the error context for out of |
| 516 | context error messages. |
| 517 | This simply means that <TT |
| 518 | CLASS="PARAMETER" |
| 519 | ><I |
| 520 | >handler</I |
| 521 | ></TT |
| 522 | > will be called for subsequent |
| 523 | error messages while not parsing nor validating. And <TT |
| 524 | CLASS="PARAMETER" |
| 525 | ><I |
| 526 | >ctx</I |
| 527 | ></TT |
| 528 | > will |
| 529 | be passed as first argument to <TT |
| 530 | CLASS="PARAMETER" |
| 531 | ><I |
| 532 | >handler</I |
| 533 | ></TT |
| 534 | > |
| 535 | One can simply force messages to be emitted to another FILE * than |
| 536 | stderr by setting <TT |
| 537 | CLASS="PARAMETER" |
| 538 | ><I |
| 539 | >ctx</I |
| 540 | ></TT |
| 541 | > to this file handle and <TT |
| 542 | CLASS="PARAMETER" |
| 543 | ><I |
| 544 | >handler</I |
| 545 | ></TT |
| 546 | > to NULL.</P |
| 547 | ><P |
| 548 | ></P |
| 549 | ><DIV |
| 550 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 551 | ><A |
Daniel Veillard | ef90ba7 | 2001-12-07 14:24:22 +0000 | [diff] [blame^] | 552 | NAME="AEN10518" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 553 | ></A |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 554 | ><P |
| 555 | ></P |
| 556 | ><TABLE |
| 557 | BORDER="0" |
| 558 | WIDTH="100%" |
| 559 | BGCOLOR="#FFD0D0" |
| 560 | CELLSPACING="0" |
| 561 | CELLPADDING="4" |
| 562 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 563 | ><TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 564 | ><TR |
| 565 | ><TD |
| 566 | WIDTH="20%" |
| 567 | ALIGN="RIGHT" |
| 568 | VALIGN="TOP" |
| 569 | ><TT |
| 570 | CLASS="PARAMETER" |
| 571 | ><I |
| 572 | >ctx</I |
| 573 | ></TT |
| 574 | > :</TD |
| 575 | ><TD |
| 576 | WIDTH="80%" |
| 577 | ALIGN="LEFT" |
| 578 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 579 | > the new error handling context</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 580 | ></TR |
| 581 | ><TR |
| 582 | ><TD |
| 583 | WIDTH="20%" |
| 584 | ALIGN="RIGHT" |
| 585 | VALIGN="TOP" |
| 586 | ><TT |
| 587 | CLASS="PARAMETER" |
| 588 | ><I |
| 589 | >handler</I |
| 590 | ></TT |
| 591 | > :</TD |
| 592 | ><TD |
| 593 | WIDTH="80%" |
| 594 | ALIGN="LEFT" |
| 595 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 596 | > the new handler function</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 597 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 598 | ></TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 599 | ></TABLE |
| 600 | ><P |
| 601 | ></P |
| 602 | ></DIV |
| 603 | ></DIV |
| 604 | ><HR><DIV |
| 605 | CLASS="REFSECT2" |
| 606 | ><A |
Daniel Veillard | ef90ba7 | 2001-12-07 14:24:22 +0000 | [diff] [blame^] | 607 | NAME="AEN10531" |
Daniel Veillard | 52dcab3 | 2001-10-30 12:51:17 +0000 | [diff] [blame] | 608 | ></A |
| 609 | ><H3 |
| 610 | ><A |
| 611 | NAME="INITGENERICERRORDEFAULTFUNC" |
| 612 | ></A |
| 613 | >initGenericErrorDefaultFunc ()</H3 |
| 614 | ><TABLE |
| 615 | BORDER="0" |
| 616 | BGCOLOR="#D6E8FF" |
| 617 | WIDTH="100%" |
| 618 | CELLPADDING="6" |
| 619 | ><TR |
| 620 | ><TD |
| 621 | ><PRE |
| 622 | CLASS="PROGRAMLISTING" |
| 623 | >void initGenericErrorDefaultFunc (<A |
| 624 | HREF="libxml-xmlerror.html#XMLGENERICERRORFUNC" |
| 625 | >xmlGenericErrorFunc</A |
| 626 | > *handler);</PRE |
| 627 | ></TD |
| 628 | ></TR |
| 629 | ></TABLE |
| 630 | ><P |
| 631 | ></P |
| 632 | ><DIV |
| 633 | CLASS="INFORMALTABLE" |
| 634 | ><A |
Daniel Veillard | ef90ba7 | 2001-12-07 14:24:22 +0000 | [diff] [blame^] | 635 | NAME="AEN10537" |
Daniel Veillard | 52dcab3 | 2001-10-30 12:51:17 +0000 | [diff] [blame] | 636 | ></A |
| 637 | ><P |
| 638 | ></P |
| 639 | ><TABLE |
| 640 | BORDER="0" |
| 641 | WIDTH="100%" |
| 642 | BGCOLOR="#FFD0D0" |
| 643 | CELLSPACING="0" |
| 644 | CELLPADDING="4" |
| 645 | CLASS="CALSTABLE" |
| 646 | ><TBODY |
| 647 | ><TR |
| 648 | ><TD |
| 649 | WIDTH="20%" |
| 650 | ALIGN="RIGHT" |
| 651 | VALIGN="TOP" |
| 652 | ><TT |
| 653 | CLASS="PARAMETER" |
| 654 | ><I |
| 655 | >handler</I |
| 656 | ></TT |
| 657 | > :</TD |
| 658 | ><TD |
| 659 | WIDTH="80%" |
| 660 | ALIGN="LEFT" |
| 661 | VALIGN="TOP" |
| 662 | > </TD |
| 663 | ></TR |
| 664 | ></TBODY |
| 665 | ></TABLE |
| 666 | ><P |
| 667 | ></P |
| 668 | ></DIV |
| 669 | ></DIV |
| 670 | ><HR><DIV |
| 671 | CLASS="REFSECT2" |
| 672 | ><A |
Daniel Veillard | ef90ba7 | 2001-12-07 14:24:22 +0000 | [diff] [blame^] | 673 | NAME="AEN10546" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 674 | ></A |
| 675 | ><H3 |
| 676 | ><A |
| 677 | NAME="XMLPARSERERROR" |
| 678 | ></A |
| 679 | >xmlParserError ()</H3 |
| 680 | ><TABLE |
| 681 | BORDER="0" |
| 682 | BGCOLOR="#D6E8FF" |
| 683 | WIDTH="100%" |
| 684 | CELLPADDING="6" |
| 685 | ><TR |
| 686 | ><TD |
| 687 | ><PRE |
| 688 | CLASS="PROGRAMLISTING" |
| 689 | >void xmlParserError (void *ctx, |
| 690 | const char *msg, |
| 691 | ...);</PRE |
| 692 | ></TD |
| 693 | ></TR |
| 694 | ></TABLE |
| 695 | ><P |
| 696 | >Display and format an error messages, gives file, line, position and |
| 697 | extra parameters.</P |
| 698 | ><P |
| 699 | ></P |
| 700 | ><DIV |
| 701 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 702 | ><A |
Daniel Veillard | ef90ba7 | 2001-12-07 14:24:22 +0000 | [diff] [blame^] | 703 | NAME="AEN10552" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 704 | ></A |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 705 | ><P |
| 706 | ></P |
| 707 | ><TABLE |
| 708 | BORDER="0" |
| 709 | WIDTH="100%" |
| 710 | BGCOLOR="#FFD0D0" |
| 711 | CELLSPACING="0" |
| 712 | CELLPADDING="4" |
| 713 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 714 | ><TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 715 | ><TR |
| 716 | ><TD |
| 717 | WIDTH="20%" |
| 718 | ALIGN="RIGHT" |
| 719 | VALIGN="TOP" |
| 720 | ><TT |
| 721 | CLASS="PARAMETER" |
| 722 | ><I |
| 723 | >ctx</I |
| 724 | ></TT |
| 725 | > :</TD |
| 726 | ><TD |
| 727 | WIDTH="80%" |
| 728 | ALIGN="LEFT" |
| 729 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 730 | > an XML parser context</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 731 | ></TR |
| 732 | ><TR |
| 733 | ><TD |
| 734 | WIDTH="20%" |
| 735 | ALIGN="RIGHT" |
| 736 | VALIGN="TOP" |
| 737 | ><TT |
| 738 | CLASS="PARAMETER" |
| 739 | ><I |
| 740 | >msg</I |
| 741 | ></TT |
| 742 | > :</TD |
| 743 | ><TD |
| 744 | WIDTH="80%" |
| 745 | ALIGN="LEFT" |
| 746 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 747 | > the message to display/transmit</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 748 | ></TR |
| 749 | ><TR |
| 750 | ><TD |
| 751 | WIDTH="20%" |
| 752 | ALIGN="RIGHT" |
| 753 | VALIGN="TOP" |
| 754 | ><TT |
| 755 | CLASS="PARAMETER" |
| 756 | ><I |
| 757 | >...</I |
| 758 | ></TT |
| 759 | > :</TD |
| 760 | ><TD |
| 761 | WIDTH="80%" |
| 762 | ALIGN="LEFT" |
| 763 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 764 | > extra parameters for the message display</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 765 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 766 | ></TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 767 | ></TABLE |
| 768 | ><P |
| 769 | ></P |
| 770 | ></DIV |
| 771 | ></DIV |
| 772 | ><HR><DIV |
| 773 | CLASS="REFSECT2" |
| 774 | ><A |
Daniel Veillard | ef90ba7 | 2001-12-07 14:24:22 +0000 | [diff] [blame^] | 775 | NAME="AEN10569" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 776 | ></A |
| 777 | ><H3 |
| 778 | ><A |
| 779 | NAME="XMLPARSERWARNING" |
| 780 | ></A |
| 781 | >xmlParserWarning ()</H3 |
| 782 | ><TABLE |
| 783 | BORDER="0" |
| 784 | BGCOLOR="#D6E8FF" |
| 785 | WIDTH="100%" |
| 786 | CELLPADDING="6" |
| 787 | ><TR |
| 788 | ><TD |
| 789 | ><PRE |
| 790 | CLASS="PROGRAMLISTING" |
| 791 | >void xmlParserWarning (void *ctx, |
| 792 | const char *msg, |
| 793 | ...);</PRE |
| 794 | ></TD |
| 795 | ></TR |
| 796 | ></TABLE |
| 797 | ><P |
| 798 | >Display and format a warning messages, gives file, line, position and |
| 799 | extra parameters.</P |
| 800 | ><P |
| 801 | ></P |
| 802 | ><DIV |
| 803 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 804 | ><A |
Daniel Veillard | ef90ba7 | 2001-12-07 14:24:22 +0000 | [diff] [blame^] | 805 | NAME="AEN10575" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 806 | ></A |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 807 | ><P |
| 808 | ></P |
| 809 | ><TABLE |
| 810 | BORDER="0" |
| 811 | WIDTH="100%" |
| 812 | BGCOLOR="#FFD0D0" |
| 813 | CELLSPACING="0" |
| 814 | CELLPADDING="4" |
| 815 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 816 | ><TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 817 | ><TR |
| 818 | ><TD |
| 819 | WIDTH="20%" |
| 820 | ALIGN="RIGHT" |
| 821 | VALIGN="TOP" |
| 822 | ><TT |
| 823 | CLASS="PARAMETER" |
| 824 | ><I |
| 825 | >ctx</I |
| 826 | ></TT |
| 827 | > :</TD |
| 828 | ><TD |
| 829 | WIDTH="80%" |
| 830 | ALIGN="LEFT" |
| 831 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 832 | > an XML parser context</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 833 | ></TR |
| 834 | ><TR |
| 835 | ><TD |
| 836 | WIDTH="20%" |
| 837 | ALIGN="RIGHT" |
| 838 | VALIGN="TOP" |
| 839 | ><TT |
| 840 | CLASS="PARAMETER" |
| 841 | ><I |
| 842 | >msg</I |
| 843 | ></TT |
| 844 | > :</TD |
| 845 | ><TD |
| 846 | WIDTH="80%" |
| 847 | ALIGN="LEFT" |
| 848 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 849 | > the message to display/transmit</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 850 | ></TR |
| 851 | ><TR |
| 852 | ><TD |
| 853 | WIDTH="20%" |
| 854 | ALIGN="RIGHT" |
| 855 | VALIGN="TOP" |
| 856 | ><TT |
| 857 | CLASS="PARAMETER" |
| 858 | ><I |
| 859 | >...</I |
| 860 | ></TT |
| 861 | > :</TD |
| 862 | ><TD |
| 863 | WIDTH="80%" |
| 864 | ALIGN="LEFT" |
| 865 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 866 | > extra parameters for the message display</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 867 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 868 | ></TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 869 | ></TABLE |
| 870 | ><P |
| 871 | ></P |
| 872 | ></DIV |
| 873 | ></DIV |
| 874 | ><HR><DIV |
| 875 | CLASS="REFSECT2" |
| 876 | ><A |
Daniel Veillard | ef90ba7 | 2001-12-07 14:24:22 +0000 | [diff] [blame^] | 877 | NAME="AEN10592" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 878 | ></A |
| 879 | ><H3 |
| 880 | ><A |
| 881 | NAME="XMLPARSERVALIDITYERROR" |
| 882 | ></A |
| 883 | >xmlParserValidityError ()</H3 |
| 884 | ><TABLE |
| 885 | BORDER="0" |
| 886 | BGCOLOR="#D6E8FF" |
| 887 | WIDTH="100%" |
| 888 | CELLPADDING="6" |
| 889 | ><TR |
| 890 | ><TD |
| 891 | ><PRE |
| 892 | CLASS="PROGRAMLISTING" |
| 893 | >void xmlParserValidityError (void *ctx, |
| 894 | const char *msg, |
| 895 | ...);</PRE |
| 896 | ></TD |
| 897 | ></TR |
| 898 | ></TABLE |
| 899 | ><P |
| 900 | >Display and format an validity error messages, gives file, |
| 901 | line, position and extra parameters.</P |
| 902 | ><P |
| 903 | ></P |
| 904 | ><DIV |
| 905 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 906 | ><A |
Daniel Veillard | ef90ba7 | 2001-12-07 14:24:22 +0000 | [diff] [blame^] | 907 | NAME="AEN10598" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 908 | ></A |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 909 | ><P |
| 910 | ></P |
| 911 | ><TABLE |
| 912 | BORDER="0" |
| 913 | WIDTH="100%" |
| 914 | BGCOLOR="#FFD0D0" |
| 915 | CELLSPACING="0" |
| 916 | CELLPADDING="4" |
| 917 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 918 | ><TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 919 | ><TR |
| 920 | ><TD |
| 921 | WIDTH="20%" |
| 922 | ALIGN="RIGHT" |
| 923 | VALIGN="TOP" |
| 924 | ><TT |
| 925 | CLASS="PARAMETER" |
| 926 | ><I |
| 927 | >ctx</I |
| 928 | ></TT |
| 929 | > :</TD |
| 930 | ><TD |
| 931 | WIDTH="80%" |
| 932 | ALIGN="LEFT" |
| 933 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 934 | > an XML parser context</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 935 | ></TR |
| 936 | ><TR |
| 937 | ><TD |
| 938 | WIDTH="20%" |
| 939 | ALIGN="RIGHT" |
| 940 | VALIGN="TOP" |
| 941 | ><TT |
| 942 | CLASS="PARAMETER" |
| 943 | ><I |
| 944 | >msg</I |
| 945 | ></TT |
| 946 | > :</TD |
| 947 | ><TD |
| 948 | WIDTH="80%" |
| 949 | ALIGN="LEFT" |
| 950 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 951 | > the message to display/transmit</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 952 | ></TR |
| 953 | ><TR |
| 954 | ><TD |
| 955 | WIDTH="20%" |
| 956 | ALIGN="RIGHT" |
| 957 | VALIGN="TOP" |
| 958 | ><TT |
| 959 | CLASS="PARAMETER" |
| 960 | ><I |
| 961 | >...</I |
| 962 | ></TT |
| 963 | > :</TD |
| 964 | ><TD |
| 965 | WIDTH="80%" |
| 966 | ALIGN="LEFT" |
| 967 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 968 | > extra parameters for the message display</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 969 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 970 | ></TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 971 | ></TABLE |
| 972 | ><P |
| 973 | ></P |
| 974 | ></DIV |
| 975 | ></DIV |
| 976 | ><HR><DIV |
| 977 | CLASS="REFSECT2" |
| 978 | ><A |
Daniel Veillard | ef90ba7 | 2001-12-07 14:24:22 +0000 | [diff] [blame^] | 979 | NAME="AEN10615" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 980 | ></A |
| 981 | ><H3 |
| 982 | ><A |
| 983 | NAME="XMLPARSERVALIDITYWARNING" |
| 984 | ></A |
| 985 | >xmlParserValidityWarning ()</H3 |
| 986 | ><TABLE |
| 987 | BORDER="0" |
| 988 | BGCOLOR="#D6E8FF" |
| 989 | WIDTH="100%" |
| 990 | CELLPADDING="6" |
| 991 | ><TR |
| 992 | ><TD |
| 993 | ><PRE |
| 994 | CLASS="PROGRAMLISTING" |
| 995 | >void xmlParserValidityWarning (void *ctx, |
| 996 | const char *msg, |
| 997 | ...);</PRE |
| 998 | ></TD |
| 999 | ></TR |
| 1000 | ></TABLE |
| 1001 | ><P |
| 1002 | >Display and format a validity warning messages, gives file, line, |
| 1003 | position and extra parameters.</P |
| 1004 | ><P |
| 1005 | ></P |
| 1006 | ><DIV |
| 1007 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1008 | ><A |
Daniel Veillard | ef90ba7 | 2001-12-07 14:24:22 +0000 | [diff] [blame^] | 1009 | NAME="AEN10621" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1010 | ></A |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1011 | ><P |
| 1012 | ></P |
| 1013 | ><TABLE |
| 1014 | BORDER="0" |
| 1015 | WIDTH="100%" |
| 1016 | BGCOLOR="#FFD0D0" |
| 1017 | CELLSPACING="0" |
| 1018 | CELLPADDING="4" |
| 1019 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1020 | ><TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1021 | ><TR |
| 1022 | ><TD |
| 1023 | WIDTH="20%" |
| 1024 | ALIGN="RIGHT" |
| 1025 | VALIGN="TOP" |
| 1026 | ><TT |
| 1027 | CLASS="PARAMETER" |
| 1028 | ><I |
| 1029 | >ctx</I |
| 1030 | ></TT |
| 1031 | > :</TD |
| 1032 | ><TD |
| 1033 | WIDTH="80%" |
| 1034 | ALIGN="LEFT" |
| 1035 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1036 | > an XML parser context</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1037 | ></TR |
| 1038 | ><TR |
| 1039 | ><TD |
| 1040 | WIDTH="20%" |
| 1041 | ALIGN="RIGHT" |
| 1042 | VALIGN="TOP" |
| 1043 | ><TT |
| 1044 | CLASS="PARAMETER" |
| 1045 | ><I |
| 1046 | >msg</I |
| 1047 | ></TT |
| 1048 | > :</TD |
| 1049 | ><TD |
| 1050 | WIDTH="80%" |
| 1051 | ALIGN="LEFT" |
| 1052 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1053 | > the message to display/transmit</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1054 | ></TR |
| 1055 | ><TR |
| 1056 | ><TD |
| 1057 | WIDTH="20%" |
| 1058 | ALIGN="RIGHT" |
| 1059 | VALIGN="TOP" |
| 1060 | ><TT |
| 1061 | CLASS="PARAMETER" |
| 1062 | ><I |
| 1063 | >...</I |
| 1064 | ></TT |
| 1065 | > :</TD |
| 1066 | ><TD |
| 1067 | WIDTH="80%" |
| 1068 | ALIGN="LEFT" |
| 1069 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1070 | > extra parameters for the message display</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1071 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1072 | ></TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1073 | ></TABLE |
| 1074 | ><P |
| 1075 | ></P |
| 1076 | ></DIV |
| 1077 | ></DIV |
| 1078 | ><HR><DIV |
| 1079 | CLASS="REFSECT2" |
| 1080 | ><A |
Daniel Veillard | ef90ba7 | 2001-12-07 14:24:22 +0000 | [diff] [blame^] | 1081 | NAME="AEN10638" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1082 | ></A |
| 1083 | ><H3 |
| 1084 | ><A |
| 1085 | NAME="XMLPARSERPRINTFILEINFO" |
| 1086 | ></A |
| 1087 | >xmlParserPrintFileInfo ()</H3 |
| 1088 | ><TABLE |
| 1089 | BORDER="0" |
| 1090 | BGCOLOR="#D6E8FF" |
| 1091 | WIDTH="100%" |
| 1092 | CELLPADDING="6" |
| 1093 | ><TR |
| 1094 | ><TD |
| 1095 | ><PRE |
| 1096 | CLASS="PROGRAMLISTING" |
| 1097 | >void xmlParserPrintFileInfo (<A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame] | 1098 | HREF="libxml-tree.html#XMLPARSERINPUTPTR" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1099 | >xmlParserInputPtr</A |
| 1100 | > input);</PRE |
| 1101 | ></TD |
| 1102 | ></TR |
| 1103 | ></TABLE |
| 1104 | ><P |
| 1105 | >Displays the associated file and line informations for the current input</P |
| 1106 | ><P |
| 1107 | ></P |
| 1108 | ><DIV |
| 1109 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1110 | ><A |
Daniel Veillard | ef90ba7 | 2001-12-07 14:24:22 +0000 | [diff] [blame^] | 1111 | NAME="AEN10645" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1112 | ></A |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1113 | ><P |
| 1114 | ></P |
| 1115 | ><TABLE |
| 1116 | BORDER="0" |
| 1117 | WIDTH="100%" |
| 1118 | BGCOLOR="#FFD0D0" |
| 1119 | CELLSPACING="0" |
| 1120 | CELLPADDING="4" |
| 1121 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1122 | ><TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1123 | ><TR |
| 1124 | ><TD |
| 1125 | WIDTH="20%" |
| 1126 | ALIGN="RIGHT" |
| 1127 | VALIGN="TOP" |
| 1128 | ><TT |
| 1129 | CLASS="PARAMETER" |
| 1130 | ><I |
| 1131 | >input</I |
| 1132 | ></TT |
| 1133 | > :</TD |
| 1134 | ><TD |
| 1135 | WIDTH="80%" |
| 1136 | ALIGN="LEFT" |
| 1137 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1138 | > an xmlParserInputPtr input</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1139 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1140 | ></TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1141 | ></TABLE |
| 1142 | ><P |
| 1143 | ></P |
| 1144 | ></DIV |
| 1145 | ></DIV |
| 1146 | ><HR><DIV |
| 1147 | CLASS="REFSECT2" |
| 1148 | ><A |
Daniel Veillard | ef90ba7 | 2001-12-07 14:24:22 +0000 | [diff] [blame^] | 1149 | NAME="AEN10654" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1150 | ></A |
| 1151 | ><H3 |
| 1152 | ><A |
| 1153 | NAME="XMLPARSERPRINTFILECONTEXT" |
| 1154 | ></A |
| 1155 | >xmlParserPrintFileContext ()</H3 |
| 1156 | ><TABLE |
| 1157 | BORDER="0" |
| 1158 | BGCOLOR="#D6E8FF" |
| 1159 | WIDTH="100%" |
| 1160 | CELLPADDING="6" |
| 1161 | ><TR |
| 1162 | ><TD |
| 1163 | ><PRE |
| 1164 | CLASS="PROGRAMLISTING" |
| 1165 | >void xmlParserPrintFileContext (<A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame] | 1166 | HREF="libxml-tree.html#XMLPARSERINPUTPTR" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1167 | >xmlParserInputPtr</A |
| 1168 | > input);</PRE |
| 1169 | ></TD |
| 1170 | ></TR |
| 1171 | ></TABLE |
| 1172 | ><P |
| 1173 | >Displays current context within the input content for error tracking</P |
| 1174 | ><P |
| 1175 | ></P |
| 1176 | ><DIV |
| 1177 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1178 | ><A |
Daniel Veillard | ef90ba7 | 2001-12-07 14:24:22 +0000 | [diff] [blame^] | 1179 | NAME="AEN10661" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1180 | ></A |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1181 | ><P |
| 1182 | ></P |
| 1183 | ><TABLE |
| 1184 | BORDER="0" |
| 1185 | WIDTH="100%" |
| 1186 | BGCOLOR="#FFD0D0" |
| 1187 | CELLSPACING="0" |
| 1188 | CELLPADDING="4" |
| 1189 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1190 | ><TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1191 | ><TR |
| 1192 | ><TD |
| 1193 | WIDTH="20%" |
| 1194 | ALIGN="RIGHT" |
| 1195 | VALIGN="TOP" |
| 1196 | ><TT |
| 1197 | CLASS="PARAMETER" |
| 1198 | ><I |
| 1199 | >input</I |
| 1200 | ></TT |
| 1201 | > :</TD |
| 1202 | ><TD |
| 1203 | WIDTH="80%" |
| 1204 | ALIGN="LEFT" |
| 1205 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1206 | > an xmlParserInputPtr input</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1207 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1208 | ></TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1209 | ></TABLE |
| 1210 | ><P |
| 1211 | ></P |
| 1212 | ></DIV |
| 1213 | ></DIV |
| 1214 | ></DIV |
| 1215 | ><DIV |
| 1216 | CLASS="NAVFOOTER" |
| 1217 | ><BR |
| 1218 | CLEAR="all"><BR><TABLE |
| 1219 | WIDTH="100%" |
| 1220 | BORDER="0" |
| 1221 | BGCOLOR="#000000" |
| 1222 | CELLPADDING="1" |
| 1223 | CELLSPACING="0" |
| 1224 | ><TR |
| 1225 | ><TD |
| 1226 | WIDTH="25%" |
| 1227 | BGCOLOR="#C00000" |
| 1228 | ALIGN="left" |
| 1229 | ><A |
| 1230 | HREF="libxml-uri.html" |
| 1231 | ><FONT |
| 1232 | COLOR="#FFFFFF" |
| 1233 | SIZE="3" |
| 1234 | ><B |
| 1235 | ><<< Previous Page</B |
| 1236 | ></FONT |
| 1237 | ></A |
| 1238 | ></TD |
| 1239 | ><TD |
| 1240 | WIDTH="25%" |
| 1241 | BGCOLOR="#0000C0" |
| 1242 | ALIGN="center" |
| 1243 | ><FONT |
| 1244 | COLOR="#FFFFFF" |
| 1245 | SIZE="3" |
| 1246 | ><B |
| 1247 | ><A |
| 1248 | HREF="book1.html" |
| 1249 | ><FONT |
| 1250 | COLOR="#FFFFFF" |
| 1251 | SIZE="3" |
| 1252 | ><B |
| 1253 | >Home</B |
| 1254 | ></FONT |
| 1255 | ></A |
| 1256 | ></B |
| 1257 | ></FONT |
| 1258 | ></TD |
| 1259 | ><TD |
| 1260 | WIDTH="25%" |
| 1261 | BGCOLOR="#00C000" |
| 1262 | ALIGN="center" |
| 1263 | ><FONT |
| 1264 | COLOR="#FFFFFF" |
| 1265 | SIZE="3" |
| 1266 | ><B |
| 1267 | ><A |
| 1268 | HREF="libxml-lib.html" |
| 1269 | ><FONT |
| 1270 | COLOR="#FFFFFF" |
| 1271 | SIZE="3" |
| 1272 | ><B |
| 1273 | >Up</B |
| 1274 | ></FONT |
| 1275 | ></A |
| 1276 | ></B |
| 1277 | ></FONT |
| 1278 | ></TD |
| 1279 | ><TD |
| 1280 | WIDTH="25%" |
| 1281 | BGCOLOR="#C00000" |
| 1282 | ALIGN="right" |
| 1283 | ><A |
| 1284 | HREF="libxml-htmlparser.html" |
| 1285 | ><FONT |
| 1286 | COLOR="#FFFFFF" |
| 1287 | SIZE="3" |
| 1288 | ><B |
| 1289 | >Next Page >>></B |
| 1290 | ></FONT |
| 1291 | ></A |
| 1292 | ></TD |
| 1293 | ></TR |
| 1294 | ><TR |
| 1295 | ><TD |
| 1296 | COLSPAN="2" |
| 1297 | ALIGN="left" |
| 1298 | ><FONT |
| 1299 | COLOR="#FFFFFF" |
| 1300 | SIZE="3" |
| 1301 | ><B |
| 1302 | >uri</B |
| 1303 | ></FONT |
| 1304 | ></TD |
| 1305 | ><TD |
| 1306 | COLSPAN="2" |
| 1307 | ALIGN="right" |
| 1308 | ><FONT |
| 1309 | COLOR="#FFFFFF" |
| 1310 | SIZE="3" |
| 1311 | ><B |
| 1312 | >HTMLparser</B |
| 1313 | ></FONT |
| 1314 | ></TD |
| 1315 | ></TR |
| 1316 | ></TABLE |
| 1317 | ></DIV |
| 1318 | ></BODY |
| 1319 | ></HTML |
| 1320 | > |