blob: cf4d8cecded2531fb984c31913d36cca0db315ad [file] [log] [blame]
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001<HTML
2><HEAD
3><TITLE
4>xmlerror</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
Daniel Veillard7d6fd212001-05-10 15:34:11 +00008REL="HOME"
9TITLE="Gnome XML Library Reference Manual"
10HREF="book1.html"><LINK
11REL="UP"
12TITLE="Libxml Library Reference"
13HREF="libxml-lib.html"><LINK
14REL="PREVIOUS"
15TITLE="uri"
16HREF="libxml-uri.html"><LINK
17REL="NEXT"
18TITLE="HTMLparser"
19HREF="libxml-htmlparser.html"></HEAD
20><BODY
Daniel Veillardbed7b052001-05-19 14:59:49 +000021CLASS="REFENTRY"
Daniel Veillard7d6fd212001-05-10 15:34:11 +000022BGCOLOR="#FFFFFF"
23TEXT="#000000"
24LINK="#0000FF"
25VLINK="#840084"
26ALINK="#0000FF"
27><DIV
28CLASS="NAVHEADER"
29><TABLE
30WIDTH="100%"
31BORDER="0"
32BGCOLOR="#000000"
33CELLPADDING="1"
34CELLSPACING="0"
35><TR
36><TH
37COLSPAN="4"
38ALIGN="center"
39><FONT
40COLOR="#FFFFFF"
41SIZE="5"
42>Gnome XML Library Reference Manual</FONT
43></TH
44></TR
45><TR
46><TD
47WIDTH="25%"
48BGCOLOR="#C00000"
49ALIGN="left"
50><A
51HREF="libxml-uri.html"
52><FONT
53COLOR="#FFFFFF"
54SIZE="3"
55><B
56>&#60;&#60;&#60; Previous Page</B
57></FONT
58></A
59></TD
60><TD
61WIDTH="25%"
62BGCOLOR="#0000C0"
63ALIGN="center"
64><FONT
65COLOR="#FFFFFF"
66SIZE="3"
67><B
68><A
69HREF="book1.html"
70><FONT
71COLOR="#FFFFFF"
72SIZE="3"
73><B
74>Home</B
75></FONT
76></A
77></B
78></FONT
79></TD
80><TD
81WIDTH="25%"
82BGCOLOR="#00C000"
83ALIGN="center"
84><FONT
85COLOR="#FFFFFF"
86SIZE="3"
87><B
88><A
89HREF="libxml-lib.html"
90><FONT
91COLOR="#FFFFFF"
92SIZE="3"
93><B
94>Up</B
95></FONT
96></A
97></B
98></FONT
99></TD
100><TD
101WIDTH="25%"
102BGCOLOR="#C00000"
103ALIGN="right"
104><A
105HREF="libxml-htmlparser.html"
106><FONT
107COLOR="#FFFFFF"
108SIZE="3"
109><B
110>Next Page &#62;&#62;&#62;</B
111></FONT
112></A
113></TD
114></TR
115></TABLE
116></DIV
117><H1
118><A
119NAME="LIBXML-XMLERROR"
120>xmlerror</A
121></H1
122><DIV
123CLASS="REFNAMEDIV"
124><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000125NAME="AEN10000"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000126></A
127><H2
128>Name</H2
129>xmlerror&nbsp;--&nbsp;</DIV
130><DIV
131CLASS="REFSYNOPSISDIV"
132><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000133NAME="AEN10003"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000134></A
135><H2
136>Synopsis</H2
137><TABLE
138BORDER="0"
139BGCOLOR="#D6E8FF"
140WIDTH="100%"
141CELLPADDING="6"
142><TR
143><TD
144><PRE
145CLASS="SYNOPSIS"
146>&#13;
147
148enum <A
149HREF="libxml-xmlerror.html#XMLPARSERERRORS"
150>xmlParserErrors</A
151>;
152void (<A
153HREF="libxml-xmlerror.html#XMLGENERICERRORFUNC"
154>*xmlGenericErrorFunc</A
155>) (void *ctx,
156 const char *msg,
157 ...);
158void <A
159HREF="libxml-xmlerror.html#XMLSETGENERICERRORFUNC"
160>xmlSetGenericErrorFunc</A
161> (void *ctx,
162 <A
163HREF="libxml-xmlerror.html#XMLGENERICERRORFUNC"
164>xmlGenericErrorFunc</A
165> handler);
166void <A
167HREF="libxml-xmlerror.html#XMLPARSERERROR"
168>xmlParserError</A
169> (void *ctx,
170 const char *msg,
171 ...);
172void <A
173HREF="libxml-xmlerror.html#XMLPARSERWARNING"
174>xmlParserWarning</A
175> (void *ctx,
176 const char *msg,
177 ...);
178void <A
179HREF="libxml-xmlerror.html#XMLPARSERVALIDITYERROR"
180>xmlParserValidityError</A
181> (void *ctx,
182 const char *msg,
183 ...);
184void <A
185HREF="libxml-xmlerror.html#XMLPARSERVALIDITYWARNING"
186>xmlParserValidityWarning</A
187> (void *ctx,
188 const char *msg,
189 ...);
190void <A
191HREF="libxml-xmlerror.html#XMLPARSERPRINTFILEINFO"
192>xmlParserPrintFileInfo</A
193> (<A
194HREF="libxml-parser.html#XMLPARSERINPUTPTR"
195>xmlParserInputPtr</A
196> input);
197void <A
198HREF="libxml-xmlerror.html#XMLPARSERPRINTFILECONTEXT"
199>xmlParserPrintFileContext</A
200> (<A
201HREF="libxml-parser.html#XMLPARSERINPUTPTR"
202>xmlParserInputPtr</A
203> input);</PRE
204></TD
205></TR
206></TABLE
207></DIV
208><DIV
209CLASS="REFSECT1"
210><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000211NAME="AEN10018"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000212></A
213><H2
214>Description</H2
215><P
216></P
217></DIV
218><DIV
219CLASS="REFSECT1"
220><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000221NAME="AEN10021"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000222></A
223><H2
224>Details</H2
225><DIV
226CLASS="REFSECT2"
227><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000228NAME="AEN10023"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000229></A
230><H3
231><A
232NAME="XMLPARSERERRORS"
233></A
234>enum xmlParserErrors</H3
235><TABLE
236BORDER="0"
237BGCOLOR="#D6E8FF"
238WIDTH="100%"
239CELLPADDING="6"
240><TR
241><TD
242><PRE
243CLASS="PROGRAMLISTING"
244>typedef enum {
245 XML_ERR_OK = 0,
246 XML_ERR_INTERNAL_ERROR,
247 XML_ERR_NO_MEMORY,
248
249 XML_ERR_DOCUMENT_START, /* 3 */
250 XML_ERR_DOCUMENT_EMPTY,
251 XML_ERR_DOCUMENT_END,
252
253 XML_ERR_INVALID_HEX_CHARREF, /* 6 */
254 XML_ERR_INVALID_DEC_CHARREF,
255 XML_ERR_INVALID_CHARREF,
256 XML_ERR_INVALID_CHAR,
257
258 XML_ERR_CHARREF_AT_EOF, /* 10 */
259 XML_ERR_CHARREF_IN_PROLOG,
260 XML_ERR_CHARREF_IN_EPILOG,
261 XML_ERR_CHARREF_IN_DTD,
262 XML_ERR_ENTITYREF_AT_EOF,
263 XML_ERR_ENTITYREF_IN_PROLOG,
264 XML_ERR_ENTITYREF_IN_EPILOG,
265 XML_ERR_ENTITYREF_IN_DTD,
266 XML_ERR_PEREF_AT_EOF,
267 XML_ERR_PEREF_IN_PROLOG,
268 XML_ERR_PEREF_IN_EPILOG,
269 XML_ERR_PEREF_IN_INT_SUBSET,
270
271 XML_ERR_ENTITYREF_NO_NAME, /* 22 */
272 XML_ERR_ENTITYREF_SEMICOL_MISSING,
273
274 XML_ERR_PEREF_NO_NAME, /* 24 */
275 XML_ERR_PEREF_SEMICOL_MISSING,
276
277 XML_ERR_UNDECLARED_ENTITY, /* 26 */
278 XML_WAR_UNDECLARED_ENTITY,
279 XML_ERR_UNPARSED_ENTITY,
280 XML_ERR_ENTITY_IS_EXTERNAL,
281 XML_ERR_ENTITY_IS_PARAMETER,
282
283 XML_ERR_UNKNOWN_ENCODING, /* 31 */
284 XML_ERR_UNSUPPORTED_ENCODING,
285
286 XML_ERR_STRING_NOT_STARTED, /* 33 */
287 XML_ERR_STRING_NOT_CLOSED,
288 XML_ERR_NS_DECL_ERROR,
289
290 XML_ERR_ENTITY_NOT_STARTED, /* 36 */
291 XML_ERR_ENTITY_NOT_FINISHED,
292
293 XML_ERR_LT_IN_ATTRIBUTE, /* 38 */
294 XML_ERR_ATTRIBUTE_NOT_STARTED,
295 XML_ERR_ATTRIBUTE_NOT_FINISHED,
296 XML_ERR_ATTRIBUTE_WITHOUT_VALUE,
297 XML_ERR_ATTRIBUTE_REDEFINED,
298
299 XML_ERR_LITERAL_NOT_STARTED, /* 43 */
300 XML_ERR_LITERAL_NOT_FINISHED,
301
302 XML_ERR_COMMENT_NOT_FINISHED, /* 45 */
303
304 XML_ERR_PI_NOT_STARTED, /* 47 */
305 XML_ERR_PI_NOT_FINISHED,
306
307 XML_ERR_NOTATION_NOT_STARTED, /* 49 */
308 XML_ERR_NOTATION_NOT_FINISHED,
309
310 XML_ERR_ATTLIST_NOT_STARTED, /* 51 */
311 XML_ERR_ATTLIST_NOT_FINISHED,
312
313 XML_ERR_MIXED_NOT_STARTED, /* 53 */
314 XML_ERR_MIXED_NOT_FINISHED,
315
316 XML_ERR_ELEMCONTENT_NOT_STARTED, /* 55 */
317 XML_ERR_ELEMCONTENT_NOT_FINISHED,
318
319 XML_ERR_XMLDECL_NOT_STARTED, /* 57 */
320 XML_ERR_XMLDECL_NOT_FINISHED,
321
322 XML_ERR_CONDSEC_NOT_STARTED, /* 59 */
323 XML_ERR_CONDSEC_NOT_FINISHED,
324
325 XML_ERR_EXT_SUBSET_NOT_FINISHED, /* 61 */
326
327 XML_ERR_DOCTYPE_NOT_FINISHED, /* 62 */
328
329 XML_ERR_MISPLACED_CDATA_END, /* 63 */
330 XML_ERR_CDATA_NOT_FINISHED,
331
332 XML_ERR_RESERVED_XML_NAME, /* 65 */
333
334 XML_ERR_SPACE_REQUIRED, /* 66 */
335 XML_ERR_SEPARATOR_REQUIRED,
336 XML_ERR_NMTOKEN_REQUIRED,
337 XML_ERR_NAME_REQUIRED,
338 XML_ERR_PCDATA_REQUIRED,
339 XML_ERR_URI_REQUIRED,
340 XML_ERR_PUBID_REQUIRED,
341 XML_ERR_LT_REQUIRED,
342 XML_ERR_GT_REQUIRED,
343 XML_ERR_LTSLASH_REQUIRED,
344 XML_ERR_EQUAL_REQUIRED,
345
346 XML_ERR_TAG_NAME_MISMATCH, /* 77 */
347 XML_ERR_TAG_NOT_FINISED,
348
349 XML_ERR_STANDALONE_VALUE, /* 79 */
350
351 XML_ERR_ENCODING_NAME, /* 80 */
352
353 XML_ERR_HYPHEN_IN_COMMENT, /* 81 */
354
355 XML_ERR_INVALID_ENCODING, /* 82 */
356
357 XML_ERR_EXT_ENTITY_STANDALONE, /* 83 */
358
359 XML_ERR_CONDSEC_INVALID, /* 84 */
360
361 XML_ERR_VALUE_REQUIRED, /* 85 */
362
363 XML_ERR_NOT_WELL_BALANCED, /* 86 */
364 XML_ERR_EXTRA_CONTENT, /* 87 */
365 XML_ERR_ENTITY_CHAR_ERROR, /* 88 */
366 XML_ERR_ENTITY_PE_INTERNAL, /* 88 */
367 XML_ERR_ENTITY_LOOP, /* 89 */
368 XML_ERR_ENTITY_BOUNDARY, /* 90 */
369 XML_ERR_INVALID_URI, /* 91 */
370 XML_ERR_URI_FRAGMENT /* 92 */
371}xmlParserErrors;</PRE
372></TD
373></TR
374></TABLE
375><P
376></P
377></DIV
378><HR><DIV
379CLASS="REFSECT2"
380><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000381NAME="AEN10028"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000382></A
383><H3
384><A
385NAME="XMLGENERICERRORFUNC"
386></A
387>xmlGenericErrorFunc ()</H3
388><TABLE
389BORDER="0"
390BGCOLOR="#D6E8FF"
391WIDTH="100%"
392CELLPADDING="6"
393><TR
394><TD
395><PRE
396CLASS="PROGRAMLISTING"
397>void (*xmlGenericErrorFunc) (void *ctx,
398 const char *msg,
399 ...);</PRE
400></TD
401></TR
402></TABLE
403><P
404></P
405><DIV
406CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000407><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000408NAME="AEN10033"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000409></A
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000410><P
411></P
412><TABLE
413BORDER="0"
414WIDTH="100%"
415BGCOLOR="#FFD0D0"
416CELLSPACING="0"
417CELLPADDING="4"
418CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000419><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000420><TR
421><TD
422WIDTH="20%"
423ALIGN="RIGHT"
424VALIGN="TOP"
425><TT
426CLASS="PARAMETER"
427><I
428>ctx</I
429></TT
430>&nbsp;:</TD
431><TD
432WIDTH="80%"
433ALIGN="LEFT"
434VALIGN="TOP"
435>&nbsp;</TD
436></TR
437><TR
438><TD
439WIDTH="20%"
440ALIGN="RIGHT"
441VALIGN="TOP"
442><TT
443CLASS="PARAMETER"
444><I
445>msg</I
446></TT
447>&nbsp;:</TD
448><TD
449WIDTH="80%"
450ALIGN="LEFT"
451VALIGN="TOP"
452>&nbsp;</TD
453></TR
454><TR
455><TD
456WIDTH="20%"
457ALIGN="RIGHT"
458VALIGN="TOP"
459><TT
460CLASS="PARAMETER"
461><I
462>...</I
463></TT
464>&nbsp;:</TD
465><TD
466WIDTH="80%"
467ALIGN="LEFT"
468VALIGN="TOP"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000469>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000470></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000471></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000472></TABLE
473><P
474></P
475></DIV
476></DIV
477><HR><DIV
478CLASS="REFSECT2"
479><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000480NAME="AEN10050"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000481></A
482><H3
483><A
484NAME="XMLSETGENERICERRORFUNC"
485></A
486>xmlSetGenericErrorFunc ()</H3
487><TABLE
488BORDER="0"
489BGCOLOR="#D6E8FF"
490WIDTH="100%"
491CELLPADDING="6"
492><TR
493><TD
494><PRE
495CLASS="PROGRAMLISTING"
496>void xmlSetGenericErrorFunc (void *ctx,
497 <A
498HREF="libxml-xmlerror.html#XMLGENERICERRORFUNC"
499>xmlGenericErrorFunc</A
500> handler);</PRE
501></TD
502></TR
503></TABLE
504><P
505>Function to reset the handler and the error context for out of
506context error messages.
507This simply means that <TT
508CLASS="PARAMETER"
509><I
510>handler</I
511></TT
512> will be called for subsequent
513error messages while not parsing nor validating. And <TT
514CLASS="PARAMETER"
515><I
516>ctx</I
517></TT
518> will
519be passed as first argument to <TT
520CLASS="PARAMETER"
521><I
522>handler</I
523></TT
524>
525One can simply force messages to be emitted to another FILE * than
526stderr by setting <TT
527CLASS="PARAMETER"
528><I
529>ctx</I
530></TT
531> to this file handle and <TT
532CLASS="PARAMETER"
533><I
534>handler</I
535></TT
536> to NULL.</P
537><P
538></P
539><DIV
540CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000541><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000542NAME="AEN10062"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000543></A
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000544><P
545></P
546><TABLE
547BORDER="0"
548WIDTH="100%"
549BGCOLOR="#FFD0D0"
550CELLSPACING="0"
551CELLPADDING="4"
552CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000553><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000554><TR
555><TD
556WIDTH="20%"
557ALIGN="RIGHT"
558VALIGN="TOP"
559><TT
560CLASS="PARAMETER"
561><I
562>ctx</I
563></TT
564>&nbsp;:</TD
565><TD
566WIDTH="80%"
567ALIGN="LEFT"
568VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +0000569>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000570></TR
571><TR
572><TD
573WIDTH="20%"
574ALIGN="RIGHT"
575VALIGN="TOP"
576><TT
577CLASS="PARAMETER"
578><I
579>handler</I
580></TT
581>&nbsp;:</TD
582><TD
583WIDTH="80%"
584ALIGN="LEFT"
585VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +0000586>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000587></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000588></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000589></TABLE
590><P
591></P
592></DIV
593></DIV
594><HR><DIV
595CLASS="REFSECT2"
596><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000597NAME="AEN10075"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000598></A
599><H3
600><A
601NAME="XMLPARSERERROR"
602></A
603>xmlParserError ()</H3
604><TABLE
605BORDER="0"
606BGCOLOR="#D6E8FF"
607WIDTH="100%"
608CELLPADDING="6"
609><TR
610><TD
611><PRE
612CLASS="PROGRAMLISTING"
613>void xmlParserError (void *ctx,
614 const char *msg,
615 ...);</PRE
616></TD
617></TR
618></TABLE
619><P
620>Display and format an error messages, gives file, line, position and
621extra parameters.</P
622><P
623></P
624><DIV
625CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000626><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000627NAME="AEN10081"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000628></A
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000629><P
630></P
631><TABLE
632BORDER="0"
633WIDTH="100%"
634BGCOLOR="#FFD0D0"
635CELLSPACING="0"
636CELLPADDING="4"
637CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000638><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000639><TR
640><TD
641WIDTH="20%"
642ALIGN="RIGHT"
643VALIGN="TOP"
644><TT
645CLASS="PARAMETER"
646><I
647>ctx</I
648></TT
649>&nbsp;:</TD
650><TD
651WIDTH="80%"
652ALIGN="LEFT"
653VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +0000654>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000655></TR
656><TR
657><TD
658WIDTH="20%"
659ALIGN="RIGHT"
660VALIGN="TOP"
661><TT
662CLASS="PARAMETER"
663><I
664>msg</I
665></TT
666>&nbsp;:</TD
667><TD
668WIDTH="80%"
669ALIGN="LEFT"
670VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +0000671>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000672></TR
673><TR
674><TD
675WIDTH="20%"
676ALIGN="RIGHT"
677VALIGN="TOP"
678><TT
679CLASS="PARAMETER"
680><I
681>...</I
682></TT
683>&nbsp;:</TD
684><TD
685WIDTH="80%"
686ALIGN="LEFT"
687VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +0000688>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000689></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000690></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000691></TABLE
692><P
693></P
694></DIV
695></DIV
696><HR><DIV
697CLASS="REFSECT2"
698><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000699NAME="AEN10098"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000700></A
701><H3
702><A
703NAME="XMLPARSERWARNING"
704></A
705>xmlParserWarning ()</H3
706><TABLE
707BORDER="0"
708BGCOLOR="#D6E8FF"
709WIDTH="100%"
710CELLPADDING="6"
711><TR
712><TD
713><PRE
714CLASS="PROGRAMLISTING"
715>void xmlParserWarning (void *ctx,
716 const char *msg,
717 ...);</PRE
718></TD
719></TR
720></TABLE
721><P
722>Display and format a warning messages, gives file, line, position and
723extra parameters.</P
724><P
725></P
726><DIV
727CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000728><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000729NAME="AEN10104"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000730></A
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000731><P
732></P
733><TABLE
734BORDER="0"
735WIDTH="100%"
736BGCOLOR="#FFD0D0"
737CELLSPACING="0"
738CELLPADDING="4"
739CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000740><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000741><TR
742><TD
743WIDTH="20%"
744ALIGN="RIGHT"
745VALIGN="TOP"
746><TT
747CLASS="PARAMETER"
748><I
749>ctx</I
750></TT
751>&nbsp;:</TD
752><TD
753WIDTH="80%"
754ALIGN="LEFT"
755VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +0000756>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000757></TR
758><TR
759><TD
760WIDTH="20%"
761ALIGN="RIGHT"
762VALIGN="TOP"
763><TT
764CLASS="PARAMETER"
765><I
766>msg</I
767></TT
768>&nbsp;:</TD
769><TD
770WIDTH="80%"
771ALIGN="LEFT"
772VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +0000773>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000774></TR
775><TR
776><TD
777WIDTH="20%"
778ALIGN="RIGHT"
779VALIGN="TOP"
780><TT
781CLASS="PARAMETER"
782><I
783>...</I
784></TT
785>&nbsp;:</TD
786><TD
787WIDTH="80%"
788ALIGN="LEFT"
789VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +0000790>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000791></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000792></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000793></TABLE
794><P
795></P
796></DIV
797></DIV
798><HR><DIV
799CLASS="REFSECT2"
800><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000801NAME="AEN10121"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000802></A
803><H3
804><A
805NAME="XMLPARSERVALIDITYERROR"
806></A
807>xmlParserValidityError ()</H3
808><TABLE
809BORDER="0"
810BGCOLOR="#D6E8FF"
811WIDTH="100%"
812CELLPADDING="6"
813><TR
814><TD
815><PRE
816CLASS="PROGRAMLISTING"
817>void xmlParserValidityError (void *ctx,
818 const char *msg,
819 ...);</PRE
820></TD
821></TR
822></TABLE
823><P
824>Display and format an validity error messages, gives file,
825line, position and extra parameters.</P
826><P
827></P
828><DIV
829CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000830><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000831NAME="AEN10127"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000832></A
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000833><P
834></P
835><TABLE
836BORDER="0"
837WIDTH="100%"
838BGCOLOR="#FFD0D0"
839CELLSPACING="0"
840CELLPADDING="4"
841CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000842><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000843><TR
844><TD
845WIDTH="20%"
846ALIGN="RIGHT"
847VALIGN="TOP"
848><TT
849CLASS="PARAMETER"
850><I
851>ctx</I
852></TT
853>&nbsp;:</TD
854><TD
855WIDTH="80%"
856ALIGN="LEFT"
857VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +0000858>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000859></TR
860><TR
861><TD
862WIDTH="20%"
863ALIGN="RIGHT"
864VALIGN="TOP"
865><TT
866CLASS="PARAMETER"
867><I
868>msg</I
869></TT
870>&nbsp;:</TD
871><TD
872WIDTH="80%"
873ALIGN="LEFT"
874VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +0000875>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000876></TR
877><TR
878><TD
879WIDTH="20%"
880ALIGN="RIGHT"
881VALIGN="TOP"
882><TT
883CLASS="PARAMETER"
884><I
885>...</I
886></TT
887>&nbsp;:</TD
888><TD
889WIDTH="80%"
890ALIGN="LEFT"
891VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +0000892>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000893></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000894></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000895></TABLE
896><P
897></P
898></DIV
899></DIV
900><HR><DIV
901CLASS="REFSECT2"
902><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000903NAME="AEN10144"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000904></A
905><H3
906><A
907NAME="XMLPARSERVALIDITYWARNING"
908></A
909>xmlParserValidityWarning ()</H3
910><TABLE
911BORDER="0"
912BGCOLOR="#D6E8FF"
913WIDTH="100%"
914CELLPADDING="6"
915><TR
916><TD
917><PRE
918CLASS="PROGRAMLISTING"
919>void xmlParserValidityWarning (void *ctx,
920 const char *msg,
921 ...);</PRE
922></TD
923></TR
924></TABLE
925><P
926>Display and format a validity warning messages, gives file, line,
927position and extra parameters.</P
928><P
929></P
930><DIV
931CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000932><A
Daniel Veillardc5d64342001-06-24 12:13:24 +0000933NAME="AEN10150"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000934></A
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000935><P
936></P
937><TABLE
938BORDER="0"
939WIDTH="100%"
940BGCOLOR="#FFD0D0"
941CELLSPACING="0"
942CELLPADDING="4"
943CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000944><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000945><TR
946><TD
947WIDTH="20%"
948ALIGN="RIGHT"
949VALIGN="TOP"
950><TT
951CLASS="PARAMETER"
952><I
953>ctx</I
954></TT
955>&nbsp;:</TD
956><TD
957WIDTH="80%"
958ALIGN="LEFT"
959VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +0000960>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000961></TR
962><TR
963><TD
964WIDTH="20%"
965ALIGN="RIGHT"
966VALIGN="TOP"
967><TT
968CLASS="PARAMETER"
969><I
970>msg</I
971></TT
972>&nbsp;:</TD
973><TD
974WIDTH="80%"
975ALIGN="LEFT"
976VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +0000977>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000978></TR
979><TR
980><TD
981WIDTH="20%"
982ALIGN="RIGHT"
983VALIGN="TOP"
984><TT
985CLASS="PARAMETER"
986><I
987>...</I
988></TT
989>&nbsp;:</TD
990><TD
991WIDTH="80%"
992ALIGN="LEFT"
993VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +0000994>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000995></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000996></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000997></TABLE
998><P
999></P
1000></DIV
1001></DIV
1002><HR><DIV
1003CLASS="REFSECT2"
1004><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001005NAME="AEN10167"
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001006></A
1007><H3
1008><A
1009NAME="XMLPARSERPRINTFILEINFO"
1010></A
1011>xmlParserPrintFileInfo ()</H3
1012><TABLE
1013BORDER="0"
1014BGCOLOR="#D6E8FF"
1015WIDTH="100%"
1016CELLPADDING="6"
1017><TR
1018><TD
1019><PRE
1020CLASS="PROGRAMLISTING"
1021>void xmlParserPrintFileInfo (<A
1022HREF="libxml-parser.html#XMLPARSERINPUTPTR"
1023>xmlParserInputPtr</A
1024> input);</PRE
1025></TD
1026></TR
1027></TABLE
1028><P
1029>Displays the associated file and line informations for the current input</P
1030><P
1031></P
1032><DIV
1033CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001034><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001035NAME="AEN10174"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001036></A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001037><P
1038></P
1039><TABLE
1040BORDER="0"
1041WIDTH="100%"
1042BGCOLOR="#FFD0D0"
1043CELLSPACING="0"
1044CELLPADDING="4"
1045CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001046><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001047><TR
1048><TD
1049WIDTH="20%"
1050ALIGN="RIGHT"
1051VALIGN="TOP"
1052><TT
1053CLASS="PARAMETER"
1054><I
1055>input</I
1056></TT
1057>&nbsp;:</TD
1058><TD
1059WIDTH="80%"
1060ALIGN="LEFT"
1061VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001062>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001063></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001064></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001065></TABLE
1066><P
1067></P
1068></DIV
1069></DIV
1070><HR><DIV
1071CLASS="REFSECT2"
1072><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001073NAME="AEN10183"
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001074></A
1075><H3
1076><A
1077NAME="XMLPARSERPRINTFILECONTEXT"
1078></A
1079>xmlParserPrintFileContext ()</H3
1080><TABLE
1081BORDER="0"
1082BGCOLOR="#D6E8FF"
1083WIDTH="100%"
1084CELLPADDING="6"
1085><TR
1086><TD
1087><PRE
1088CLASS="PROGRAMLISTING"
1089>void xmlParserPrintFileContext (<A
1090HREF="libxml-parser.html#XMLPARSERINPUTPTR"
1091>xmlParserInputPtr</A
1092> input);</PRE
1093></TD
1094></TR
1095></TABLE
1096><P
1097>Displays current context within the input content for error tracking</P
1098><P
1099></P
1100><DIV
1101CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001102><A
Daniel Veillardc5d64342001-06-24 12:13:24 +00001103NAME="AEN10190"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001104></A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001105><P
1106></P
1107><TABLE
1108BORDER="0"
1109WIDTH="100%"
1110BGCOLOR="#FFD0D0"
1111CELLSPACING="0"
1112CELLPADDING="4"
1113CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001114><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001115><TR
1116><TD
1117WIDTH="20%"
1118ALIGN="RIGHT"
1119VALIGN="TOP"
1120><TT
1121CLASS="PARAMETER"
1122><I
1123>input</I
1124></TT
1125>&nbsp;:</TD
1126><TD
1127WIDTH="80%"
1128ALIGN="LEFT"
1129VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00001130>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001131></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001132></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001133></TABLE
1134><P
1135></P
1136></DIV
1137></DIV
1138></DIV
1139><DIV
1140CLASS="NAVFOOTER"
1141><BR
1142CLEAR="all"><BR><TABLE
1143WIDTH="100%"
1144BORDER="0"
1145BGCOLOR="#000000"
1146CELLPADDING="1"
1147CELLSPACING="0"
1148><TR
1149><TD
1150WIDTH="25%"
1151BGCOLOR="#C00000"
1152ALIGN="left"
1153><A
1154HREF="libxml-uri.html"
1155><FONT
1156COLOR="#FFFFFF"
1157SIZE="3"
1158><B
1159>&#60;&#60;&#60; Previous Page</B
1160></FONT
1161></A
1162></TD
1163><TD
1164WIDTH="25%"
1165BGCOLOR="#0000C0"
1166ALIGN="center"
1167><FONT
1168COLOR="#FFFFFF"
1169SIZE="3"
1170><B
1171><A
1172HREF="book1.html"
1173><FONT
1174COLOR="#FFFFFF"
1175SIZE="3"
1176><B
1177>Home</B
1178></FONT
1179></A
1180></B
1181></FONT
1182></TD
1183><TD
1184WIDTH="25%"
1185BGCOLOR="#00C000"
1186ALIGN="center"
1187><FONT
1188COLOR="#FFFFFF"
1189SIZE="3"
1190><B
1191><A
1192HREF="libxml-lib.html"
1193><FONT
1194COLOR="#FFFFFF"
1195SIZE="3"
1196><B
1197>Up</B
1198></FONT
1199></A
1200></B
1201></FONT
1202></TD
1203><TD
1204WIDTH="25%"
1205BGCOLOR="#C00000"
1206ALIGN="right"
1207><A
1208HREF="libxml-htmlparser.html"
1209><FONT
1210COLOR="#FFFFFF"
1211SIZE="3"
1212><B
1213>Next Page &#62;&#62;&#62;</B
1214></FONT
1215></A
1216></TD
1217></TR
1218><TR
1219><TD
1220COLSPAN="2"
1221ALIGN="left"
1222><FONT
1223COLOR="#FFFFFF"
1224SIZE="3"
1225><B
1226>uri</B
1227></FONT
1228></TD
1229><TD
1230COLSPAN="2"
1231ALIGN="right"
1232><FONT
1233COLOR="#FFFFFF"
1234SIZE="3"
1235><B
1236>HTMLparser</B
1237></FONT
1238></TD
1239></TR
1240></TABLE
1241></DIV
1242></BODY
1243></HTML
1244>