blob: d6f50fcec0eb2782cc85f09d534fc99ed56aacf0 [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 Veillard539638b2002-07-06 19:55:14 +0000120NAME="LIBXML-XMLERROR">xmlerror</H1
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000121><DIV
122CLASS="REFNAMEDIV"
123><A
Daniel Veillard539638b2002-07-06 19:55:14 +0000124NAME="AEN10817"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000125></A
126><H2
127>Name</H2
128>xmlerror&nbsp;--&nbsp;</DIV
129><DIV
130CLASS="REFSYNOPSISDIV"
131><A
Daniel Veillard539638b2002-07-06 19:55:14 +0000132NAME="AEN10820"><H2
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000133>Synopsis</H2
134><TABLE
135BORDER="0"
136BGCOLOR="#D6E8FF"
137WIDTH="100%"
138CELLPADDING="6"
139><TR
140><TD
141><PRE
142CLASS="SYNOPSIS"
143>&#13;
144
145enum <A
146HREF="libxml-xmlerror.html#XMLPARSERERRORS"
147>xmlParserErrors</A
148>;
149void (<A
150HREF="libxml-xmlerror.html#XMLGENERICERRORFUNC"
151>*xmlGenericErrorFunc</A
152>) (void *ctx,
153 const char *msg,
154 ...);
155void <A
156HREF="libxml-xmlerror.html#XMLSETGENERICERRORFUNC"
157>xmlSetGenericErrorFunc</A
158> (void *ctx,
159 <A
160HREF="libxml-xmlerror.html#XMLGENERICERRORFUNC"
161>xmlGenericErrorFunc</A
162> handler);
163void <A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000164HREF="libxml-xmlerror.html#INITGENERICERRORDEFAULTFUNC"
165>initGenericErrorDefaultFunc</A
166> (<A
167HREF="libxml-xmlerror.html#XMLGENERICERRORFUNC"
168>xmlGenericErrorFunc</A
169> *handler);
170void <A
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000171HREF="libxml-xmlerror.html#XMLPARSERERROR"
172>xmlParserError</A
173> (void *ctx,
174 const char *msg,
175 ...);
176void <A
177HREF="libxml-xmlerror.html#XMLPARSERWARNING"
178>xmlParserWarning</A
179> (void *ctx,
180 const char *msg,
181 ...);
182void <A
183HREF="libxml-xmlerror.html#XMLPARSERVALIDITYERROR"
184>xmlParserValidityError</A
185> (void *ctx,
186 const char *msg,
187 ...);
188void <A
189HREF="libxml-xmlerror.html#XMLPARSERVALIDITYWARNING"
190>xmlParserValidityWarning</A
191> (void *ctx,
192 const char *msg,
193 ...);
194void <A
195HREF="libxml-xmlerror.html#XMLPARSERPRINTFILEINFO"
196>xmlParserPrintFileInfo</A
197> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000198HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000199>xmlParserInputPtr</A
200> input);
201void <A
202HREF="libxml-xmlerror.html#XMLPARSERPRINTFILECONTEXT"
203>xmlParserPrintFileContext</A
204> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000205HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000206>xmlParserInputPtr</A
207> input);</PRE
208></TD
209></TR
210></TABLE
211></DIV
212><DIV
213CLASS="REFSECT1"
214><A
Daniel Veillard539638b2002-07-06 19:55:14 +0000215NAME="AEN10837"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000216></A
217><H2
218>Description</H2
219><P
220></P
221></DIV
222><DIV
223CLASS="REFSECT1"
224><A
Daniel Veillard539638b2002-07-06 19:55:14 +0000225NAME="AEN10840"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000226></A
227><H2
228>Details</H2
229><DIV
230CLASS="REFSECT2"
231><A
Daniel Veillard539638b2002-07-06 19:55:14 +0000232NAME="AEN10842"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000233></A
234><H3
235><A
236NAME="XMLPARSERERRORS"
237></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000238>enum xmlParserErrors</H3
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000239><TABLE
240BORDER="0"
241BGCOLOR="#D6E8FF"
242WIDTH="100%"
243CELLPADDING="6"
244><TR
245><TD
246><PRE
247CLASS="PROGRAMLISTING"
248>typedef enum {
249 XML_ERR_OK = 0,
250 XML_ERR_INTERNAL_ERROR,
251 XML_ERR_NO_MEMORY,
252
253 XML_ERR_DOCUMENT_START, /* 3 */
254 XML_ERR_DOCUMENT_EMPTY,
255 XML_ERR_DOCUMENT_END,
256
257 XML_ERR_INVALID_HEX_CHARREF, /* 6 */
258 XML_ERR_INVALID_DEC_CHARREF,
259 XML_ERR_INVALID_CHARREF,
260 XML_ERR_INVALID_CHAR,
261
262 XML_ERR_CHARREF_AT_EOF, /* 10 */
263 XML_ERR_CHARREF_IN_PROLOG,
264 XML_ERR_CHARREF_IN_EPILOG,
265 XML_ERR_CHARREF_IN_DTD,
266 XML_ERR_ENTITYREF_AT_EOF,
267 XML_ERR_ENTITYREF_IN_PROLOG,
268 XML_ERR_ENTITYREF_IN_EPILOG,
269 XML_ERR_ENTITYREF_IN_DTD,
270 XML_ERR_PEREF_AT_EOF,
271 XML_ERR_PEREF_IN_PROLOG,
272 XML_ERR_PEREF_IN_EPILOG,
273 XML_ERR_PEREF_IN_INT_SUBSET,
274
275 XML_ERR_ENTITYREF_NO_NAME, /* 22 */
276 XML_ERR_ENTITYREF_SEMICOL_MISSING,
277
278 XML_ERR_PEREF_NO_NAME, /* 24 */
279 XML_ERR_PEREF_SEMICOL_MISSING,
280
281 XML_ERR_UNDECLARED_ENTITY, /* 26 */
282 XML_WAR_UNDECLARED_ENTITY,
283 XML_ERR_UNPARSED_ENTITY,
284 XML_ERR_ENTITY_IS_EXTERNAL,
285 XML_ERR_ENTITY_IS_PARAMETER,
286
287 XML_ERR_UNKNOWN_ENCODING, /* 31 */
288 XML_ERR_UNSUPPORTED_ENCODING,
289
290 XML_ERR_STRING_NOT_STARTED, /* 33 */
291 XML_ERR_STRING_NOT_CLOSED,
292 XML_ERR_NS_DECL_ERROR,
293
294 XML_ERR_ENTITY_NOT_STARTED, /* 36 */
295 XML_ERR_ENTITY_NOT_FINISHED,
296
297 XML_ERR_LT_IN_ATTRIBUTE, /* 38 */
298 XML_ERR_ATTRIBUTE_NOT_STARTED,
299 XML_ERR_ATTRIBUTE_NOT_FINISHED,
300 XML_ERR_ATTRIBUTE_WITHOUT_VALUE,
301 XML_ERR_ATTRIBUTE_REDEFINED,
302
303 XML_ERR_LITERAL_NOT_STARTED, /* 43 */
304 XML_ERR_LITERAL_NOT_FINISHED,
305
306 XML_ERR_COMMENT_NOT_FINISHED, /* 45 */
307
308 XML_ERR_PI_NOT_STARTED, /* 47 */
309 XML_ERR_PI_NOT_FINISHED,
310
311 XML_ERR_NOTATION_NOT_STARTED, /* 49 */
312 XML_ERR_NOTATION_NOT_FINISHED,
313
314 XML_ERR_ATTLIST_NOT_STARTED, /* 51 */
315 XML_ERR_ATTLIST_NOT_FINISHED,
316
317 XML_ERR_MIXED_NOT_STARTED, /* 53 */
318 XML_ERR_MIXED_NOT_FINISHED,
319
320 XML_ERR_ELEMCONTENT_NOT_STARTED, /* 55 */
321 XML_ERR_ELEMCONTENT_NOT_FINISHED,
322
323 XML_ERR_XMLDECL_NOT_STARTED, /* 57 */
324 XML_ERR_XMLDECL_NOT_FINISHED,
325
326 XML_ERR_CONDSEC_NOT_STARTED, /* 59 */
327 XML_ERR_CONDSEC_NOT_FINISHED,
328
329 XML_ERR_EXT_SUBSET_NOT_FINISHED, /* 61 */
330
331 XML_ERR_DOCTYPE_NOT_FINISHED, /* 62 */
332
333 XML_ERR_MISPLACED_CDATA_END, /* 63 */
334 XML_ERR_CDATA_NOT_FINISHED,
335
336 XML_ERR_RESERVED_XML_NAME, /* 65 */
337
338 XML_ERR_SPACE_REQUIRED, /* 66 */
339 XML_ERR_SEPARATOR_REQUIRED,
340 XML_ERR_NMTOKEN_REQUIRED,
341 XML_ERR_NAME_REQUIRED,
342 XML_ERR_PCDATA_REQUIRED,
343 XML_ERR_URI_REQUIRED,
344 XML_ERR_PUBID_REQUIRED,
345 XML_ERR_LT_REQUIRED,
346 XML_ERR_GT_REQUIRED,
347 XML_ERR_LTSLASH_REQUIRED,
348 XML_ERR_EQUAL_REQUIRED,
349
350 XML_ERR_TAG_NAME_MISMATCH, /* 77 */
Daniel Veillard744683d2002-01-14 17:30:20 +0000351 XML_ERR_TAG_NOT_FINISHED,
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000352
353 XML_ERR_STANDALONE_VALUE, /* 79 */
354
355 XML_ERR_ENCODING_NAME, /* 80 */
356
357 XML_ERR_HYPHEN_IN_COMMENT, /* 81 */
358
359 XML_ERR_INVALID_ENCODING, /* 82 */
360
361 XML_ERR_EXT_ENTITY_STANDALONE, /* 83 */
362
363 XML_ERR_CONDSEC_INVALID, /* 84 */
364
365 XML_ERR_VALUE_REQUIRED, /* 85 */
366
367 XML_ERR_NOT_WELL_BALANCED, /* 86 */
368 XML_ERR_EXTRA_CONTENT, /* 87 */
369 XML_ERR_ENTITY_CHAR_ERROR, /* 88 */
370 XML_ERR_ENTITY_PE_INTERNAL, /* 88 */
371 XML_ERR_ENTITY_LOOP, /* 89 */
372 XML_ERR_ENTITY_BOUNDARY, /* 90 */
373 XML_ERR_INVALID_URI, /* 91 */
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000374 XML_ERR_URI_FRAGMENT, /* 92 */
Daniel Veillard04382ae2001-09-12 18:51:30 +0000375 XML_WAR_CATALOG_PI, /* 93 */
376 XML_ERR_NO_DTD /* 94 */
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000377}xmlParserErrors;</PRE
378></TD
379></TR
380></TABLE
381><P
382></P
383></DIV
384><HR><DIV
385CLASS="REFSECT2"
386><A
Daniel Veillard539638b2002-07-06 19:55:14 +0000387NAME="AEN10847"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000388></A
389><H3
390><A
391NAME="XMLGENERICERRORFUNC"
392></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000393>xmlGenericErrorFunc ()</H3
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000394><TABLE
395BORDER="0"
396BGCOLOR="#D6E8FF"
397WIDTH="100%"
398CELLPADDING="6"
399><TR
400><TD
401><PRE
402CLASS="PROGRAMLISTING"
403>void (*xmlGenericErrorFunc) (void *ctx,
404 const char *msg,
405 ...);</PRE
406></TD
407></TR
408></TABLE
409><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000410>Signature of the function to use when there is an error and
Daniel Veillard19274092002-03-25 16:48:03 +0000411no parsing or validity context available .</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000412><P
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000413></P
414><DIV
415CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000416><A
Daniel Veillard539638b2002-07-06 19:55:14 +0000417NAME="AEN10853"><P
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000418></P
419><TABLE
420BORDER="0"
421WIDTH="100%"
422BGCOLOR="#FFD0D0"
423CELLSPACING="0"
424CELLPADDING="4"
425CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000426><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000427><TR
428><TD
429WIDTH="20%"
430ALIGN="RIGHT"
431VALIGN="TOP"
432><TT
433CLASS="PARAMETER"
434><I
435>ctx</I
436></TT
437>&nbsp;:</TD
438><TD
439WIDTH="80%"
440ALIGN="LEFT"
441VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000442> a parsing context</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000443></TR
444><TR
445><TD
446WIDTH="20%"
447ALIGN="RIGHT"
448VALIGN="TOP"
449><TT
450CLASS="PARAMETER"
451><I
452>msg</I
453></TT
454>&nbsp;:</TD
455><TD
456WIDTH="80%"
457ALIGN="LEFT"
458VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000459> the message</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000460></TR
461><TR
462><TD
463WIDTH="20%"
464ALIGN="RIGHT"
465VALIGN="TOP"
466><TT
467CLASS="PARAMETER"
468><I
469>...</I
470></TT
471>&nbsp;:</TD
472><TD
473WIDTH="80%"
474ALIGN="LEFT"
475VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000476> the extra arguments of the varags to format the message</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000477></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000478></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000479></TABLE
480><P
481></P
482></DIV
483></DIV
484><HR><DIV
485CLASS="REFSECT2"
486><A
Daniel Veillard539638b2002-07-06 19:55:14 +0000487NAME="AEN10870"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000488></A
489><H3
490><A
491NAME="XMLSETGENERICERRORFUNC"
492></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000493>xmlSetGenericErrorFunc ()</H3
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000494><TABLE
495BORDER="0"
496BGCOLOR="#D6E8FF"
497WIDTH="100%"
498CELLPADDING="6"
499><TR
500><TD
501><PRE
502CLASS="PROGRAMLISTING"
503>void xmlSetGenericErrorFunc (void *ctx,
504 <A
505HREF="libxml-xmlerror.html#XMLGENERICERRORFUNC"
506>xmlGenericErrorFunc</A
507> handler);</PRE
508></TD
509></TR
510></TABLE
511><P
512>Function to reset the handler and the error context for out of
513context error messages.
514This simply means that <TT
515CLASS="PARAMETER"
516><I
517>handler</I
518></TT
519> will be called for subsequent
520error messages while not parsing nor validating. And <TT
521CLASS="PARAMETER"
522><I
523>ctx</I
524></TT
525> will
526be passed as first argument to <TT
527CLASS="PARAMETER"
528><I
529>handler</I
530></TT
531>
532One can simply force messages to be emitted to another FILE * than
533stderr by setting <TT
534CLASS="PARAMETER"
535><I
536>ctx</I
537></TT
538> to this file handle and <TT
539CLASS="PARAMETER"
540><I
541>handler</I
542></TT
543> to NULL.</P
544><P
545></P
546><DIV
547CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000548><A
Daniel Veillard539638b2002-07-06 19:55:14 +0000549NAME="AEN10882"><P
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000550></P
551><TABLE
552BORDER="0"
553WIDTH="100%"
554BGCOLOR="#FFD0D0"
555CELLSPACING="0"
556CELLPADDING="4"
557CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000558><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000559><TR
560><TD
561WIDTH="20%"
562ALIGN="RIGHT"
563VALIGN="TOP"
564><TT
565CLASS="PARAMETER"
566><I
567>ctx</I
568></TT
569>&nbsp;:</TD
570><TD
571WIDTH="80%"
572ALIGN="LEFT"
573VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000574> the new error handling context</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000575></TR
576><TR
577><TD
578WIDTH="20%"
579ALIGN="RIGHT"
580VALIGN="TOP"
581><TT
582CLASS="PARAMETER"
583><I
584>handler</I
585></TT
586>&nbsp;:</TD
587><TD
588WIDTH="80%"
589ALIGN="LEFT"
590VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000591> the new handler function</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000592></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000593></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000594></TABLE
595><P
596></P
597></DIV
598></DIV
599><HR><DIV
600CLASS="REFSECT2"
601><A
Daniel Veillard539638b2002-07-06 19:55:14 +0000602NAME="AEN10895"
Daniel Veillard52dcab32001-10-30 12:51:17 +0000603></A
604><H3
605><A
606NAME="INITGENERICERRORDEFAULTFUNC"
607></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000608>initGenericErrorDefaultFunc ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +0000609><TABLE
610BORDER="0"
611BGCOLOR="#D6E8FF"
612WIDTH="100%"
613CELLPADDING="6"
614><TR
615><TD
616><PRE
617CLASS="PROGRAMLISTING"
618>void initGenericErrorDefaultFunc (<A
619HREF="libxml-xmlerror.html#XMLGENERICERRORFUNC"
620>xmlGenericErrorFunc</A
621> *handler);</PRE
622></TD
623></TR
624></TABLE
625><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000626>Set or reset (if NULL) the default handler for generic errors</P
627><P
Daniel Veillard52dcab32001-10-30 12:51:17 +0000628></P
629><DIV
630CLASS="INFORMALTABLE"
631><A
Daniel Veillard539638b2002-07-06 19:55:14 +0000632NAME="AEN10902"><P
Daniel Veillard52dcab32001-10-30 12:51:17 +0000633></P
634><TABLE
635BORDER="0"
636WIDTH="100%"
637BGCOLOR="#FFD0D0"
638CELLSPACING="0"
639CELLPADDING="4"
640CLASS="CALSTABLE"
641><TBODY
642><TR
643><TD
644WIDTH="20%"
645ALIGN="RIGHT"
646VALIGN="TOP"
647><TT
648CLASS="PARAMETER"
649><I
650>handler</I
651></TT
652>&nbsp;:</TD
653><TD
654WIDTH="80%"
655ALIGN="LEFT"
656VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000657> the handler</TD
Daniel Veillard52dcab32001-10-30 12:51:17 +0000658></TR
659></TBODY
660></TABLE
661><P
662></P
663></DIV
664></DIV
665><HR><DIV
666CLASS="REFSECT2"
667><A
Daniel Veillard539638b2002-07-06 19:55:14 +0000668NAME="AEN10911"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000669></A
670><H3
671><A
672NAME="XMLPARSERERROR"
673></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000674>xmlParserError ()</H3
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000675><TABLE
676BORDER="0"
677BGCOLOR="#D6E8FF"
678WIDTH="100%"
679CELLPADDING="6"
680><TR
681><TD
682><PRE
683CLASS="PROGRAMLISTING"
684>void xmlParserError (void *ctx,
685 const char *msg,
686 ...);</PRE
687></TD
688></TR
689></TABLE
690><P
691>Display and format an error messages, gives file, line, position and
692extra parameters.</P
693><P
694></P
695><DIV
696CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000697><A
Daniel Veillard539638b2002-07-06 19:55:14 +0000698NAME="AEN10917"><P
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000699></P
700><TABLE
701BORDER="0"
702WIDTH="100%"
703BGCOLOR="#FFD0D0"
704CELLSPACING="0"
705CELLPADDING="4"
706CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000707><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000708><TR
709><TD
710WIDTH="20%"
711ALIGN="RIGHT"
712VALIGN="TOP"
713><TT
714CLASS="PARAMETER"
715><I
716>ctx</I
717></TT
718>&nbsp;:</TD
719><TD
720WIDTH="80%"
721ALIGN="LEFT"
722VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000723> an XML parser context</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000724></TR
725><TR
726><TD
727WIDTH="20%"
728ALIGN="RIGHT"
729VALIGN="TOP"
730><TT
731CLASS="PARAMETER"
732><I
733>msg</I
734></TT
735>&nbsp;:</TD
736><TD
737WIDTH="80%"
738ALIGN="LEFT"
739VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000740> the message to display/transmit</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000741></TR
742><TR
743><TD
744WIDTH="20%"
745ALIGN="RIGHT"
746VALIGN="TOP"
747><TT
748CLASS="PARAMETER"
749><I
750>...</I
751></TT
752>&nbsp;:</TD
753><TD
754WIDTH="80%"
755ALIGN="LEFT"
756VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000757> extra parameters for the message display</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000758></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000759></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000760></TABLE
761><P
762></P
763></DIV
764></DIV
765><HR><DIV
766CLASS="REFSECT2"
767><A
Daniel Veillard539638b2002-07-06 19:55:14 +0000768NAME="AEN10934"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000769></A
770><H3
771><A
772NAME="XMLPARSERWARNING"
773></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000774>xmlParserWarning ()</H3
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000775><TABLE
776BORDER="0"
777BGCOLOR="#D6E8FF"
778WIDTH="100%"
779CELLPADDING="6"
780><TR
781><TD
782><PRE
783CLASS="PROGRAMLISTING"
784>void xmlParserWarning (void *ctx,
785 const char *msg,
786 ...);</PRE
787></TD
788></TR
789></TABLE
790><P
791>Display and format a warning messages, gives file, line, position and
792extra parameters.</P
793><P
794></P
795><DIV
796CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000797><A
Daniel Veillard539638b2002-07-06 19:55:14 +0000798NAME="AEN10940"><P
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000799></P
800><TABLE
801BORDER="0"
802WIDTH="100%"
803BGCOLOR="#FFD0D0"
804CELLSPACING="0"
805CELLPADDING="4"
806CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000807><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000808><TR
809><TD
810WIDTH="20%"
811ALIGN="RIGHT"
812VALIGN="TOP"
813><TT
814CLASS="PARAMETER"
815><I
816>ctx</I
817></TT
818>&nbsp;:</TD
819><TD
820WIDTH="80%"
821ALIGN="LEFT"
822VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000823> an XML parser context</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000824></TR
825><TR
826><TD
827WIDTH="20%"
828ALIGN="RIGHT"
829VALIGN="TOP"
830><TT
831CLASS="PARAMETER"
832><I
833>msg</I
834></TT
835>&nbsp;:</TD
836><TD
837WIDTH="80%"
838ALIGN="LEFT"
839VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000840> the message to display/transmit</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000841></TR
842><TR
843><TD
844WIDTH="20%"
845ALIGN="RIGHT"
846VALIGN="TOP"
847><TT
848CLASS="PARAMETER"
849><I
850>...</I
851></TT
852>&nbsp;:</TD
853><TD
854WIDTH="80%"
855ALIGN="LEFT"
856VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000857> extra parameters for the message display</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000858></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000859></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000860></TABLE
861><P
862></P
863></DIV
864></DIV
865><HR><DIV
866CLASS="REFSECT2"
867><A
Daniel Veillard539638b2002-07-06 19:55:14 +0000868NAME="AEN10957"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000869></A
870><H3
871><A
872NAME="XMLPARSERVALIDITYERROR"
873></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000874>xmlParserValidityError ()</H3
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000875><TABLE
876BORDER="0"
877BGCOLOR="#D6E8FF"
878WIDTH="100%"
879CELLPADDING="6"
880><TR
881><TD
882><PRE
883CLASS="PROGRAMLISTING"
884>void xmlParserValidityError (void *ctx,
885 const char *msg,
886 ...);</PRE
887></TD
888></TR
889></TABLE
890><P
891>Display and format an validity error messages, gives file,
892line, position and extra parameters.</P
893><P
894></P
895><DIV
896CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000897><A
Daniel Veillard539638b2002-07-06 19:55:14 +0000898NAME="AEN10963"><P
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000899></P
900><TABLE
901BORDER="0"
902WIDTH="100%"
903BGCOLOR="#FFD0D0"
904CELLSPACING="0"
905CELLPADDING="4"
906CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000907><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000908><TR
909><TD
910WIDTH="20%"
911ALIGN="RIGHT"
912VALIGN="TOP"
913><TT
914CLASS="PARAMETER"
915><I
916>ctx</I
917></TT
918>&nbsp;:</TD
919><TD
920WIDTH="80%"
921ALIGN="LEFT"
922VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000923> an XML parser context</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000924></TR
925><TR
926><TD
927WIDTH="20%"
928ALIGN="RIGHT"
929VALIGN="TOP"
930><TT
931CLASS="PARAMETER"
932><I
933>msg</I
934></TT
935>&nbsp;:</TD
936><TD
937WIDTH="80%"
938ALIGN="LEFT"
939VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000940> the message to display/transmit</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>...</I
951></TT
952>&nbsp;:</TD
953><TD
954WIDTH="80%"
955ALIGN="LEFT"
956VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000957> extra parameters for the message display</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000958></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000959></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000960></TABLE
961><P
962></P
963></DIV
964></DIV
965><HR><DIV
966CLASS="REFSECT2"
967><A
Daniel Veillard539638b2002-07-06 19:55:14 +0000968NAME="AEN10980"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000969></A
970><H3
971><A
972NAME="XMLPARSERVALIDITYWARNING"
973></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000974>xmlParserValidityWarning ()</H3
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000975><TABLE
976BORDER="0"
977BGCOLOR="#D6E8FF"
978WIDTH="100%"
979CELLPADDING="6"
980><TR
981><TD
982><PRE
983CLASS="PROGRAMLISTING"
984>void xmlParserValidityWarning (void *ctx,
985 const char *msg,
986 ...);</PRE
987></TD
988></TR
989></TABLE
990><P
991>Display and format a validity warning messages, gives file, line,
992position and extra parameters.</P
993><P
994></P
995><DIV
996CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000997><A
Daniel Veillard539638b2002-07-06 19:55:14 +0000998NAME="AEN10986"><P
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000999></P
1000><TABLE
1001BORDER="0"
1002WIDTH="100%"
1003BGCOLOR="#FFD0D0"
1004CELLSPACING="0"
1005CELLPADDING="4"
1006CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001007><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001008><TR
1009><TD
1010WIDTH="20%"
1011ALIGN="RIGHT"
1012VALIGN="TOP"
1013><TT
1014CLASS="PARAMETER"
1015><I
1016>ctx</I
1017></TT
1018>&nbsp;:</TD
1019><TD
1020WIDTH="80%"
1021ALIGN="LEFT"
1022VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001023> an XML parser context</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001024></TR
1025><TR
1026><TD
1027WIDTH="20%"
1028ALIGN="RIGHT"
1029VALIGN="TOP"
1030><TT
1031CLASS="PARAMETER"
1032><I
1033>msg</I
1034></TT
1035>&nbsp;:</TD
1036><TD
1037WIDTH="80%"
1038ALIGN="LEFT"
1039VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001040> the message to display/transmit</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001041></TR
1042><TR
1043><TD
1044WIDTH="20%"
1045ALIGN="RIGHT"
1046VALIGN="TOP"
1047><TT
1048CLASS="PARAMETER"
1049><I
1050>...</I
1051></TT
1052>&nbsp;:</TD
1053><TD
1054WIDTH="80%"
1055ALIGN="LEFT"
1056VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001057> extra parameters for the message display</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001058></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001059></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001060></TABLE
1061><P
1062></P
1063></DIV
1064></DIV
1065><HR><DIV
1066CLASS="REFSECT2"
1067><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001068NAME="AEN11003"
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001069></A
1070><H3
1071><A
1072NAME="XMLPARSERPRINTFILEINFO"
1073></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001074>xmlParserPrintFileInfo ()</H3
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001075><TABLE
1076BORDER="0"
1077BGCOLOR="#D6E8FF"
1078WIDTH="100%"
1079CELLPADDING="6"
1080><TR
1081><TD
1082><PRE
1083CLASS="PROGRAMLISTING"
1084>void xmlParserPrintFileInfo (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001085HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001086>xmlParserInputPtr</A
1087> input);</PRE
1088></TD
1089></TR
1090></TABLE
1091><P
1092>Displays the associated file and line informations for the current input</P
1093><P
1094></P
1095><DIV
1096CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001097><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001098NAME="AEN11010"><P
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001099></P
1100><TABLE
1101BORDER="0"
1102WIDTH="100%"
1103BGCOLOR="#FFD0D0"
1104CELLSPACING="0"
1105CELLPADDING="4"
1106CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001107><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001108><TR
1109><TD
1110WIDTH="20%"
1111ALIGN="RIGHT"
1112VALIGN="TOP"
1113><TT
1114CLASS="PARAMETER"
1115><I
1116>input</I
1117></TT
1118>&nbsp;:</TD
1119><TD
1120WIDTH="80%"
1121ALIGN="LEFT"
1122VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001123> an xmlParserInputPtr input</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001124></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001125></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001126></TABLE
1127><P
1128></P
1129></DIV
1130></DIV
1131><HR><DIV
1132CLASS="REFSECT2"
1133><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001134NAME="AEN11019"
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001135></A
1136><H3
1137><A
1138NAME="XMLPARSERPRINTFILECONTEXT"
1139></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001140>xmlParserPrintFileContext ()</H3
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001141><TABLE
1142BORDER="0"
1143BGCOLOR="#D6E8FF"
1144WIDTH="100%"
1145CELLPADDING="6"
1146><TR
1147><TD
1148><PRE
1149CLASS="PROGRAMLISTING"
1150>void xmlParserPrintFileContext (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001151HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001152>xmlParserInputPtr</A
1153> input);</PRE
1154></TD
1155></TR
1156></TABLE
1157><P
1158>Displays current context within the input content for error tracking</P
1159><P
1160></P
1161><DIV
1162CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001163><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001164NAME="AEN11026"><P
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001165></P
1166><TABLE
1167BORDER="0"
1168WIDTH="100%"
1169BGCOLOR="#FFD0D0"
1170CELLSPACING="0"
1171CELLPADDING="4"
1172CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001173><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001174><TR
1175><TD
1176WIDTH="20%"
1177ALIGN="RIGHT"
1178VALIGN="TOP"
1179><TT
1180CLASS="PARAMETER"
1181><I
1182>input</I
1183></TT
1184>&nbsp;:</TD
1185><TD
1186WIDTH="80%"
1187ALIGN="LEFT"
1188VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001189> an xmlParserInputPtr input</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001190></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001191></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001192></TABLE
1193><P
1194></P
1195></DIV
1196></DIV
1197></DIV
1198><DIV
1199CLASS="NAVFOOTER"
1200><BR
1201CLEAR="all"><BR><TABLE
1202WIDTH="100%"
1203BORDER="0"
1204BGCOLOR="#000000"
1205CELLPADDING="1"
1206CELLSPACING="0"
1207><TR
1208><TD
1209WIDTH="25%"
1210BGCOLOR="#C00000"
1211ALIGN="left"
1212><A
1213HREF="libxml-uri.html"
1214><FONT
1215COLOR="#FFFFFF"
1216SIZE="3"
1217><B
1218>&#60;&#60;&#60; Previous Page</B
1219></FONT
1220></A
1221></TD
1222><TD
1223WIDTH="25%"
1224BGCOLOR="#0000C0"
1225ALIGN="center"
1226><FONT
1227COLOR="#FFFFFF"
1228SIZE="3"
1229><B
1230><A
1231HREF="book1.html"
1232><FONT
1233COLOR="#FFFFFF"
1234SIZE="3"
1235><B
1236>Home</B
1237></FONT
1238></A
1239></B
1240></FONT
1241></TD
1242><TD
1243WIDTH="25%"
1244BGCOLOR="#00C000"
1245ALIGN="center"
1246><FONT
1247COLOR="#FFFFFF"
1248SIZE="3"
1249><B
1250><A
1251HREF="libxml-lib.html"
1252><FONT
1253COLOR="#FFFFFF"
1254SIZE="3"
1255><B
1256>Up</B
1257></FONT
1258></A
1259></B
1260></FONT
1261></TD
1262><TD
1263WIDTH="25%"
1264BGCOLOR="#C00000"
1265ALIGN="right"
1266><A
1267HREF="libxml-htmlparser.html"
1268><FONT
1269COLOR="#FFFFFF"
1270SIZE="3"
1271><B
1272>Next Page &#62;&#62;&#62;</B
1273></FONT
1274></A
1275></TD
1276></TR
1277><TR
1278><TD
1279COLSPAN="2"
1280ALIGN="left"
1281><FONT
1282COLOR="#FFFFFF"
1283SIZE="3"
1284><B
1285>uri</B
1286></FONT
1287></TD
1288><TD
1289COLSPAN="2"
1290ALIGN="right"
1291><FONT
1292COLOR="#FFFFFF"
1293SIZE="3"
1294><B
1295>HTMLparser</B
1296></FONT
1297></TD
1298></TR
1299></TABLE
1300></DIV
1301></BODY
1302></HTML
1303>