blob: 69ffd1c1289ec761cb9f96e57a4a91e5a7749385 [file] [log] [blame]
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001<HTML
2><HEAD
3><TITLE
4>xmlerror</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard539638b2002-07-06 19:55:14 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
Daniel Veillard60087f32001-10-10 09:45:09 +00008"><LINK
Daniel Veillard7d6fd212001-05-10 15:34:11 +00009REL="HOME"
10TITLE="Gnome XML Library Reference Manual"
11HREF="book1.html"><LINK
12REL="UP"
13TITLE="Libxml Library Reference"
14HREF="libxml-lib.html"><LINK
15REL="PREVIOUS"
16TITLE="uri"
17HREF="libxml-uri.html"><LINK
18REL="NEXT"
19TITLE="HTMLparser"
20HREF="libxml-htmlparser.html"></HEAD
21><BODY
Daniel Veillardbed7b052001-05-19 14:59:49 +000022CLASS="REFENTRY"
Daniel Veillard7d6fd212001-05-10 15:34:11 +000023BGCOLOR="#FFFFFF"
24TEXT="#000000"
25LINK="#0000FF"
26VLINK="#840084"
27ALINK="#0000FF"
28><DIV
29CLASS="NAVHEADER"
30><TABLE
31WIDTH="100%"
32BORDER="0"
33BGCOLOR="#000000"
34CELLPADDING="1"
35CELLSPACING="0"
36><TR
37><TH
38COLSPAN="4"
39ALIGN="center"
40><FONT
41COLOR="#FFFFFF"
42SIZE="5"
43>Gnome XML Library Reference Manual</FONT
44></TH
45></TR
46><TR
47><TD
48WIDTH="25%"
49BGCOLOR="#C00000"
50ALIGN="left"
51><A
52HREF="libxml-uri.html"
53><FONT
54COLOR="#FFFFFF"
55SIZE="3"
56><B
57>&#60;&#60;&#60; Previous Page</B
58></FONT
59></A
60></TD
61><TD
62WIDTH="25%"
63BGCOLOR="#0000C0"
64ALIGN="center"
65><FONT
66COLOR="#FFFFFF"
67SIZE="3"
68><B
69><A
70HREF="book1.html"
71><FONT
72COLOR="#FFFFFF"
73SIZE="3"
74><B
75>Home</B
76></FONT
77></A
78></B
79></FONT
80></TD
81><TD
82WIDTH="25%"
83BGCOLOR="#00C000"
84ALIGN="center"
85><FONT
86COLOR="#FFFFFF"
87SIZE="3"
88><B
89><A
90HREF="libxml-lib.html"
91><FONT
92COLOR="#FFFFFF"
93SIZE="3"
94><B
95>Up</B
96></FONT
97></A
98></B
99></FONT
100></TD
101><TD
102WIDTH="25%"
103BGCOLOR="#C00000"
104ALIGN="right"
105><A
106HREF="libxml-htmlparser.html"
107><FONT
108COLOR="#FFFFFF"
109SIZE="3"
110><B
111>Next Page &#62;&#62;&#62;</B
112></FONT
113></A
114></TD
115></TR
116></TABLE
117></DIV
118><H1
119><A
Daniel Veillardaec63562003-03-23 20:42:17 +0000120NAME="LIBXML-XMLERROR"
121></A
122>xmlerror</H1
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000123><DIV
124CLASS="REFNAMEDIV"
125><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000126NAME="AEN12811"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000127></A
128><H2
129>Name</H2
130>xmlerror&nbsp;--&nbsp;</DIV
131><DIV
132CLASS="REFSYNOPSISDIV"
133><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000134NAME="AEN12814"
Daniel Veillardaec63562003-03-23 20:42:17 +0000135></A
136><H2
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000137>Synopsis</H2
138><TABLE
139BORDER="0"
140BGCOLOR="#D6E8FF"
141WIDTH="100%"
142CELLPADDING="6"
143><TR
144><TD
145><PRE
146CLASS="SYNOPSIS"
147>&#13;
148
149enum <A
150HREF="libxml-xmlerror.html#XMLPARSERERRORS"
151>xmlParserErrors</A
152>;
153void (<A
154HREF="libxml-xmlerror.html#XMLGENERICERRORFUNC"
155>*xmlGenericErrorFunc</A
156>) (void *ctx,
157 const char *msg,
158 ...);
159void <A
160HREF="libxml-xmlerror.html#XMLSETGENERICERRORFUNC"
161>xmlSetGenericErrorFunc</A
162> (void *ctx,
163 <A
164HREF="libxml-xmlerror.html#XMLGENERICERRORFUNC"
165>xmlGenericErrorFunc</A
166> handler);
167void <A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000168HREF="libxml-xmlerror.html#INITGENERICERRORDEFAULTFUNC"
169>initGenericErrorDefaultFunc</A
170> (<A
171HREF="libxml-xmlerror.html#XMLGENERICERRORFUNC"
172>xmlGenericErrorFunc</A
173> *handler);
174void <A
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000175HREF="libxml-xmlerror.html#XMLPARSERERROR"
176>xmlParserError</A
177> (void *ctx,
178 const char *msg,
179 ...);
180void <A
181HREF="libxml-xmlerror.html#XMLPARSERWARNING"
182>xmlParserWarning</A
183> (void *ctx,
184 const char *msg,
185 ...);
186void <A
187HREF="libxml-xmlerror.html#XMLPARSERVALIDITYERROR"
188>xmlParserValidityError</A
189> (void *ctx,
190 const char *msg,
191 ...);
192void <A
193HREF="libxml-xmlerror.html#XMLPARSERVALIDITYWARNING"
194>xmlParserValidityWarning</A
195> (void *ctx,
196 const char *msg,
197 ...);
198void <A
199HREF="libxml-xmlerror.html#XMLPARSERPRINTFILEINFO"
200>xmlParserPrintFileInfo</A
201> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000202HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000203>xmlParserInputPtr</A
204> input);
205void <A
206HREF="libxml-xmlerror.html#XMLPARSERPRINTFILECONTEXT"
207>xmlParserPrintFileContext</A
208> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000209HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000210>xmlParserInputPtr</A
211> input);</PRE
212></TD
213></TR
214></TABLE
215></DIV
216><DIV
217CLASS="REFSECT1"
218><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000219NAME="AEN12831"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000220></A
221><H2
222>Description</H2
223><P
224></P
225></DIV
226><DIV
227CLASS="REFSECT1"
228><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000229NAME="AEN12834"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000230></A
231><H2
232>Details</H2
233><DIV
234CLASS="REFSECT2"
235><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000236NAME="AEN12836"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000237></A
238><H3
239><A
240NAME="XMLPARSERERRORS"
241></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000242>enum xmlParserErrors</H3
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000243><TABLE
244BORDER="0"
245BGCOLOR="#D6E8FF"
246WIDTH="100%"
247CELLPADDING="6"
248><TR
249><TD
250><PRE
251CLASS="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 Veillard744683d2002-01-14 17:30:20 +0000355 XML_ERR_TAG_NOT_FINISHED,
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000356
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 Veillarde7ead2d2001-08-22 23:44:09 +0000378 XML_ERR_URI_FRAGMENT, /* 92 */
Daniel Veillard04382ae2001-09-12 18:51:30 +0000379 XML_WAR_CATALOG_PI, /* 93 */
380 XML_ERR_NO_DTD /* 94 */
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000381}xmlParserErrors;</PRE
382></TD
383></TR
384></TABLE
385><P
386></P
387></DIV
388><HR><DIV
389CLASS="REFSECT2"
390><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000391NAME="AEN12841"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000392></A
393><H3
394><A
395NAME="XMLGENERICERRORFUNC"
396></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000397>xmlGenericErrorFunc ()</H3
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000398><TABLE
399BORDER="0"
400BGCOLOR="#D6E8FF"
401WIDTH="100%"
402CELLPADDING="6"
403><TR
404><TD
405><PRE
406CLASS="PROGRAMLISTING"
407>void (*xmlGenericErrorFunc) (void *ctx,
408 const char *msg,
409 ...);</PRE
410></TD
411></TR
412></TABLE
413><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000414>Signature of the function to use when there is an error and
Daniel Veillard19274092002-03-25 16:48:03 +0000415no parsing or validity context available .</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000416><P
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000417></P
418><DIV
419CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000420><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000421NAME="AEN12847"
Daniel Veillardaec63562003-03-23 20:42:17 +0000422></A
423><P
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000424></P
425><TABLE
426BORDER="0"
427WIDTH="100%"
428BGCOLOR="#FFD0D0"
429CELLSPACING="0"
430CELLPADDING="4"
431CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000432><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000433><TR
434><TD
435WIDTH="20%"
436ALIGN="RIGHT"
437VALIGN="TOP"
438><TT
439CLASS="PARAMETER"
440><I
441>ctx</I
442></TT
443>&nbsp;:</TD
444><TD
445WIDTH="80%"
446ALIGN="LEFT"
447VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000448>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000449></TR
450><TR
451><TD
452WIDTH="20%"
453ALIGN="RIGHT"
454VALIGN="TOP"
455><TT
456CLASS="PARAMETER"
457><I
458>msg</I
459></TT
460>&nbsp;:</TD
461><TD
462WIDTH="80%"
463ALIGN="LEFT"
464VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000465>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000466></TR
467><TR
468><TD
469WIDTH="20%"
470ALIGN="RIGHT"
471VALIGN="TOP"
472><TT
473CLASS="PARAMETER"
474><I
475>...</I
476></TT
477>&nbsp;:</TD
478><TD
479WIDTH="80%"
480ALIGN="LEFT"
481VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000482>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000483></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000484></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000485></TABLE
486><P
487></P
488></DIV
489></DIV
490><HR><DIV
491CLASS="REFSECT2"
492><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000493NAME="AEN12864"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000494></A
495><H3
496><A
497NAME="XMLSETGENERICERRORFUNC"
498></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000499>xmlSetGenericErrorFunc ()</H3
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000500><TABLE
501BORDER="0"
502BGCOLOR="#D6E8FF"
503WIDTH="100%"
504CELLPADDING="6"
505><TR
506><TD
507><PRE
508CLASS="PROGRAMLISTING"
509>void xmlSetGenericErrorFunc (void *ctx,
510 <A
511HREF="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
519context error messages.
520This simply means that <TT
521CLASS="PARAMETER"
522><I
523>handler</I
524></TT
525> will be called for subsequent
526error messages while not parsing nor validating. And <TT
527CLASS="PARAMETER"
528><I
529>ctx</I
530></TT
531> will
532be passed as first argument to <TT
533CLASS="PARAMETER"
534><I
535>handler</I
536></TT
537>
538One can simply force messages to be emitted to another FILE * than
539stderr by setting <TT
540CLASS="PARAMETER"
541><I
542>ctx</I
543></TT
544> to this file handle and <TT
545CLASS="PARAMETER"
546><I
547>handler</I
548></TT
549> to NULL.</P
550><P
551></P
552><DIV
553CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000554><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000555NAME="AEN12876"
Daniel Veillardaec63562003-03-23 20:42:17 +0000556></A
557><P
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000558></P
559><TABLE
560BORDER="0"
561WIDTH="100%"
562BGCOLOR="#FFD0D0"
563CELLSPACING="0"
564CELLPADDING="4"
565CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000566><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000567><TR
568><TD
569WIDTH="20%"
570ALIGN="RIGHT"
571VALIGN="TOP"
572><TT
573CLASS="PARAMETER"
574><I
575>ctx</I
576></TT
577>&nbsp;:</TD
578><TD
579WIDTH="80%"
580ALIGN="LEFT"
581VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000582>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000583></TR
584><TR
585><TD
586WIDTH="20%"
587ALIGN="RIGHT"
588VALIGN="TOP"
589><TT
590CLASS="PARAMETER"
591><I
592>handler</I
593></TT
594>&nbsp;:</TD
595><TD
596WIDTH="80%"
597ALIGN="LEFT"
598VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000599>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000600></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000601></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000602></TABLE
603><P
604></P
605></DIV
606></DIV
607><HR><DIV
608CLASS="REFSECT2"
609><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000610NAME="AEN12889"
Daniel Veillard52dcab32001-10-30 12:51:17 +0000611></A
612><H3
613><A
614NAME="INITGENERICERRORDEFAULTFUNC"
615></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000616>initGenericErrorDefaultFunc ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +0000617><TABLE
618BORDER="0"
619BGCOLOR="#D6E8FF"
620WIDTH="100%"
621CELLPADDING="6"
622><TR
623><TD
624><PRE
625CLASS="PROGRAMLISTING"
626>void initGenericErrorDefaultFunc (<A
627HREF="libxml-xmlerror.html#XMLGENERICERRORFUNC"
628>xmlGenericErrorFunc</A
629> *handler);</PRE
630></TD
631></TR
632></TABLE
633><P
Daniel Veillardaec63562003-03-23 20:42:17 +0000634>Set or reset (if NULL) the default handler for generic errors
635to the builtin error function.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000636><P
Daniel Veillard52dcab32001-10-30 12:51:17 +0000637></P
638><DIV
639CLASS="INFORMALTABLE"
640><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000641NAME="AEN12896"
Daniel Veillardaec63562003-03-23 20:42:17 +0000642></A
643><P
Daniel Veillard52dcab32001-10-30 12:51:17 +0000644></P
645><TABLE
646BORDER="0"
647WIDTH="100%"
648BGCOLOR="#FFD0D0"
649CELLSPACING="0"
650CELLPADDING="4"
651CLASS="CALSTABLE"
652><TBODY
653><TR
654><TD
655WIDTH="20%"
656ALIGN="RIGHT"
657VALIGN="TOP"
658><TT
659CLASS="PARAMETER"
660><I
661>handler</I
662></TT
663>&nbsp;:</TD
664><TD
665WIDTH="80%"
666ALIGN="LEFT"
667VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000668>&nbsp;</TD
Daniel Veillard52dcab32001-10-30 12:51:17 +0000669></TR
670></TBODY
671></TABLE
672><P
673></P
674></DIV
675></DIV
676><HR><DIV
677CLASS="REFSECT2"
678><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000679NAME="AEN12905"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000680></A
681><H3
682><A
683NAME="XMLPARSERERROR"
684></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000685>xmlParserError ()</H3
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000686><TABLE
687BORDER="0"
688BGCOLOR="#D6E8FF"
689WIDTH="100%"
690CELLPADDING="6"
691><TR
692><TD
693><PRE
694CLASS="PROGRAMLISTING"
695>void xmlParserError (void *ctx,
696 const char *msg,
697 ...);</PRE
698></TD
699></TR
700></TABLE
701><P
702>Display and format an error messages, gives file, line, position and
703extra parameters.</P
704><P
705></P
706><DIV
707CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000708><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000709NAME="AEN12911"
Daniel Veillardaec63562003-03-23 20:42:17 +0000710></A
711><P
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000712></P
713><TABLE
714BORDER="0"
715WIDTH="100%"
716BGCOLOR="#FFD0D0"
717CELLSPACING="0"
718CELLPADDING="4"
719CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000720><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000721><TR
722><TD
723WIDTH="20%"
724ALIGN="RIGHT"
725VALIGN="TOP"
726><TT
727CLASS="PARAMETER"
728><I
729>ctx</I
730></TT
731>&nbsp;:</TD
732><TD
733WIDTH="80%"
734ALIGN="LEFT"
735VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000736>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000737></TR
738><TR
739><TD
740WIDTH="20%"
741ALIGN="RIGHT"
742VALIGN="TOP"
743><TT
744CLASS="PARAMETER"
745><I
746>msg</I
747></TT
748>&nbsp;:</TD
749><TD
750WIDTH="80%"
751ALIGN="LEFT"
752VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000753>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000754></TR
755><TR
756><TD
757WIDTH="20%"
758ALIGN="RIGHT"
759VALIGN="TOP"
760><TT
761CLASS="PARAMETER"
762><I
763>...</I
764></TT
765>&nbsp;:</TD
766><TD
767WIDTH="80%"
768ALIGN="LEFT"
769VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000770>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000771></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000772></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000773></TABLE
774><P
775></P
776></DIV
777></DIV
778><HR><DIV
779CLASS="REFSECT2"
780><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000781NAME="AEN12928"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000782></A
783><H3
784><A
785NAME="XMLPARSERWARNING"
786></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000787>xmlParserWarning ()</H3
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000788><TABLE
789BORDER="0"
790BGCOLOR="#D6E8FF"
791WIDTH="100%"
792CELLPADDING="6"
793><TR
794><TD
795><PRE
796CLASS="PROGRAMLISTING"
797>void xmlParserWarning (void *ctx,
798 const char *msg,
799 ...);</PRE
800></TD
801></TR
802></TABLE
803><P
804>Display and format a warning messages, gives file, line, position and
805extra parameters.</P
806><P
807></P
808><DIV
809CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000810><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000811NAME="AEN12934"
Daniel Veillardaec63562003-03-23 20:42:17 +0000812></A
813><P
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000814></P
815><TABLE
816BORDER="0"
817WIDTH="100%"
818BGCOLOR="#FFD0D0"
819CELLSPACING="0"
820CELLPADDING="4"
821CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000822><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000823><TR
824><TD
825WIDTH="20%"
826ALIGN="RIGHT"
827VALIGN="TOP"
828><TT
829CLASS="PARAMETER"
830><I
831>ctx</I
832></TT
833>&nbsp;:</TD
834><TD
835WIDTH="80%"
836ALIGN="LEFT"
837VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000838>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000839></TR
840><TR
841><TD
842WIDTH="20%"
843ALIGN="RIGHT"
844VALIGN="TOP"
845><TT
846CLASS="PARAMETER"
847><I
848>msg</I
849></TT
850>&nbsp;:</TD
851><TD
852WIDTH="80%"
853ALIGN="LEFT"
854VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000855>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000856></TR
857><TR
858><TD
859WIDTH="20%"
860ALIGN="RIGHT"
861VALIGN="TOP"
862><TT
863CLASS="PARAMETER"
864><I
865>...</I
866></TT
867>&nbsp;:</TD
868><TD
869WIDTH="80%"
870ALIGN="LEFT"
871VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000872>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000873></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000874></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000875></TABLE
876><P
877></P
878></DIV
879></DIV
880><HR><DIV
881CLASS="REFSECT2"
882><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000883NAME="AEN12951"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000884></A
885><H3
886><A
887NAME="XMLPARSERVALIDITYERROR"
888></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000889>xmlParserValidityError ()</H3
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000890><TABLE
891BORDER="0"
892BGCOLOR="#D6E8FF"
893WIDTH="100%"
894CELLPADDING="6"
895><TR
896><TD
897><PRE
898CLASS="PROGRAMLISTING"
899>void xmlParserValidityError (void *ctx,
900 const char *msg,
901 ...);</PRE
902></TD
903></TR
904></TABLE
905><P
906>Display and format an validity error messages, gives file,
907line, position and extra parameters.</P
908><P
909></P
910><DIV
911CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000912><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000913NAME="AEN12957"
Daniel Veillardaec63562003-03-23 20:42:17 +0000914></A
915><P
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000916></P
917><TABLE
918BORDER="0"
919WIDTH="100%"
920BGCOLOR="#FFD0D0"
921CELLSPACING="0"
922CELLPADDING="4"
923CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000924><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000925><TR
926><TD
927WIDTH="20%"
928ALIGN="RIGHT"
929VALIGN="TOP"
930><TT
931CLASS="PARAMETER"
932><I
933>ctx</I
934></TT
935>&nbsp;:</TD
936><TD
937WIDTH="80%"
938ALIGN="LEFT"
939VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000940>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000941></TR
942><TR
943><TD
944WIDTH="20%"
945ALIGN="RIGHT"
946VALIGN="TOP"
947><TT
948CLASS="PARAMETER"
949><I
950>msg</I
951></TT
952>&nbsp;:</TD
953><TD
954WIDTH="80%"
955ALIGN="LEFT"
956VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000957>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000958></TR
959><TR
960><TD
961WIDTH="20%"
962ALIGN="RIGHT"
963VALIGN="TOP"
964><TT
965CLASS="PARAMETER"
966><I
967>...</I
968></TT
969>&nbsp;:</TD
970><TD
971WIDTH="80%"
972ALIGN="LEFT"
973VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000974>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000975></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000976></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000977></TABLE
978><P
979></P
980></DIV
981></DIV
982><HR><DIV
983CLASS="REFSECT2"
984><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000985NAME="AEN12974"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000986></A
987><H3
988><A
989NAME="XMLPARSERVALIDITYWARNING"
990></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000991>xmlParserValidityWarning ()</H3
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000992><TABLE
993BORDER="0"
994BGCOLOR="#D6E8FF"
995WIDTH="100%"
996CELLPADDING="6"
997><TR
998><TD
999><PRE
1000CLASS="PROGRAMLISTING"
1001>void xmlParserValidityWarning (void *ctx,
1002 const char *msg,
1003 ...);</PRE
1004></TD
1005></TR
1006></TABLE
1007><P
1008>Display and format a validity warning messages, gives file, line,
1009position and extra parameters.</P
1010><P
1011></P
1012><DIV
1013CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001014><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001015NAME="AEN12980"
Daniel Veillardaec63562003-03-23 20:42:17 +00001016></A
1017><P
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001018></P
1019><TABLE
1020BORDER="0"
1021WIDTH="100%"
1022BGCOLOR="#FFD0D0"
1023CELLSPACING="0"
1024CELLPADDING="4"
1025CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001026><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001027><TR
1028><TD
1029WIDTH="20%"
1030ALIGN="RIGHT"
1031VALIGN="TOP"
1032><TT
1033CLASS="PARAMETER"
1034><I
1035>ctx</I
1036></TT
1037>&nbsp;:</TD
1038><TD
1039WIDTH="80%"
1040ALIGN="LEFT"
1041VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001042>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001043></TR
1044><TR
1045><TD
1046WIDTH="20%"
1047ALIGN="RIGHT"
1048VALIGN="TOP"
1049><TT
1050CLASS="PARAMETER"
1051><I
1052>msg</I
1053></TT
1054>&nbsp;:</TD
1055><TD
1056WIDTH="80%"
1057ALIGN="LEFT"
1058VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001059>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001060></TR
1061><TR
1062><TD
1063WIDTH="20%"
1064ALIGN="RIGHT"
1065VALIGN="TOP"
1066><TT
1067CLASS="PARAMETER"
1068><I
1069>...</I
1070></TT
1071>&nbsp;:</TD
1072><TD
1073WIDTH="80%"
1074ALIGN="LEFT"
1075VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001076>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001077></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001078></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001079></TABLE
1080><P
1081></P
1082></DIV
1083></DIV
1084><HR><DIV
1085CLASS="REFSECT2"
1086><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001087NAME="AEN12997"
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001088></A
1089><H3
1090><A
1091NAME="XMLPARSERPRINTFILEINFO"
1092></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001093>xmlParserPrintFileInfo ()</H3
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001094><TABLE
1095BORDER="0"
1096BGCOLOR="#D6E8FF"
1097WIDTH="100%"
1098CELLPADDING="6"
1099><TR
1100><TD
1101><PRE
1102CLASS="PROGRAMLISTING"
1103>void xmlParserPrintFileInfo (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001104HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001105>xmlParserInputPtr</A
1106> input);</PRE
1107></TD
1108></TR
1109></TABLE
1110><P
1111>Displays the associated file and line informations for the current input</P
1112><P
1113></P
1114><DIV
1115CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001116><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001117NAME="AEN13004"
Daniel Veillardaec63562003-03-23 20:42:17 +00001118></A
1119><P
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001120></P
1121><TABLE
1122BORDER="0"
1123WIDTH="100%"
1124BGCOLOR="#FFD0D0"
1125CELLSPACING="0"
1126CELLPADDING="4"
1127CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001128><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001129><TR
1130><TD
1131WIDTH="20%"
1132ALIGN="RIGHT"
1133VALIGN="TOP"
1134><TT
1135CLASS="PARAMETER"
1136><I
1137>input</I
1138></TT
1139>&nbsp;:</TD
1140><TD
1141WIDTH="80%"
1142ALIGN="LEFT"
1143VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001144>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001145></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001146></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001147></TABLE
1148><P
1149></P
1150></DIV
1151></DIV
1152><HR><DIV
1153CLASS="REFSECT2"
1154><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001155NAME="AEN13013"
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001156></A
1157><H3
1158><A
1159NAME="XMLPARSERPRINTFILECONTEXT"
1160></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001161>xmlParserPrintFileContext ()</H3
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001162><TABLE
1163BORDER="0"
1164BGCOLOR="#D6E8FF"
1165WIDTH="100%"
1166CELLPADDING="6"
1167><TR
1168><TD
1169><PRE
1170CLASS="PROGRAMLISTING"
1171>void xmlParserPrintFileContext (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001172HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001173>xmlParserInputPtr</A
1174> input);</PRE
1175></TD
1176></TR
1177></TABLE
1178><P
1179>Displays current context within the input content for error tracking</P
1180><P
1181></P
1182><DIV
1183CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001184><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001185NAME="AEN13020"
Daniel Veillardaec63562003-03-23 20:42:17 +00001186></A
1187><P
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001188></P
1189><TABLE
1190BORDER="0"
1191WIDTH="100%"
1192BGCOLOR="#FFD0D0"
1193CELLSPACING="0"
1194CELLPADDING="4"
1195CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001196><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001197><TR
1198><TD
1199WIDTH="20%"
1200ALIGN="RIGHT"
1201VALIGN="TOP"
1202><TT
1203CLASS="PARAMETER"
1204><I
1205>input</I
1206></TT
1207>&nbsp;:</TD
1208><TD
1209WIDTH="80%"
1210ALIGN="LEFT"
1211VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001212>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001213></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001214></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001215></TABLE
1216><P
1217></P
1218></DIV
1219></DIV
1220></DIV
1221><DIV
1222CLASS="NAVFOOTER"
1223><BR
1224CLEAR="all"><BR><TABLE
1225WIDTH="100%"
1226BORDER="0"
1227BGCOLOR="#000000"
1228CELLPADDING="1"
1229CELLSPACING="0"
1230><TR
1231><TD
1232WIDTH="25%"
1233BGCOLOR="#C00000"
1234ALIGN="left"
1235><A
1236HREF="libxml-uri.html"
1237><FONT
1238COLOR="#FFFFFF"
1239SIZE="3"
1240><B
1241>&#60;&#60;&#60; Previous Page</B
1242></FONT
1243></A
1244></TD
1245><TD
1246WIDTH="25%"
1247BGCOLOR="#0000C0"
1248ALIGN="center"
1249><FONT
1250COLOR="#FFFFFF"
1251SIZE="3"
1252><B
1253><A
1254HREF="book1.html"
1255><FONT
1256COLOR="#FFFFFF"
1257SIZE="3"
1258><B
1259>Home</B
1260></FONT
1261></A
1262></B
1263></FONT
1264></TD
1265><TD
1266WIDTH="25%"
1267BGCOLOR="#00C000"
1268ALIGN="center"
1269><FONT
1270COLOR="#FFFFFF"
1271SIZE="3"
1272><B
1273><A
1274HREF="libxml-lib.html"
1275><FONT
1276COLOR="#FFFFFF"
1277SIZE="3"
1278><B
1279>Up</B
1280></FONT
1281></A
1282></B
1283></FONT
1284></TD
1285><TD
1286WIDTH="25%"
1287BGCOLOR="#C00000"
1288ALIGN="right"
1289><A
1290HREF="libxml-htmlparser.html"
1291><FONT
1292COLOR="#FFFFFF"
1293SIZE="3"
1294><B
1295>Next Page &#62;&#62;&#62;</B
1296></FONT
1297></A
1298></TD
1299></TR
1300><TR
1301><TD
1302COLSPAN="2"
1303ALIGN="left"
1304><FONT
1305COLOR="#FFFFFF"
1306SIZE="3"
1307><B
1308>uri</B
1309></FONT
1310></TD
1311><TD
1312COLSPAN="2"
1313ALIGN="right"
1314><FONT
1315COLOR="#FFFFFF"
1316SIZE="3"
1317><B
1318>HTMLparser</B
1319></FONT
1320></TD
1321></TR
1322></TABLE
1323></DIV
1324></BODY
1325></HTML
1326>