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