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 | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 126 | NAME="AEN10575" |
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 | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 134 | NAME="AEN10578" |
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 | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 219 | NAME="AEN10595" |
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 | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 229 | NAME="AEN10598" |
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 | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 236 | NAME="AEN10600" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 237 | ></A |
| 238 | ><H3 |
| 239 | ><A |
| 240 | NAME="XMLPARSERERRORS" |
| 241 | ></A |
Daniel Veillard | 06622df | 2002-01-21 17:53:42 +0000 | [diff] [blame] | 242 | >>enum xmlParserErrors</H3 |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 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 */ |
Daniel Veillard | 744683d | 2002-01-14 17:30:20 +0000 | [diff] [blame] | 355 | XML_ERR_TAG_NOT_FINISHED, |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 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 | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 391 | NAME="AEN10605" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 392 | ></A |
| 393 | ><H3 |
| 394 | ><A |
| 395 | NAME="XMLGENERICERRORFUNC" |
| 396 | ></A |
Daniel Veillard | 06622df | 2002-01-21 17:53:42 +0000 | [diff] [blame] | 397 | >>xmlGenericErrorFunc ()</H3 |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 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 |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 414 | >Signature of the function to use when there is an error and |
| 415 | no parsing or validity context available</P |
| 416 | ><P |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 417 | ></P |
| 418 | ><DIV |
| 419 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 420 | ><A |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 421 | NAME="AEN10611" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 422 | ></A |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 423 | ><P |
| 424 | ></P |
| 425 | ><TABLE |
| 426 | BORDER="0" |
| 427 | WIDTH="100%" |
| 428 | BGCOLOR="#FFD0D0" |
| 429 | CELLSPACING="0" |
| 430 | CELLPADDING="4" |
| 431 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 432 | ><TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 433 | ><TR |
| 434 | ><TD |
| 435 | WIDTH="20%" |
| 436 | ALIGN="RIGHT" |
| 437 | VALIGN="TOP" |
| 438 | ><TT |
| 439 | CLASS="PARAMETER" |
| 440 | ><I |
| 441 | >ctx</I |
| 442 | ></TT |
| 443 | > :</TD |
| 444 | ><TD |
| 445 | WIDTH="80%" |
| 446 | ALIGN="LEFT" |
| 447 | VALIGN="TOP" |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 448 | > a parsing context</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 449 | ></TR |
| 450 | ><TR |
| 451 | ><TD |
| 452 | WIDTH="20%" |
| 453 | ALIGN="RIGHT" |
| 454 | VALIGN="TOP" |
| 455 | ><TT |
| 456 | CLASS="PARAMETER" |
| 457 | ><I |
| 458 | >msg</I |
| 459 | ></TT |
| 460 | > :</TD |
| 461 | ><TD |
| 462 | WIDTH="80%" |
| 463 | ALIGN="LEFT" |
| 464 | VALIGN="TOP" |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 465 | > the message</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 466 | ></TR |
| 467 | ><TR |
| 468 | ><TD |
| 469 | WIDTH="20%" |
| 470 | ALIGN="RIGHT" |
| 471 | VALIGN="TOP" |
| 472 | ><TT |
| 473 | CLASS="PARAMETER" |
| 474 | ><I |
| 475 | >...</I |
| 476 | ></TT |
| 477 | > :</TD |
| 478 | ><TD |
| 479 | WIDTH="80%" |
| 480 | ALIGN="LEFT" |
| 481 | VALIGN="TOP" |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 482 | > the extra arguments of the varags to format the message</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 483 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 484 | ></TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 485 | ></TABLE |
| 486 | ><P |
| 487 | ></P |
| 488 | ></DIV |
| 489 | ></DIV |
| 490 | ><HR><DIV |
| 491 | CLASS="REFSECT2" |
| 492 | ><A |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 493 | NAME="AEN10628" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 494 | ></A |
| 495 | ><H3 |
| 496 | ><A |
| 497 | NAME="XMLSETGENERICERRORFUNC" |
| 498 | ></A |
Daniel Veillard | 06622df | 2002-01-21 17:53:42 +0000 | [diff] [blame] | 499 | >>xmlSetGenericErrorFunc ()</H3 |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 500 | ><TABLE |
| 501 | BORDER="0" |
| 502 | BGCOLOR="#D6E8FF" |
| 503 | WIDTH="100%" |
| 504 | CELLPADDING="6" |
| 505 | ><TR |
| 506 | ><TD |
| 507 | ><PRE |
| 508 | CLASS="PROGRAMLISTING" |
| 509 | >void xmlSetGenericErrorFunc (void *ctx, |
| 510 | <A |
| 511 | HREF="libxml-xmlerror.html#XMLGENERICERRORFUNC" |
| 512 | >xmlGenericErrorFunc</A |
| 513 | > handler);</PRE |
| 514 | ></TD |
| 515 | ></TR |
| 516 | ></TABLE |
| 517 | ><P |
| 518 | >Function to reset the handler and the error context for out of |
| 519 | context error messages. |
| 520 | This simply means that <TT |
| 521 | CLASS="PARAMETER" |
| 522 | ><I |
| 523 | >handler</I |
| 524 | ></TT |
| 525 | > will be called for subsequent |
| 526 | error messages while not parsing nor validating. And <TT |
| 527 | CLASS="PARAMETER" |
| 528 | ><I |
| 529 | >ctx</I |
| 530 | ></TT |
| 531 | > will |
| 532 | be passed as first argument to <TT |
| 533 | CLASS="PARAMETER" |
| 534 | ><I |
| 535 | >handler</I |
| 536 | ></TT |
| 537 | > |
| 538 | One can simply force messages to be emitted to another FILE * than |
| 539 | stderr by setting <TT |
| 540 | CLASS="PARAMETER" |
| 541 | ><I |
| 542 | >ctx</I |
| 543 | ></TT |
| 544 | > to this file handle and <TT |
| 545 | CLASS="PARAMETER" |
| 546 | ><I |
| 547 | >handler</I |
| 548 | ></TT |
| 549 | > to NULL.</P |
| 550 | ><P |
| 551 | ></P |
| 552 | ><DIV |
| 553 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 554 | ><A |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 555 | NAME="AEN10640" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 556 | ></A |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 557 | ><P |
| 558 | ></P |
| 559 | ><TABLE |
| 560 | BORDER="0" |
| 561 | WIDTH="100%" |
| 562 | BGCOLOR="#FFD0D0" |
| 563 | CELLSPACING="0" |
| 564 | CELLPADDING="4" |
| 565 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 566 | ><TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 567 | ><TR |
| 568 | ><TD |
| 569 | WIDTH="20%" |
| 570 | ALIGN="RIGHT" |
| 571 | VALIGN="TOP" |
| 572 | ><TT |
| 573 | CLASS="PARAMETER" |
| 574 | ><I |
| 575 | >ctx</I |
| 576 | ></TT |
| 577 | > :</TD |
| 578 | ><TD |
| 579 | WIDTH="80%" |
| 580 | ALIGN="LEFT" |
| 581 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 582 | > the new error handling context</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 583 | ></TR |
| 584 | ><TR |
| 585 | ><TD |
| 586 | WIDTH="20%" |
| 587 | ALIGN="RIGHT" |
| 588 | VALIGN="TOP" |
| 589 | ><TT |
| 590 | CLASS="PARAMETER" |
| 591 | ><I |
| 592 | >handler</I |
| 593 | ></TT |
| 594 | > :</TD |
| 595 | ><TD |
| 596 | WIDTH="80%" |
| 597 | ALIGN="LEFT" |
| 598 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 599 | > the new handler function</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 600 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 601 | ></TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 602 | ></TABLE |
| 603 | ><P |
| 604 | ></P |
| 605 | ></DIV |
| 606 | ></DIV |
| 607 | ><HR><DIV |
| 608 | CLASS="REFSECT2" |
| 609 | ><A |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 610 | NAME="AEN10653" |
Daniel Veillard | 52dcab3 | 2001-10-30 12:51:17 +0000 | [diff] [blame] | 611 | ></A |
| 612 | ><H3 |
| 613 | ><A |
| 614 | NAME="INITGENERICERRORDEFAULTFUNC" |
| 615 | ></A |
Daniel Veillard | 06622df | 2002-01-21 17:53:42 +0000 | [diff] [blame] | 616 | >>initGenericErrorDefaultFunc ()</H3 |
Daniel Veillard | 52dcab3 | 2001-10-30 12:51:17 +0000 | [diff] [blame] | 617 | ><TABLE |
| 618 | BORDER="0" |
| 619 | BGCOLOR="#D6E8FF" |
| 620 | WIDTH="100%" |
| 621 | CELLPADDING="6" |
| 622 | ><TR |
| 623 | ><TD |
| 624 | ><PRE |
| 625 | CLASS="PROGRAMLISTING" |
| 626 | >void initGenericErrorDefaultFunc (<A |
| 627 | HREF="libxml-xmlerror.html#XMLGENERICERRORFUNC" |
| 628 | >xmlGenericErrorFunc</A |
| 629 | > *handler);</PRE |
| 630 | ></TD |
| 631 | ></TR |
| 632 | ></TABLE |
| 633 | ><P |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 634 | >Set or reset (if NULL) the default handler for generic errors</P |
| 635 | ><P |
Daniel Veillard | 52dcab3 | 2001-10-30 12:51:17 +0000 | [diff] [blame] | 636 | ></P |
| 637 | ><DIV |
| 638 | CLASS="INFORMALTABLE" |
| 639 | ><A |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 640 | NAME="AEN10660" |
Daniel Veillard | 52dcab3 | 2001-10-30 12:51:17 +0000 | [diff] [blame] | 641 | ></A |
| 642 | ><P |
| 643 | ></P |
| 644 | ><TABLE |
| 645 | BORDER="0" |
| 646 | WIDTH="100%" |
| 647 | BGCOLOR="#FFD0D0" |
| 648 | CELLSPACING="0" |
| 649 | CELLPADDING="4" |
| 650 | CLASS="CALSTABLE" |
| 651 | ><TBODY |
| 652 | ><TR |
| 653 | ><TD |
| 654 | WIDTH="20%" |
| 655 | ALIGN="RIGHT" |
| 656 | VALIGN="TOP" |
| 657 | ><TT |
| 658 | CLASS="PARAMETER" |
| 659 | ><I |
| 660 | >handler</I |
| 661 | ></TT |
| 662 | > :</TD |
| 663 | ><TD |
| 664 | WIDTH="80%" |
| 665 | ALIGN="LEFT" |
| 666 | VALIGN="TOP" |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 667 | > the handler</TD |
Daniel Veillard | 52dcab3 | 2001-10-30 12:51:17 +0000 | [diff] [blame] | 668 | ></TR |
| 669 | ></TBODY |
| 670 | ></TABLE |
| 671 | ><P |
| 672 | ></P |
| 673 | ></DIV |
| 674 | ></DIV |
| 675 | ><HR><DIV |
| 676 | CLASS="REFSECT2" |
| 677 | ><A |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 678 | NAME="AEN10669" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 679 | ></A |
| 680 | ><H3 |
| 681 | ><A |
| 682 | NAME="XMLPARSERERROR" |
| 683 | ></A |
Daniel Veillard | 06622df | 2002-01-21 17:53:42 +0000 | [diff] [blame] | 684 | >>xmlParserError ()</H3 |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 685 | ><TABLE |
| 686 | BORDER="0" |
| 687 | BGCOLOR="#D6E8FF" |
| 688 | WIDTH="100%" |
| 689 | CELLPADDING="6" |
| 690 | ><TR |
| 691 | ><TD |
| 692 | ><PRE |
| 693 | CLASS="PROGRAMLISTING" |
| 694 | >void xmlParserError (void *ctx, |
| 695 | const char *msg, |
| 696 | ...);</PRE |
| 697 | ></TD |
| 698 | ></TR |
| 699 | ></TABLE |
| 700 | ><P |
| 701 | >Display and format an error messages, gives file, line, position and |
| 702 | extra parameters.</P |
| 703 | ><P |
| 704 | ></P |
| 705 | ><DIV |
| 706 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 707 | ><A |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 708 | NAME="AEN10675" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 709 | ></A |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 710 | ><P |
| 711 | ></P |
| 712 | ><TABLE |
| 713 | BORDER="0" |
| 714 | WIDTH="100%" |
| 715 | BGCOLOR="#FFD0D0" |
| 716 | CELLSPACING="0" |
| 717 | CELLPADDING="4" |
| 718 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 719 | ><TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 720 | ><TR |
| 721 | ><TD |
| 722 | WIDTH="20%" |
| 723 | ALIGN="RIGHT" |
| 724 | VALIGN="TOP" |
| 725 | ><TT |
| 726 | CLASS="PARAMETER" |
| 727 | ><I |
| 728 | >ctx</I |
| 729 | ></TT |
| 730 | > :</TD |
| 731 | ><TD |
| 732 | WIDTH="80%" |
| 733 | ALIGN="LEFT" |
| 734 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 735 | > an XML parser context</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 736 | ></TR |
| 737 | ><TR |
| 738 | ><TD |
| 739 | WIDTH="20%" |
| 740 | ALIGN="RIGHT" |
| 741 | VALIGN="TOP" |
| 742 | ><TT |
| 743 | CLASS="PARAMETER" |
| 744 | ><I |
| 745 | >msg</I |
| 746 | ></TT |
| 747 | > :</TD |
| 748 | ><TD |
| 749 | WIDTH="80%" |
| 750 | ALIGN="LEFT" |
| 751 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 752 | > the message to display/transmit</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 753 | ></TR |
| 754 | ><TR |
| 755 | ><TD |
| 756 | WIDTH="20%" |
| 757 | ALIGN="RIGHT" |
| 758 | VALIGN="TOP" |
| 759 | ><TT |
| 760 | CLASS="PARAMETER" |
| 761 | ><I |
| 762 | >...</I |
| 763 | ></TT |
| 764 | > :</TD |
| 765 | ><TD |
| 766 | WIDTH="80%" |
| 767 | ALIGN="LEFT" |
| 768 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 769 | > extra parameters for the message display</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 770 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 771 | ></TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 772 | ></TABLE |
| 773 | ><P |
| 774 | ></P |
| 775 | ></DIV |
| 776 | ></DIV |
| 777 | ><HR><DIV |
| 778 | CLASS="REFSECT2" |
| 779 | ><A |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 780 | NAME="AEN10692" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 781 | ></A |
| 782 | ><H3 |
| 783 | ><A |
| 784 | NAME="XMLPARSERWARNING" |
| 785 | ></A |
Daniel Veillard | 06622df | 2002-01-21 17:53:42 +0000 | [diff] [blame] | 786 | >>xmlParserWarning ()</H3 |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 787 | ><TABLE |
| 788 | BORDER="0" |
| 789 | BGCOLOR="#D6E8FF" |
| 790 | WIDTH="100%" |
| 791 | CELLPADDING="6" |
| 792 | ><TR |
| 793 | ><TD |
| 794 | ><PRE |
| 795 | CLASS="PROGRAMLISTING" |
| 796 | >void xmlParserWarning (void *ctx, |
| 797 | const char *msg, |
| 798 | ...);</PRE |
| 799 | ></TD |
| 800 | ></TR |
| 801 | ></TABLE |
| 802 | ><P |
| 803 | >Display and format a warning messages, gives file, line, position and |
| 804 | extra parameters.</P |
| 805 | ><P |
| 806 | ></P |
| 807 | ><DIV |
| 808 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 809 | ><A |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 810 | NAME="AEN10698" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 811 | ></A |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 812 | ><P |
| 813 | ></P |
| 814 | ><TABLE |
| 815 | BORDER="0" |
| 816 | WIDTH="100%" |
| 817 | BGCOLOR="#FFD0D0" |
| 818 | CELLSPACING="0" |
| 819 | CELLPADDING="4" |
| 820 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 821 | ><TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 822 | ><TR |
| 823 | ><TD |
| 824 | WIDTH="20%" |
| 825 | ALIGN="RIGHT" |
| 826 | VALIGN="TOP" |
| 827 | ><TT |
| 828 | CLASS="PARAMETER" |
| 829 | ><I |
| 830 | >ctx</I |
| 831 | ></TT |
| 832 | > :</TD |
| 833 | ><TD |
| 834 | WIDTH="80%" |
| 835 | ALIGN="LEFT" |
| 836 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 837 | > an XML parser context</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 838 | ></TR |
| 839 | ><TR |
| 840 | ><TD |
| 841 | WIDTH="20%" |
| 842 | ALIGN="RIGHT" |
| 843 | VALIGN="TOP" |
| 844 | ><TT |
| 845 | CLASS="PARAMETER" |
| 846 | ><I |
| 847 | >msg</I |
| 848 | ></TT |
| 849 | > :</TD |
| 850 | ><TD |
| 851 | WIDTH="80%" |
| 852 | ALIGN="LEFT" |
| 853 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 854 | > the message to display/transmit</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 855 | ></TR |
| 856 | ><TR |
| 857 | ><TD |
| 858 | WIDTH="20%" |
| 859 | ALIGN="RIGHT" |
| 860 | VALIGN="TOP" |
| 861 | ><TT |
| 862 | CLASS="PARAMETER" |
| 863 | ><I |
| 864 | >...</I |
| 865 | ></TT |
| 866 | > :</TD |
| 867 | ><TD |
| 868 | WIDTH="80%" |
| 869 | ALIGN="LEFT" |
| 870 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 871 | > extra parameters for the message display</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 872 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 873 | ></TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 874 | ></TABLE |
| 875 | ><P |
| 876 | ></P |
| 877 | ></DIV |
| 878 | ></DIV |
| 879 | ><HR><DIV |
| 880 | CLASS="REFSECT2" |
| 881 | ><A |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 882 | NAME="AEN10715" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 883 | ></A |
| 884 | ><H3 |
| 885 | ><A |
| 886 | NAME="XMLPARSERVALIDITYERROR" |
| 887 | ></A |
Daniel Veillard | 06622df | 2002-01-21 17:53:42 +0000 | [diff] [blame] | 888 | >>xmlParserValidityError ()</H3 |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 889 | ><TABLE |
| 890 | BORDER="0" |
| 891 | BGCOLOR="#D6E8FF" |
| 892 | WIDTH="100%" |
| 893 | CELLPADDING="6" |
| 894 | ><TR |
| 895 | ><TD |
| 896 | ><PRE |
| 897 | CLASS="PROGRAMLISTING" |
| 898 | >void xmlParserValidityError (void *ctx, |
| 899 | const char *msg, |
| 900 | ...);</PRE |
| 901 | ></TD |
| 902 | ></TR |
| 903 | ></TABLE |
| 904 | ><P |
| 905 | >Display and format an validity error messages, gives file, |
| 906 | line, position and extra parameters.</P |
| 907 | ><P |
| 908 | ></P |
| 909 | ><DIV |
| 910 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 911 | ><A |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 912 | NAME="AEN10721" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 913 | ></A |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 914 | ><P |
| 915 | ></P |
| 916 | ><TABLE |
| 917 | BORDER="0" |
| 918 | WIDTH="100%" |
| 919 | BGCOLOR="#FFD0D0" |
| 920 | CELLSPACING="0" |
| 921 | CELLPADDING="4" |
| 922 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 923 | ><TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 924 | ><TR |
| 925 | ><TD |
| 926 | WIDTH="20%" |
| 927 | ALIGN="RIGHT" |
| 928 | VALIGN="TOP" |
| 929 | ><TT |
| 930 | CLASS="PARAMETER" |
| 931 | ><I |
| 932 | >ctx</I |
| 933 | ></TT |
| 934 | > :</TD |
| 935 | ><TD |
| 936 | WIDTH="80%" |
| 937 | ALIGN="LEFT" |
| 938 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 939 | > an XML parser context</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 940 | ></TR |
| 941 | ><TR |
| 942 | ><TD |
| 943 | WIDTH="20%" |
| 944 | ALIGN="RIGHT" |
| 945 | VALIGN="TOP" |
| 946 | ><TT |
| 947 | CLASS="PARAMETER" |
| 948 | ><I |
| 949 | >msg</I |
| 950 | ></TT |
| 951 | > :</TD |
| 952 | ><TD |
| 953 | WIDTH="80%" |
| 954 | ALIGN="LEFT" |
| 955 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 956 | > the message to display/transmit</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 957 | ></TR |
| 958 | ><TR |
| 959 | ><TD |
| 960 | WIDTH="20%" |
| 961 | ALIGN="RIGHT" |
| 962 | VALIGN="TOP" |
| 963 | ><TT |
| 964 | CLASS="PARAMETER" |
| 965 | ><I |
| 966 | >...</I |
| 967 | ></TT |
| 968 | > :</TD |
| 969 | ><TD |
| 970 | WIDTH="80%" |
| 971 | ALIGN="LEFT" |
| 972 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 973 | > extra parameters for the message display</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 974 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 975 | ></TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 976 | ></TABLE |
| 977 | ><P |
| 978 | ></P |
| 979 | ></DIV |
| 980 | ></DIV |
| 981 | ><HR><DIV |
| 982 | CLASS="REFSECT2" |
| 983 | ><A |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 984 | NAME="AEN10738" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 985 | ></A |
| 986 | ><H3 |
| 987 | ><A |
| 988 | NAME="XMLPARSERVALIDITYWARNING" |
| 989 | ></A |
Daniel Veillard | 06622df | 2002-01-21 17:53:42 +0000 | [diff] [blame] | 990 | >>xmlParserValidityWarning ()</H3 |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 991 | ><TABLE |
| 992 | BORDER="0" |
| 993 | BGCOLOR="#D6E8FF" |
| 994 | WIDTH="100%" |
| 995 | CELLPADDING="6" |
| 996 | ><TR |
| 997 | ><TD |
| 998 | ><PRE |
| 999 | CLASS="PROGRAMLISTING" |
| 1000 | >void xmlParserValidityWarning (void *ctx, |
| 1001 | const char *msg, |
| 1002 | ...);</PRE |
| 1003 | ></TD |
| 1004 | ></TR |
| 1005 | ></TABLE |
| 1006 | ><P |
| 1007 | >Display and format a validity warning messages, gives file, line, |
| 1008 | position and extra parameters.</P |
| 1009 | ><P |
| 1010 | ></P |
| 1011 | ><DIV |
| 1012 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1013 | ><A |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 1014 | NAME="AEN10744" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1015 | ></A |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1016 | ><P |
| 1017 | ></P |
| 1018 | ><TABLE |
| 1019 | BORDER="0" |
| 1020 | WIDTH="100%" |
| 1021 | BGCOLOR="#FFD0D0" |
| 1022 | CELLSPACING="0" |
| 1023 | CELLPADDING="4" |
| 1024 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1025 | ><TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1026 | ><TR |
| 1027 | ><TD |
| 1028 | WIDTH="20%" |
| 1029 | ALIGN="RIGHT" |
| 1030 | VALIGN="TOP" |
| 1031 | ><TT |
| 1032 | CLASS="PARAMETER" |
| 1033 | ><I |
| 1034 | >ctx</I |
| 1035 | ></TT |
| 1036 | > :</TD |
| 1037 | ><TD |
| 1038 | WIDTH="80%" |
| 1039 | ALIGN="LEFT" |
| 1040 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1041 | > an XML parser context</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1042 | ></TR |
| 1043 | ><TR |
| 1044 | ><TD |
| 1045 | WIDTH="20%" |
| 1046 | ALIGN="RIGHT" |
| 1047 | VALIGN="TOP" |
| 1048 | ><TT |
| 1049 | CLASS="PARAMETER" |
| 1050 | ><I |
| 1051 | >msg</I |
| 1052 | ></TT |
| 1053 | > :</TD |
| 1054 | ><TD |
| 1055 | WIDTH="80%" |
| 1056 | ALIGN="LEFT" |
| 1057 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1058 | > the message to display/transmit</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1059 | ></TR |
| 1060 | ><TR |
| 1061 | ><TD |
| 1062 | WIDTH="20%" |
| 1063 | ALIGN="RIGHT" |
| 1064 | VALIGN="TOP" |
| 1065 | ><TT |
| 1066 | CLASS="PARAMETER" |
| 1067 | ><I |
| 1068 | >...</I |
| 1069 | ></TT |
| 1070 | > :</TD |
| 1071 | ><TD |
| 1072 | WIDTH="80%" |
| 1073 | ALIGN="LEFT" |
| 1074 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1075 | > extra parameters for the message display</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1076 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1077 | ></TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1078 | ></TABLE |
| 1079 | ><P |
| 1080 | ></P |
| 1081 | ></DIV |
| 1082 | ></DIV |
| 1083 | ><HR><DIV |
| 1084 | CLASS="REFSECT2" |
| 1085 | ><A |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 1086 | NAME="AEN10761" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1087 | ></A |
| 1088 | ><H3 |
| 1089 | ><A |
| 1090 | NAME="XMLPARSERPRINTFILEINFO" |
| 1091 | ></A |
Daniel Veillard | 06622df | 2002-01-21 17:53:42 +0000 | [diff] [blame] | 1092 | >>xmlParserPrintFileInfo ()</H3 |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1093 | ><TABLE |
| 1094 | BORDER="0" |
| 1095 | BGCOLOR="#D6E8FF" |
| 1096 | WIDTH="100%" |
| 1097 | CELLPADDING="6" |
| 1098 | ><TR |
| 1099 | ><TD |
| 1100 | ><PRE |
| 1101 | CLASS="PROGRAMLISTING" |
| 1102 | >void xmlParserPrintFileInfo (<A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame] | 1103 | HREF="libxml-tree.html#XMLPARSERINPUTPTR" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1104 | >xmlParserInputPtr</A |
| 1105 | > input);</PRE |
| 1106 | ></TD |
| 1107 | ></TR |
| 1108 | ></TABLE |
| 1109 | ><P |
| 1110 | >Displays the associated file and line informations for the current input</P |
| 1111 | ><P |
| 1112 | ></P |
| 1113 | ><DIV |
| 1114 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1115 | ><A |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 1116 | NAME="AEN10768" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1117 | ></A |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1118 | ><P |
| 1119 | ></P |
| 1120 | ><TABLE |
| 1121 | BORDER="0" |
| 1122 | WIDTH="100%" |
| 1123 | BGCOLOR="#FFD0D0" |
| 1124 | CELLSPACING="0" |
| 1125 | CELLPADDING="4" |
| 1126 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1127 | ><TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1128 | ><TR |
| 1129 | ><TD |
| 1130 | WIDTH="20%" |
| 1131 | ALIGN="RIGHT" |
| 1132 | VALIGN="TOP" |
| 1133 | ><TT |
| 1134 | CLASS="PARAMETER" |
| 1135 | ><I |
| 1136 | >input</I |
| 1137 | ></TT |
| 1138 | > :</TD |
| 1139 | ><TD |
| 1140 | WIDTH="80%" |
| 1141 | ALIGN="LEFT" |
| 1142 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1143 | > an xmlParserInputPtr input</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1144 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1145 | ></TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1146 | ></TABLE |
| 1147 | ><P |
| 1148 | ></P |
| 1149 | ></DIV |
| 1150 | ></DIV |
| 1151 | ><HR><DIV |
| 1152 | CLASS="REFSECT2" |
| 1153 | ><A |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 1154 | NAME="AEN10777" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1155 | ></A |
| 1156 | ><H3 |
| 1157 | ><A |
| 1158 | NAME="XMLPARSERPRINTFILECONTEXT" |
| 1159 | ></A |
Daniel Veillard | 06622df | 2002-01-21 17:53:42 +0000 | [diff] [blame] | 1160 | >>xmlParserPrintFileContext ()</H3 |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1161 | ><TABLE |
| 1162 | BORDER="0" |
| 1163 | BGCOLOR="#D6E8FF" |
| 1164 | WIDTH="100%" |
| 1165 | CELLPADDING="6" |
| 1166 | ><TR |
| 1167 | ><TD |
| 1168 | ><PRE |
| 1169 | CLASS="PROGRAMLISTING" |
| 1170 | >void xmlParserPrintFileContext (<A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame] | 1171 | HREF="libxml-tree.html#XMLPARSERINPUTPTR" |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1172 | >xmlParserInputPtr</A |
| 1173 | > input);</PRE |
| 1174 | ></TD |
| 1175 | ></TR |
| 1176 | ></TABLE |
| 1177 | ><P |
| 1178 | >Displays current context within the input content for error tracking</P |
| 1179 | ><P |
| 1180 | ></P |
| 1181 | ><DIV |
| 1182 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1183 | ><A |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame^] | 1184 | NAME="AEN10784" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1185 | ></A |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1186 | ><P |
| 1187 | ></P |
| 1188 | ><TABLE |
| 1189 | BORDER="0" |
| 1190 | WIDTH="100%" |
| 1191 | BGCOLOR="#FFD0D0" |
| 1192 | CELLSPACING="0" |
| 1193 | CELLPADDING="4" |
| 1194 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1195 | ><TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1196 | ><TR |
| 1197 | ><TD |
| 1198 | WIDTH="20%" |
| 1199 | ALIGN="RIGHT" |
| 1200 | VALIGN="TOP" |
| 1201 | ><TT |
| 1202 | CLASS="PARAMETER" |
| 1203 | ><I |
| 1204 | >input</I |
| 1205 | ></TT |
| 1206 | > :</TD |
| 1207 | ><TD |
| 1208 | WIDTH="80%" |
| 1209 | ALIGN="LEFT" |
| 1210 | VALIGN="TOP" |
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 1211 | > an xmlParserInputPtr input</TD |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1212 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1213 | ></TBODY |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 1214 | ></TABLE |
| 1215 | ><P |
| 1216 | ></P |
| 1217 | ></DIV |
| 1218 | ></DIV |
| 1219 | ></DIV |
| 1220 | ><DIV |
| 1221 | CLASS="NAVFOOTER" |
| 1222 | ><BR |
| 1223 | CLEAR="all"><BR><TABLE |
| 1224 | WIDTH="100%" |
| 1225 | BORDER="0" |
| 1226 | BGCOLOR="#000000" |
| 1227 | CELLPADDING="1" |
| 1228 | CELLSPACING="0" |
| 1229 | ><TR |
| 1230 | ><TD |
| 1231 | WIDTH="25%" |
| 1232 | BGCOLOR="#C00000" |
| 1233 | ALIGN="left" |
| 1234 | ><A |
| 1235 | HREF="libxml-uri.html" |
| 1236 | ><FONT |
| 1237 | COLOR="#FFFFFF" |
| 1238 | SIZE="3" |
| 1239 | ><B |
| 1240 | ><<< Previous Page</B |
| 1241 | ></FONT |
| 1242 | ></A |
| 1243 | ></TD |
| 1244 | ><TD |
| 1245 | WIDTH="25%" |
| 1246 | BGCOLOR="#0000C0" |
| 1247 | ALIGN="center" |
| 1248 | ><FONT |
| 1249 | COLOR="#FFFFFF" |
| 1250 | SIZE="3" |
| 1251 | ><B |
| 1252 | ><A |
| 1253 | HREF="book1.html" |
| 1254 | ><FONT |
| 1255 | COLOR="#FFFFFF" |
| 1256 | SIZE="3" |
| 1257 | ><B |
| 1258 | >Home</B |
| 1259 | ></FONT |
| 1260 | ></A |
| 1261 | ></B |
| 1262 | ></FONT |
| 1263 | ></TD |
| 1264 | ><TD |
| 1265 | WIDTH="25%" |
| 1266 | BGCOLOR="#00C000" |
| 1267 | ALIGN="center" |
| 1268 | ><FONT |
| 1269 | COLOR="#FFFFFF" |
| 1270 | SIZE="3" |
| 1271 | ><B |
| 1272 | ><A |
| 1273 | HREF="libxml-lib.html" |
| 1274 | ><FONT |
| 1275 | COLOR="#FFFFFF" |
| 1276 | SIZE="3" |
| 1277 | ><B |
| 1278 | >Up</B |
| 1279 | ></FONT |
| 1280 | ></A |
| 1281 | ></B |
| 1282 | ></FONT |
| 1283 | ></TD |
| 1284 | ><TD |
| 1285 | WIDTH="25%" |
| 1286 | BGCOLOR="#C00000" |
| 1287 | ALIGN="right" |
| 1288 | ><A |
| 1289 | HREF="libxml-htmlparser.html" |
| 1290 | ><FONT |
| 1291 | COLOR="#FFFFFF" |
| 1292 | SIZE="3" |
| 1293 | ><B |
| 1294 | >Next Page >>></B |
| 1295 | ></FONT |
| 1296 | ></A |
| 1297 | ></TD |
| 1298 | ></TR |
| 1299 | ><TR |
| 1300 | ><TD |
| 1301 | COLSPAN="2" |
| 1302 | ALIGN="left" |
| 1303 | ><FONT |
| 1304 | COLOR="#FFFFFF" |
| 1305 | SIZE="3" |
| 1306 | ><B |
| 1307 | >uri</B |
| 1308 | ></FONT |
| 1309 | ></TD |
| 1310 | ><TD |
| 1311 | COLSPAN="2" |
| 1312 | ALIGN="right" |
| 1313 | ><FONT |
| 1314 | COLOR="#FFFFFF" |
| 1315 | SIZE="3" |
| 1316 | ><B |
| 1317 | >HTMLparser</B |
| 1318 | ></FONT |
| 1319 | ></TD |
| 1320 | ></TR |
| 1321 | ></TABLE |
| 1322 | ></DIV |
| 1323 | ></BODY |
| 1324 | ></HTML |
| 1325 | > |