blob: e966aef0ae798c4a6b7e2fa2a074ade1e26f2195 [file] [log] [blame]
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001<HTML
2><HEAD
3><TITLE
4>xmlerror</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard60087f32001-10-10 09:45:09 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.64
8"><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
120NAME="LIBXML-XMLERROR"
121>xmlerror</A
122></H1
123><DIV
124CLASS="REFNAMEDIV"
125><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000126NAME="AEN10575"
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 Veillard5f4b5992002-02-20 10:22:49 +0000134NAME="AEN10578"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000135></A
136><H2
137>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 Veillard5f4b5992002-02-20 10:22:49 +0000219NAME="AEN10595"
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 Veillard5f4b5992002-02-20 10:22:49 +0000229NAME="AEN10598"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000230></A
231><H2
232>Details</H2
233><DIV
234CLASS="REFSECT2"
235><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000236NAME="AEN10600"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000237></A
238><H3
239><A
240NAME="XMLPARSERERRORS"
241></A
Daniel Veillard06622df2002-01-21 17:53:42 +0000242>&#62;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 Veillard5f4b5992002-02-20 10:22:49 +0000391NAME="AEN10605"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000392></A
393><H3
394><A
395NAME="XMLGENERICERRORFUNC"
396></A
Daniel Veillard06622df2002-01-21 17:53:42 +0000397>&#62;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
415no parsing or validity context available</P
416><P
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000417></P
418><DIV
419CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000420><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000421NAME="AEN10611"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000422></A
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000423><P
424></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 Veillard5f4b5992002-02-20 10:22:49 +0000448> a parsing context</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 Veillard5f4b5992002-02-20 10:22:49 +0000465> the message</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 Veillard5f4b5992002-02-20 10:22:49 +0000482> the extra arguments of the varags to format the message</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 Veillard5f4b5992002-02-20 10:22:49 +0000493NAME="AEN10628"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000494></A
495><H3
496><A
497NAME="XMLSETGENERICERRORFUNC"
498></A
Daniel Veillard06622df2002-01-21 17:53:42 +0000499>&#62;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 Veillard5f4b5992002-02-20 10:22:49 +0000555NAME="AEN10640"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000556></A
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000557><P
558></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 Veillard4b8328d2001-07-05 22:48:42 +0000582> the new error handling context</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 Veillard4b8328d2001-07-05 22:48:42 +0000599> the new handler function</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 Veillard5f4b5992002-02-20 10:22:49 +0000610NAME="AEN10653"
Daniel Veillard52dcab32001-10-30 12:51:17 +0000611></A
612><H3
613><A
614NAME="INITGENERICERRORDEFAULTFUNC"
615></A
Daniel Veillard06622df2002-01-21 17:53:42 +0000616>&#62;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 Veillard5f4b5992002-02-20 10:22:49 +0000634>Set or reset (if NULL) the default handler for generic errors</P
635><P
Daniel Veillard52dcab32001-10-30 12:51:17 +0000636></P
637><DIV
638CLASS="INFORMALTABLE"
639><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000640NAME="AEN10660"
Daniel Veillard52dcab32001-10-30 12:51:17 +0000641></A
642><P
643></P
644><TABLE
645BORDER="0"
646WIDTH="100%"
647BGCOLOR="#FFD0D0"
648CELLSPACING="0"
649CELLPADDING="4"
650CLASS="CALSTABLE"
651><TBODY
652><TR
653><TD
654WIDTH="20%"
655ALIGN="RIGHT"
656VALIGN="TOP"
657><TT
658CLASS="PARAMETER"
659><I
660>handler</I
661></TT
662>&nbsp;:</TD
663><TD
664WIDTH="80%"
665ALIGN="LEFT"
666VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000667> the handler</TD
Daniel Veillard52dcab32001-10-30 12:51:17 +0000668></TR
669></TBODY
670></TABLE
671><P
672></P
673></DIV
674></DIV
675><HR><DIV
676CLASS="REFSECT2"
677><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000678NAME="AEN10669"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000679></A
680><H3
681><A
682NAME="XMLPARSERERROR"
683></A
Daniel Veillard06622df2002-01-21 17:53:42 +0000684>&#62;xmlParserError ()</H3
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000685><TABLE
686BORDER="0"
687BGCOLOR="#D6E8FF"
688WIDTH="100%"
689CELLPADDING="6"
690><TR
691><TD
692><PRE
693CLASS="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
702extra parameters.</P
703><P
704></P
705><DIV
706CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000707><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000708NAME="AEN10675"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000709></A
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000710><P
711></P
712><TABLE
713BORDER="0"
714WIDTH="100%"
715BGCOLOR="#FFD0D0"
716CELLSPACING="0"
717CELLPADDING="4"
718CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000719><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000720><TR
721><TD
722WIDTH="20%"
723ALIGN="RIGHT"
724VALIGN="TOP"
725><TT
726CLASS="PARAMETER"
727><I
728>ctx</I
729></TT
730>&nbsp;:</TD
731><TD
732WIDTH="80%"
733ALIGN="LEFT"
734VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000735> an XML parser context</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000736></TR
737><TR
738><TD
739WIDTH="20%"
740ALIGN="RIGHT"
741VALIGN="TOP"
742><TT
743CLASS="PARAMETER"
744><I
745>msg</I
746></TT
747>&nbsp;:</TD
748><TD
749WIDTH="80%"
750ALIGN="LEFT"
751VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000752> the message to display/transmit</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000753></TR
754><TR
755><TD
756WIDTH="20%"
757ALIGN="RIGHT"
758VALIGN="TOP"
759><TT
760CLASS="PARAMETER"
761><I
762>...</I
763></TT
764>&nbsp;:</TD
765><TD
766WIDTH="80%"
767ALIGN="LEFT"
768VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000769> extra parameters for the message display</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000770></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000771></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000772></TABLE
773><P
774></P
775></DIV
776></DIV
777><HR><DIV
778CLASS="REFSECT2"
779><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000780NAME="AEN10692"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000781></A
782><H3
783><A
784NAME="XMLPARSERWARNING"
785></A
Daniel Veillard06622df2002-01-21 17:53:42 +0000786>&#62;xmlParserWarning ()</H3
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000787><TABLE
788BORDER="0"
789BGCOLOR="#D6E8FF"
790WIDTH="100%"
791CELLPADDING="6"
792><TR
793><TD
794><PRE
795CLASS="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
804extra parameters.</P
805><P
806></P
807><DIV
808CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000809><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000810NAME="AEN10698"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000811></A
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000812><P
813></P
814><TABLE
815BORDER="0"
816WIDTH="100%"
817BGCOLOR="#FFD0D0"
818CELLSPACING="0"
819CELLPADDING="4"
820CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000821><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000822><TR
823><TD
824WIDTH="20%"
825ALIGN="RIGHT"
826VALIGN="TOP"
827><TT
828CLASS="PARAMETER"
829><I
830>ctx</I
831></TT
832>&nbsp;:</TD
833><TD
834WIDTH="80%"
835ALIGN="LEFT"
836VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000837> an XML parser context</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000838></TR
839><TR
840><TD
841WIDTH="20%"
842ALIGN="RIGHT"
843VALIGN="TOP"
844><TT
845CLASS="PARAMETER"
846><I
847>msg</I
848></TT
849>&nbsp;:</TD
850><TD
851WIDTH="80%"
852ALIGN="LEFT"
853VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000854> the message to display/transmit</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000855></TR
856><TR
857><TD
858WIDTH="20%"
859ALIGN="RIGHT"
860VALIGN="TOP"
861><TT
862CLASS="PARAMETER"
863><I
864>...</I
865></TT
866>&nbsp;:</TD
867><TD
868WIDTH="80%"
869ALIGN="LEFT"
870VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000871> extra parameters for the message display</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000872></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000873></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000874></TABLE
875><P
876></P
877></DIV
878></DIV
879><HR><DIV
880CLASS="REFSECT2"
881><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000882NAME="AEN10715"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000883></A
884><H3
885><A
886NAME="XMLPARSERVALIDITYERROR"
887></A
Daniel Veillard06622df2002-01-21 17:53:42 +0000888>&#62;xmlParserValidityError ()</H3
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000889><TABLE
890BORDER="0"
891BGCOLOR="#D6E8FF"
892WIDTH="100%"
893CELLPADDING="6"
894><TR
895><TD
896><PRE
897CLASS="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,
906line, position and extra parameters.</P
907><P
908></P
909><DIV
910CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000911><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000912NAME="AEN10721"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000913></A
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000914><P
915></P
916><TABLE
917BORDER="0"
918WIDTH="100%"
919BGCOLOR="#FFD0D0"
920CELLSPACING="0"
921CELLPADDING="4"
922CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000923><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000924><TR
925><TD
926WIDTH="20%"
927ALIGN="RIGHT"
928VALIGN="TOP"
929><TT
930CLASS="PARAMETER"
931><I
932>ctx</I
933></TT
934>&nbsp;:</TD
935><TD
936WIDTH="80%"
937ALIGN="LEFT"
938VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000939> an XML parser context</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000940></TR
941><TR
942><TD
943WIDTH="20%"
944ALIGN="RIGHT"
945VALIGN="TOP"
946><TT
947CLASS="PARAMETER"
948><I
949>msg</I
950></TT
951>&nbsp;:</TD
952><TD
953WIDTH="80%"
954ALIGN="LEFT"
955VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000956> the message to display/transmit</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000957></TR
958><TR
959><TD
960WIDTH="20%"
961ALIGN="RIGHT"
962VALIGN="TOP"
963><TT
964CLASS="PARAMETER"
965><I
966>...</I
967></TT
968>&nbsp;:</TD
969><TD
970WIDTH="80%"
971ALIGN="LEFT"
972VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000973> extra parameters for the message display</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000974></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000975></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000976></TABLE
977><P
978></P
979></DIV
980></DIV
981><HR><DIV
982CLASS="REFSECT2"
983><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000984NAME="AEN10738"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000985></A
986><H3
987><A
988NAME="XMLPARSERVALIDITYWARNING"
989></A
Daniel Veillard06622df2002-01-21 17:53:42 +0000990>&#62;xmlParserValidityWarning ()</H3
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000991><TABLE
992BORDER="0"
993BGCOLOR="#D6E8FF"
994WIDTH="100%"
995CELLPADDING="6"
996><TR
997><TD
998><PRE
999CLASS="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,
1008position and extra parameters.</P
1009><P
1010></P
1011><DIV
1012CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001013><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001014NAME="AEN10744"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001015></A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001016><P
1017></P
1018><TABLE
1019BORDER="0"
1020WIDTH="100%"
1021BGCOLOR="#FFD0D0"
1022CELLSPACING="0"
1023CELLPADDING="4"
1024CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001025><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001026><TR
1027><TD
1028WIDTH="20%"
1029ALIGN="RIGHT"
1030VALIGN="TOP"
1031><TT
1032CLASS="PARAMETER"
1033><I
1034>ctx</I
1035></TT
1036>&nbsp;:</TD
1037><TD
1038WIDTH="80%"
1039ALIGN="LEFT"
1040VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001041> an XML parser context</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001042></TR
1043><TR
1044><TD
1045WIDTH="20%"
1046ALIGN="RIGHT"
1047VALIGN="TOP"
1048><TT
1049CLASS="PARAMETER"
1050><I
1051>msg</I
1052></TT
1053>&nbsp;:</TD
1054><TD
1055WIDTH="80%"
1056ALIGN="LEFT"
1057VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001058> the message to display/transmit</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001059></TR
1060><TR
1061><TD
1062WIDTH="20%"
1063ALIGN="RIGHT"
1064VALIGN="TOP"
1065><TT
1066CLASS="PARAMETER"
1067><I
1068>...</I
1069></TT
1070>&nbsp;:</TD
1071><TD
1072WIDTH="80%"
1073ALIGN="LEFT"
1074VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001075> extra parameters for the message display</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001076></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001077></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001078></TABLE
1079><P
1080></P
1081></DIV
1082></DIV
1083><HR><DIV
1084CLASS="REFSECT2"
1085><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001086NAME="AEN10761"
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001087></A
1088><H3
1089><A
1090NAME="XMLPARSERPRINTFILEINFO"
1091></A
Daniel Veillard06622df2002-01-21 17:53:42 +00001092>&#62;xmlParserPrintFileInfo ()</H3
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001093><TABLE
1094BORDER="0"
1095BGCOLOR="#D6E8FF"
1096WIDTH="100%"
1097CELLPADDING="6"
1098><TR
1099><TD
1100><PRE
1101CLASS="PROGRAMLISTING"
1102>void xmlParserPrintFileInfo (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001103HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001104>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
1114CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001115><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001116NAME="AEN10768"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001117></A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001118><P
1119></P
1120><TABLE
1121BORDER="0"
1122WIDTH="100%"
1123BGCOLOR="#FFD0D0"
1124CELLSPACING="0"
1125CELLPADDING="4"
1126CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001127><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001128><TR
1129><TD
1130WIDTH="20%"
1131ALIGN="RIGHT"
1132VALIGN="TOP"
1133><TT
1134CLASS="PARAMETER"
1135><I
1136>input</I
1137></TT
1138>&nbsp;:</TD
1139><TD
1140WIDTH="80%"
1141ALIGN="LEFT"
1142VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001143> an xmlParserInputPtr input</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001144></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001145></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001146></TABLE
1147><P
1148></P
1149></DIV
1150></DIV
1151><HR><DIV
1152CLASS="REFSECT2"
1153><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001154NAME="AEN10777"
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001155></A
1156><H3
1157><A
1158NAME="XMLPARSERPRINTFILECONTEXT"
1159></A
Daniel Veillard06622df2002-01-21 17:53:42 +00001160>&#62;xmlParserPrintFileContext ()</H3
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001161><TABLE
1162BORDER="0"
1163BGCOLOR="#D6E8FF"
1164WIDTH="100%"
1165CELLPADDING="6"
1166><TR
1167><TD
1168><PRE
1169CLASS="PROGRAMLISTING"
1170>void xmlParserPrintFileContext (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001171HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001172>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
1182CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001183><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001184NAME="AEN10784"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001185></A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001186><P
1187></P
1188><TABLE
1189BORDER="0"
1190WIDTH="100%"
1191BGCOLOR="#FFD0D0"
1192CELLSPACING="0"
1193CELLPADDING="4"
1194CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001195><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001196><TR
1197><TD
1198WIDTH="20%"
1199ALIGN="RIGHT"
1200VALIGN="TOP"
1201><TT
1202CLASS="PARAMETER"
1203><I
1204>input</I
1205></TT
1206>&nbsp;:</TD
1207><TD
1208WIDTH="80%"
1209ALIGN="LEFT"
1210VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001211> an xmlParserInputPtr input</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001212></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001213></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001214></TABLE
1215><P
1216></P
1217></DIV
1218></DIV
1219></DIV
1220><DIV
1221CLASS="NAVFOOTER"
1222><BR
1223CLEAR="all"><BR><TABLE
1224WIDTH="100%"
1225BORDER="0"
1226BGCOLOR="#000000"
1227CELLPADDING="1"
1228CELLSPACING="0"
1229><TR
1230><TD
1231WIDTH="25%"
1232BGCOLOR="#C00000"
1233ALIGN="left"
1234><A
1235HREF="libxml-uri.html"
1236><FONT
1237COLOR="#FFFFFF"
1238SIZE="3"
1239><B
1240>&#60;&#60;&#60; Previous Page</B
1241></FONT
1242></A
1243></TD
1244><TD
1245WIDTH="25%"
1246BGCOLOR="#0000C0"
1247ALIGN="center"
1248><FONT
1249COLOR="#FFFFFF"
1250SIZE="3"
1251><B
1252><A
1253HREF="book1.html"
1254><FONT
1255COLOR="#FFFFFF"
1256SIZE="3"
1257><B
1258>Home</B
1259></FONT
1260></A
1261></B
1262></FONT
1263></TD
1264><TD
1265WIDTH="25%"
1266BGCOLOR="#00C000"
1267ALIGN="center"
1268><FONT
1269COLOR="#FFFFFF"
1270SIZE="3"
1271><B
1272><A
1273HREF="libxml-lib.html"
1274><FONT
1275COLOR="#FFFFFF"
1276SIZE="3"
1277><B
1278>Up</B
1279></FONT
1280></A
1281></B
1282></FONT
1283></TD
1284><TD
1285WIDTH="25%"
1286BGCOLOR="#C00000"
1287ALIGN="right"
1288><A
1289HREF="libxml-htmlparser.html"
1290><FONT
1291COLOR="#FFFFFF"
1292SIZE="3"
1293><B
1294>Next Page &#62;&#62;&#62;</B
1295></FONT
1296></A
1297></TD
1298></TR
1299><TR
1300><TD
1301COLSPAN="2"
1302ALIGN="left"
1303><FONT
1304COLOR="#FFFFFF"
1305SIZE="3"
1306><B
1307>uri</B
1308></FONT
1309></TD
1310><TD
1311COLSPAN="2"
1312ALIGN="right"
1313><FONT
1314COLOR="#FFFFFF"
1315SIZE="3"
1316><B
1317>HTMLparser</B
1318></FONT
1319></TD
1320></TR
1321></TABLE
1322></DIV
1323></BODY
1324></HTML
1325>