blob: df425abad6fdb257fd3022284d32cc18e6516b18 [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 Veillardef90ba72001-12-07 14:24:22 +0000126NAME="AEN10454"
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 Veillardef90ba72001-12-07 14:24:22 +0000134NAME="AEN10457"
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 Veillardef90ba72001-12-07 14:24:22 +0000219NAME="AEN10474"
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 Veillardef90ba72001-12-07 14:24:22 +0000229NAME="AEN10477"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000230></A
231><H2
232>Details</H2
233><DIV
234CLASS="REFSECT2"
235><A
Daniel Veillardef90ba72001-12-07 14:24:22 +0000236NAME="AEN10479"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000237></A
238><H3
239><A
240NAME="XMLPARSERERRORS"
241></A
242>enum xmlParserErrors</H3
243><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 */
355 XML_ERR_TAG_NOT_FINISED,
356
357 XML_ERR_STANDALONE_VALUE, /* 79 */
358
359 XML_ERR_ENCODING_NAME, /* 80 */
360
361 XML_ERR_HYPHEN_IN_COMMENT, /* 81 */
362
363 XML_ERR_INVALID_ENCODING, /* 82 */
364
365 XML_ERR_EXT_ENTITY_STANDALONE, /* 83 */
366
367 XML_ERR_CONDSEC_INVALID, /* 84 */
368
369 XML_ERR_VALUE_REQUIRED, /* 85 */
370
371 XML_ERR_NOT_WELL_BALANCED, /* 86 */
372 XML_ERR_EXTRA_CONTENT, /* 87 */
373 XML_ERR_ENTITY_CHAR_ERROR, /* 88 */
374 XML_ERR_ENTITY_PE_INTERNAL, /* 88 */
375 XML_ERR_ENTITY_LOOP, /* 89 */
376 XML_ERR_ENTITY_BOUNDARY, /* 90 */
377 XML_ERR_INVALID_URI, /* 91 */
Daniel 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 Veillardef90ba72001-12-07 14:24:22 +0000391NAME="AEN10484"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000392></A
393><H3
394><A
395NAME="XMLGENERICERRORFUNC"
396></A
397>xmlGenericErrorFunc ()</H3
398><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
414></P
415><DIV
416CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000417><A
Daniel Veillardef90ba72001-12-07 14:24:22 +0000418NAME="AEN10489"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000419></A
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000420><P
421></P
422><TABLE
423BORDER="0"
424WIDTH="100%"
425BGCOLOR="#FFD0D0"
426CELLSPACING="0"
427CELLPADDING="4"
428CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000429><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000430><TR
431><TD
432WIDTH="20%"
433ALIGN="RIGHT"
434VALIGN="TOP"
435><TT
436CLASS="PARAMETER"
437><I
438>ctx</I
439></TT
440>&nbsp;:</TD
441><TD
442WIDTH="80%"
443ALIGN="LEFT"
444VALIGN="TOP"
445>&nbsp;</TD
446></TR
447><TR
448><TD
449WIDTH="20%"
450ALIGN="RIGHT"
451VALIGN="TOP"
452><TT
453CLASS="PARAMETER"
454><I
455>msg</I
456></TT
457>&nbsp;:</TD
458><TD
459WIDTH="80%"
460ALIGN="LEFT"
461VALIGN="TOP"
462>&nbsp;</TD
463></TR
464><TR
465><TD
466WIDTH="20%"
467ALIGN="RIGHT"
468VALIGN="TOP"
469><TT
470CLASS="PARAMETER"
471><I
472>...</I
473></TT
474>&nbsp;:</TD
475><TD
476WIDTH="80%"
477ALIGN="LEFT"
478VALIGN="TOP"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000479>&nbsp;</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000480></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000481></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000482></TABLE
483><P
484></P
485></DIV
486></DIV
487><HR><DIV
488CLASS="REFSECT2"
489><A
Daniel Veillardef90ba72001-12-07 14:24:22 +0000490NAME="AEN10506"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000491></A
492><H3
493><A
494NAME="XMLSETGENERICERRORFUNC"
495></A
496>xmlSetGenericErrorFunc ()</H3
497><TABLE
498BORDER="0"
499BGCOLOR="#D6E8FF"
500WIDTH="100%"
501CELLPADDING="6"
502><TR
503><TD
504><PRE
505CLASS="PROGRAMLISTING"
506>void xmlSetGenericErrorFunc (void *ctx,
507 <A
508HREF="libxml-xmlerror.html#XMLGENERICERRORFUNC"
509>xmlGenericErrorFunc</A
510> handler);</PRE
511></TD
512></TR
513></TABLE
514><P
515>Function to reset the handler and the error context for out of
516context error messages.
517This simply means that <TT
518CLASS="PARAMETER"
519><I
520>handler</I
521></TT
522> will be called for subsequent
523error messages while not parsing nor validating. And <TT
524CLASS="PARAMETER"
525><I
526>ctx</I
527></TT
528> will
529be passed as first argument to <TT
530CLASS="PARAMETER"
531><I
532>handler</I
533></TT
534>
535One can simply force messages to be emitted to another FILE * than
536stderr by setting <TT
537CLASS="PARAMETER"
538><I
539>ctx</I
540></TT
541> to this file handle and <TT
542CLASS="PARAMETER"
543><I
544>handler</I
545></TT
546> to NULL.</P
547><P
548></P
549><DIV
550CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000551><A
Daniel Veillardef90ba72001-12-07 14:24:22 +0000552NAME="AEN10518"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000553></A
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000554><P
555></P
556><TABLE
557BORDER="0"
558WIDTH="100%"
559BGCOLOR="#FFD0D0"
560CELLSPACING="0"
561CELLPADDING="4"
562CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000563><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000564><TR
565><TD
566WIDTH="20%"
567ALIGN="RIGHT"
568VALIGN="TOP"
569><TT
570CLASS="PARAMETER"
571><I
572>ctx</I
573></TT
574>&nbsp;:</TD
575><TD
576WIDTH="80%"
577ALIGN="LEFT"
578VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000579> the new error handling context</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000580></TR
581><TR
582><TD
583WIDTH="20%"
584ALIGN="RIGHT"
585VALIGN="TOP"
586><TT
587CLASS="PARAMETER"
588><I
589>handler</I
590></TT
591>&nbsp;:</TD
592><TD
593WIDTH="80%"
594ALIGN="LEFT"
595VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000596> the new handler function</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000597></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000598></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000599></TABLE
600><P
601></P
602></DIV
603></DIV
604><HR><DIV
605CLASS="REFSECT2"
606><A
Daniel Veillardef90ba72001-12-07 14:24:22 +0000607NAME="AEN10531"
Daniel Veillard52dcab32001-10-30 12:51:17 +0000608></A
609><H3
610><A
611NAME="INITGENERICERRORDEFAULTFUNC"
612></A
613>initGenericErrorDefaultFunc ()</H3
614><TABLE
615BORDER="0"
616BGCOLOR="#D6E8FF"
617WIDTH="100%"
618CELLPADDING="6"
619><TR
620><TD
621><PRE
622CLASS="PROGRAMLISTING"
623>void initGenericErrorDefaultFunc (<A
624HREF="libxml-xmlerror.html#XMLGENERICERRORFUNC"
625>xmlGenericErrorFunc</A
626> *handler);</PRE
627></TD
628></TR
629></TABLE
630><P
631></P
632><DIV
633CLASS="INFORMALTABLE"
634><A
Daniel Veillardef90ba72001-12-07 14:24:22 +0000635NAME="AEN10537"
Daniel Veillard52dcab32001-10-30 12:51:17 +0000636></A
637><P
638></P
639><TABLE
640BORDER="0"
641WIDTH="100%"
642BGCOLOR="#FFD0D0"
643CELLSPACING="0"
644CELLPADDING="4"
645CLASS="CALSTABLE"
646><TBODY
647><TR
648><TD
649WIDTH="20%"
650ALIGN="RIGHT"
651VALIGN="TOP"
652><TT
653CLASS="PARAMETER"
654><I
655>handler</I
656></TT
657>&nbsp;:</TD
658><TD
659WIDTH="80%"
660ALIGN="LEFT"
661VALIGN="TOP"
662>&nbsp;</TD
663></TR
664></TBODY
665></TABLE
666><P
667></P
668></DIV
669></DIV
670><HR><DIV
671CLASS="REFSECT2"
672><A
Daniel Veillardef90ba72001-12-07 14:24:22 +0000673NAME="AEN10546"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000674></A
675><H3
676><A
677NAME="XMLPARSERERROR"
678></A
679>xmlParserError ()</H3
680><TABLE
681BORDER="0"
682BGCOLOR="#D6E8FF"
683WIDTH="100%"
684CELLPADDING="6"
685><TR
686><TD
687><PRE
688CLASS="PROGRAMLISTING"
689>void xmlParserError (void *ctx,
690 const char *msg,
691 ...);</PRE
692></TD
693></TR
694></TABLE
695><P
696>Display and format an error messages, gives file, line, position and
697extra parameters.</P
698><P
699></P
700><DIV
701CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000702><A
Daniel Veillardef90ba72001-12-07 14:24:22 +0000703NAME="AEN10552"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000704></A
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000705><P
706></P
707><TABLE
708BORDER="0"
709WIDTH="100%"
710BGCOLOR="#FFD0D0"
711CELLSPACING="0"
712CELLPADDING="4"
713CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000714><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000715><TR
716><TD
717WIDTH="20%"
718ALIGN="RIGHT"
719VALIGN="TOP"
720><TT
721CLASS="PARAMETER"
722><I
723>ctx</I
724></TT
725>&nbsp;:</TD
726><TD
727WIDTH="80%"
728ALIGN="LEFT"
729VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000730> an XML parser context</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000731></TR
732><TR
733><TD
734WIDTH="20%"
735ALIGN="RIGHT"
736VALIGN="TOP"
737><TT
738CLASS="PARAMETER"
739><I
740>msg</I
741></TT
742>&nbsp;:</TD
743><TD
744WIDTH="80%"
745ALIGN="LEFT"
746VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000747> the message to display/transmit</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000748></TR
749><TR
750><TD
751WIDTH="20%"
752ALIGN="RIGHT"
753VALIGN="TOP"
754><TT
755CLASS="PARAMETER"
756><I
757>...</I
758></TT
759>&nbsp;:</TD
760><TD
761WIDTH="80%"
762ALIGN="LEFT"
763VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000764> extra parameters for the message display</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000765></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000766></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000767></TABLE
768><P
769></P
770></DIV
771></DIV
772><HR><DIV
773CLASS="REFSECT2"
774><A
Daniel Veillardef90ba72001-12-07 14:24:22 +0000775NAME="AEN10569"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000776></A
777><H3
778><A
779NAME="XMLPARSERWARNING"
780></A
781>xmlParserWarning ()</H3
782><TABLE
783BORDER="0"
784BGCOLOR="#D6E8FF"
785WIDTH="100%"
786CELLPADDING="6"
787><TR
788><TD
789><PRE
790CLASS="PROGRAMLISTING"
791>void xmlParserWarning (void *ctx,
792 const char *msg,
793 ...);</PRE
794></TD
795></TR
796></TABLE
797><P
798>Display and format a warning messages, gives file, line, position and
799extra parameters.</P
800><P
801></P
802><DIV
803CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000804><A
Daniel Veillardef90ba72001-12-07 14:24:22 +0000805NAME="AEN10575"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000806></A
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000807><P
808></P
809><TABLE
810BORDER="0"
811WIDTH="100%"
812BGCOLOR="#FFD0D0"
813CELLSPACING="0"
814CELLPADDING="4"
815CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000816><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000817><TR
818><TD
819WIDTH="20%"
820ALIGN="RIGHT"
821VALIGN="TOP"
822><TT
823CLASS="PARAMETER"
824><I
825>ctx</I
826></TT
827>&nbsp;:</TD
828><TD
829WIDTH="80%"
830ALIGN="LEFT"
831VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000832> an XML parser context</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000833></TR
834><TR
835><TD
836WIDTH="20%"
837ALIGN="RIGHT"
838VALIGN="TOP"
839><TT
840CLASS="PARAMETER"
841><I
842>msg</I
843></TT
844>&nbsp;:</TD
845><TD
846WIDTH="80%"
847ALIGN="LEFT"
848VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000849> the message to display/transmit</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000850></TR
851><TR
852><TD
853WIDTH="20%"
854ALIGN="RIGHT"
855VALIGN="TOP"
856><TT
857CLASS="PARAMETER"
858><I
859>...</I
860></TT
861>&nbsp;:</TD
862><TD
863WIDTH="80%"
864ALIGN="LEFT"
865VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000866> extra parameters for the message display</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000867></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000868></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000869></TABLE
870><P
871></P
872></DIV
873></DIV
874><HR><DIV
875CLASS="REFSECT2"
876><A
Daniel Veillardef90ba72001-12-07 14:24:22 +0000877NAME="AEN10592"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000878></A
879><H3
880><A
881NAME="XMLPARSERVALIDITYERROR"
882></A
883>xmlParserValidityError ()</H3
884><TABLE
885BORDER="0"
886BGCOLOR="#D6E8FF"
887WIDTH="100%"
888CELLPADDING="6"
889><TR
890><TD
891><PRE
892CLASS="PROGRAMLISTING"
893>void xmlParserValidityError (void *ctx,
894 const char *msg,
895 ...);</PRE
896></TD
897></TR
898></TABLE
899><P
900>Display and format an validity error messages, gives file,
901line, position and extra parameters.</P
902><P
903></P
904><DIV
905CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000906><A
Daniel Veillardef90ba72001-12-07 14:24:22 +0000907NAME="AEN10598"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000908></A
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000909><P
910></P
911><TABLE
912BORDER="0"
913WIDTH="100%"
914BGCOLOR="#FFD0D0"
915CELLSPACING="0"
916CELLPADDING="4"
917CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000918><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000919><TR
920><TD
921WIDTH="20%"
922ALIGN="RIGHT"
923VALIGN="TOP"
924><TT
925CLASS="PARAMETER"
926><I
927>ctx</I
928></TT
929>&nbsp;:</TD
930><TD
931WIDTH="80%"
932ALIGN="LEFT"
933VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000934> an XML parser context</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000935></TR
936><TR
937><TD
938WIDTH="20%"
939ALIGN="RIGHT"
940VALIGN="TOP"
941><TT
942CLASS="PARAMETER"
943><I
944>msg</I
945></TT
946>&nbsp;:</TD
947><TD
948WIDTH="80%"
949ALIGN="LEFT"
950VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000951> the message to display/transmit</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000952></TR
953><TR
954><TD
955WIDTH="20%"
956ALIGN="RIGHT"
957VALIGN="TOP"
958><TT
959CLASS="PARAMETER"
960><I
961>...</I
962></TT
963>&nbsp;:</TD
964><TD
965WIDTH="80%"
966ALIGN="LEFT"
967VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000968> extra parameters for the message display</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000969></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000970></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000971></TABLE
972><P
973></P
974></DIV
975></DIV
976><HR><DIV
977CLASS="REFSECT2"
978><A
Daniel Veillardef90ba72001-12-07 14:24:22 +0000979NAME="AEN10615"
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000980></A
981><H3
982><A
983NAME="XMLPARSERVALIDITYWARNING"
984></A
985>xmlParserValidityWarning ()</H3
986><TABLE
987BORDER="0"
988BGCOLOR="#D6E8FF"
989WIDTH="100%"
990CELLPADDING="6"
991><TR
992><TD
993><PRE
994CLASS="PROGRAMLISTING"
995>void xmlParserValidityWarning (void *ctx,
996 const char *msg,
997 ...);</PRE
998></TD
999></TR
1000></TABLE
1001><P
1002>Display and format a validity warning messages, gives file, line,
1003position and extra parameters.</P
1004><P
1005></P
1006><DIV
1007CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001008><A
Daniel Veillardef90ba72001-12-07 14:24:22 +00001009NAME="AEN10621"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001010></A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001011><P
1012></P
1013><TABLE
1014BORDER="0"
1015WIDTH="100%"
1016BGCOLOR="#FFD0D0"
1017CELLSPACING="0"
1018CELLPADDING="4"
1019CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001020><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001021><TR
1022><TD
1023WIDTH="20%"
1024ALIGN="RIGHT"
1025VALIGN="TOP"
1026><TT
1027CLASS="PARAMETER"
1028><I
1029>ctx</I
1030></TT
1031>&nbsp;:</TD
1032><TD
1033WIDTH="80%"
1034ALIGN="LEFT"
1035VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001036> an XML parser context</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001037></TR
1038><TR
1039><TD
1040WIDTH="20%"
1041ALIGN="RIGHT"
1042VALIGN="TOP"
1043><TT
1044CLASS="PARAMETER"
1045><I
1046>msg</I
1047></TT
1048>&nbsp;:</TD
1049><TD
1050WIDTH="80%"
1051ALIGN="LEFT"
1052VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001053> the message to display/transmit</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001054></TR
1055><TR
1056><TD
1057WIDTH="20%"
1058ALIGN="RIGHT"
1059VALIGN="TOP"
1060><TT
1061CLASS="PARAMETER"
1062><I
1063>...</I
1064></TT
1065>&nbsp;:</TD
1066><TD
1067WIDTH="80%"
1068ALIGN="LEFT"
1069VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001070> extra parameters for the message display</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001071></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001072></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001073></TABLE
1074><P
1075></P
1076></DIV
1077></DIV
1078><HR><DIV
1079CLASS="REFSECT2"
1080><A
Daniel Veillardef90ba72001-12-07 14:24:22 +00001081NAME="AEN10638"
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001082></A
1083><H3
1084><A
1085NAME="XMLPARSERPRINTFILEINFO"
1086></A
1087>xmlParserPrintFileInfo ()</H3
1088><TABLE
1089BORDER="0"
1090BGCOLOR="#D6E8FF"
1091WIDTH="100%"
1092CELLPADDING="6"
1093><TR
1094><TD
1095><PRE
1096CLASS="PROGRAMLISTING"
1097>void xmlParserPrintFileInfo (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001098HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001099>xmlParserInputPtr</A
1100> input);</PRE
1101></TD
1102></TR
1103></TABLE
1104><P
1105>Displays the associated file and line informations for the current input</P
1106><P
1107></P
1108><DIV
1109CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001110><A
Daniel Veillardef90ba72001-12-07 14:24:22 +00001111NAME="AEN10645"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001112></A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001113><P
1114></P
1115><TABLE
1116BORDER="0"
1117WIDTH="100%"
1118BGCOLOR="#FFD0D0"
1119CELLSPACING="0"
1120CELLPADDING="4"
1121CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001122><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001123><TR
1124><TD
1125WIDTH="20%"
1126ALIGN="RIGHT"
1127VALIGN="TOP"
1128><TT
1129CLASS="PARAMETER"
1130><I
1131>input</I
1132></TT
1133>&nbsp;:</TD
1134><TD
1135WIDTH="80%"
1136ALIGN="LEFT"
1137VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001138> an xmlParserInputPtr input</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001139></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001140></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001141></TABLE
1142><P
1143></P
1144></DIV
1145></DIV
1146><HR><DIV
1147CLASS="REFSECT2"
1148><A
Daniel Veillardef90ba72001-12-07 14:24:22 +00001149NAME="AEN10654"
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001150></A
1151><H3
1152><A
1153NAME="XMLPARSERPRINTFILECONTEXT"
1154></A
1155>xmlParserPrintFileContext ()</H3
1156><TABLE
1157BORDER="0"
1158BGCOLOR="#D6E8FF"
1159WIDTH="100%"
1160CELLPADDING="6"
1161><TR
1162><TD
1163><PRE
1164CLASS="PROGRAMLISTING"
1165>void xmlParserPrintFileContext (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001166HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001167>xmlParserInputPtr</A
1168> input);</PRE
1169></TD
1170></TR
1171></TABLE
1172><P
1173>Displays current context within the input content for error tracking</P
1174><P
1175></P
1176><DIV
1177CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001178><A
Daniel Veillardef90ba72001-12-07 14:24:22 +00001179NAME="AEN10661"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001180></A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001181><P
1182></P
1183><TABLE
1184BORDER="0"
1185WIDTH="100%"
1186BGCOLOR="#FFD0D0"
1187CELLSPACING="0"
1188CELLPADDING="4"
1189CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001190><TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001191><TR
1192><TD
1193WIDTH="20%"
1194ALIGN="RIGHT"
1195VALIGN="TOP"
1196><TT
1197CLASS="PARAMETER"
1198><I
1199>input</I
1200></TT
1201>&nbsp;:</TD
1202><TD
1203WIDTH="80%"
1204ALIGN="LEFT"
1205VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001206> an xmlParserInputPtr input</TD
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001207></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001208></TBODY
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001209></TABLE
1210><P
1211></P
1212></DIV
1213></DIV
1214></DIV
1215><DIV
1216CLASS="NAVFOOTER"
1217><BR
1218CLEAR="all"><BR><TABLE
1219WIDTH="100%"
1220BORDER="0"
1221BGCOLOR="#000000"
1222CELLPADDING="1"
1223CELLSPACING="0"
1224><TR
1225><TD
1226WIDTH="25%"
1227BGCOLOR="#C00000"
1228ALIGN="left"
1229><A
1230HREF="libxml-uri.html"
1231><FONT
1232COLOR="#FFFFFF"
1233SIZE="3"
1234><B
1235>&#60;&#60;&#60; Previous Page</B
1236></FONT
1237></A
1238></TD
1239><TD
1240WIDTH="25%"
1241BGCOLOR="#0000C0"
1242ALIGN="center"
1243><FONT
1244COLOR="#FFFFFF"
1245SIZE="3"
1246><B
1247><A
1248HREF="book1.html"
1249><FONT
1250COLOR="#FFFFFF"
1251SIZE="3"
1252><B
1253>Home</B
1254></FONT
1255></A
1256></B
1257></FONT
1258></TD
1259><TD
1260WIDTH="25%"
1261BGCOLOR="#00C000"
1262ALIGN="center"
1263><FONT
1264COLOR="#FFFFFF"
1265SIZE="3"
1266><B
1267><A
1268HREF="libxml-lib.html"
1269><FONT
1270COLOR="#FFFFFF"
1271SIZE="3"
1272><B
1273>Up</B
1274></FONT
1275></A
1276></B
1277></FONT
1278></TD
1279><TD
1280WIDTH="25%"
1281BGCOLOR="#C00000"
1282ALIGN="right"
1283><A
1284HREF="libxml-htmlparser.html"
1285><FONT
1286COLOR="#FFFFFF"
1287SIZE="3"
1288><B
1289>Next Page &#62;&#62;&#62;</B
1290></FONT
1291></A
1292></TD
1293></TR
1294><TR
1295><TD
1296COLSPAN="2"
1297ALIGN="left"
1298><FONT
1299COLOR="#FFFFFF"
1300SIZE="3"
1301><B
1302>uri</B
1303></FONT
1304></TD
1305><TD
1306COLSPAN="2"
1307ALIGN="right"
1308><FONT
1309COLOR="#FFFFFF"
1310SIZE="3"
1311><B
1312>HTMLparser</B
1313></FONT
1314></TD
1315></TR
1316></TABLE
1317></DIV
1318></BODY
1319></HTML
1320>