blob: ebcd732b4732437d372e3ce7cc37b57534ef6cd8 [file] [log] [blame]
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001<HTML
2><HEAD
3><TITLE
4>xml-error</TITLE
5><META
6NAME="GENERATOR"
7CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK
8REL="HOME"
9TITLE="Gnome XML Library Reference Manual"
10HREF="book1.html"><LINK
11REL="UP"
12TITLE="Gnome XML Library"
13HREF="libxml.html"><LINK
14REL="PREVIOUS"
15TITLE="valid"
16HREF="gnome-xml-valid.html"><LINK
17REL="NEXT"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000018TITLE="HTMLparser"
19HREF="gnome-xml-htmlparser.html"></HEAD
Daniel Veillard1566d3a1999-07-15 14:24:29 +000020><BODY
21BGCOLOR="#FFFFFF"
22TEXT="#000000"
23><DIV
24CLASS="NAVHEADER"
25><TABLE
26WIDTH="100%"
27BORDER="0"
28BGCOLOR="#000000"
29CELLPADDING="1"
30CELLSPACING="0"
31><TR
32><TH
33COLSPAN="4"
34ALIGN="center"
35><FONT
36COLOR="#FFFFFF"
37SIZE="5"
38>Gnome XML Library Reference Manual</FONT
39></TH
40></TR
41><TR
42><TD
43WIDTH="25%"
44BGCOLOR="#C00000"
45ALIGN="left"
46><A
47HREF="gnome-xml-valid.html"
48><FONT
49COLOR="#FFFFFF"
50SIZE="3"
51><B
52>&#60;&#60;&#60; Previous Page</B
53></FONT
54></A
55></TD
56><TD
57WIDTH="25%"
58BGCOLOR="#0000C0"
59ALIGN="center"
60><FONT
61COLOR="#FFFFFF"
62SIZE="3"
63><B
64><A
65HREF="book1.html"
66><FONT
67COLOR="#FFFFFF"
68SIZE="3"
69><B
70>Home</B
71></FONT
72></A
73></B
74></FONT
75></TD
76><TD
77WIDTH="25%"
78BGCOLOR="#00C000"
79ALIGN="center"
80><FONT
81COLOR="#FFFFFF"
82SIZE="3"
83><B
84><A
85HREF="libxml.html"
86><FONT
87COLOR="#FFFFFF"
88SIZE="3"
89><B
90>Up</B
91></FONT
92></A
93></B
94></FONT
95></TD
96><TD
97WIDTH="25%"
98BGCOLOR="#C00000"
99ALIGN="right"
100><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000101HREF="gnome-xml-htmlparser.html"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000102><FONT
103COLOR="#FFFFFF"
104SIZE="3"
105><B
106>Next Page &#62;&#62;&#62;</B
107></FONT
108></A
109></TD
110></TR
111></TABLE
112></DIV
113><H1
114>xml-error</H1
115><DIV
116CLASS="REFNAMEDIV"
117><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000118NAME="AEN5826"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000119></A
120><H2
121>Name</H2
122>xml-error &#8212; </DIV
123><DIV
124CLASS="REFSYNOPSISDIV"
125><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000126NAME="AEN5829"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000127></A
128><H2
129>Synopsis</H2
130><TABLE
131BORDER="0"
132BGCOLOR="#D6E8FF"
133WIDTH="100%"
134CELLPADDING="6"
135><TR
136><TD
137><PRE
138CLASS="SYNOPSIS"
139>&#13;
140
141void <A
142HREF="gnome-xml-xml-error.html#XMLPARSERERROR"
143>xmlParserError</A
144> (void *ctx,
145 const char *msg,
146 ...);
147void <A
148HREF="gnome-xml-xml-error.html#XMLPARSERWARNING"
149>xmlParserWarning</A
150> (void *ctx,
151 const char *msg,
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000152 ...);
153void <A
154HREF="gnome-xml-valid.html#XMLPARSERVALIDITYERROR"
155>xmlParserValidityError</A
156> (void *ctx,
157 const char *msg,
158 ...);
159void <A
160HREF="gnome-xml-valid.html#XMLPARSERVALIDITYWARNING"
161>xmlParserValidityWarning</A
162> (void *ctx,
163 const char *msg,
164 ...);
165void <A
166HREF="gnome-xml-xml-error.html#XMLPARSERPRINTFILEINFO"
167>xmlParserPrintFileInfo</A
168> (<A
169HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
170>xmlParserInputPtr</A
171> input);
172void <A
173HREF="gnome-xml-xml-error.html#XMLPARSERPRINTFILECONTEXT"
174>xmlParserPrintFileContext</A
175> (<A
176HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
177>xmlParserInputPtr</A
178> input);</PRE
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000179></TD
180></TR
181></TABLE
182></DIV
183><DIV
184CLASS="REFSECT1"
185><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000186NAME="AEN5840"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000187></A
188><H2
189>Description</H2
190><P
191></P
192></DIV
193><DIV
194CLASS="REFSECT1"
195><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000196NAME="AEN5843"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000197></A
198><H2
199>Details</H2
200><DIV
201CLASS="REFSECT2"
202><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000203NAME="AEN5845"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000204></A
205><H3
206><A
207NAME="XMLPARSERERROR"
208></A
209>xmlParserError ()</H3
210><TABLE
211BORDER="0"
212BGCOLOR="#D6E8FF"
213WIDTH="100%"
214CELLPADDING="6"
215><TR
216><TD
217><PRE
218CLASS="PROGRAMLISTING"
219>void xmlParserError (void *ctx,
220 const char *msg,
221 ...);</PRE
222></TD
223></TR
224></TABLE
225><P
226>Display and format an error messages, gives file, line, position and
227extra parameters.</P
228><P
229></P
230><DIV
231CLASS="INFORMALTABLE"
232><P
233></P
234><TABLE
235BORDER="0"
236WIDTH="100%"
237BGCOLOR="#FFD0D0"
238CELLSPACING="0"
239CELLPADDING="4"
240CLASS="CALSTABLE"
241><TR
242><TD
243WIDTH="20%"
244ALIGN="RIGHT"
245VALIGN="TOP"
246><TT
247CLASS="PARAMETER"
248><I
249>ctx</I
250></TT
251>&nbsp;:</TD
252><TD
253WIDTH="80%"
254ALIGN="LEFT"
255VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000256> an XML parser context</TD
257></TR
258><TR
259><TD
260WIDTH="20%"
261ALIGN="RIGHT"
262VALIGN="TOP"
263><TT
264CLASS="PARAMETER"
265><I
266>msg</I
267></TT
268>&nbsp;:</TD
269><TD
270WIDTH="80%"
271ALIGN="LEFT"
272VALIGN="TOP"
273> the message to display/transmit</TD
274></TR
275><TR
276><TD
277WIDTH="20%"
278ALIGN="RIGHT"
279VALIGN="TOP"
280><TT
281CLASS="PARAMETER"
282><I
283>...</I
284></TT
285>&nbsp;:</TD
286><TD
287WIDTH="80%"
288ALIGN="LEFT"
289VALIGN="TOP"
290> extra parameters for the message display</TD
291></TR
292></TABLE
293><P
294></P
295></DIV
296></DIV
297><HR><DIV
298CLASS="REFSECT2"
299><A
300NAME="AEN5868"
301></A
302><H3
303><A
304NAME="XMLPARSERWARNING"
305></A
306>xmlParserWarning ()</H3
307><TABLE
308BORDER="0"
309BGCOLOR="#D6E8FF"
310WIDTH="100%"
311CELLPADDING="6"
312><TR
313><TD
314><PRE
315CLASS="PROGRAMLISTING"
316>void xmlParserWarning (void *ctx,
317 const char *msg,
318 ...);</PRE
319></TD
320></TR
321></TABLE
322><P
323>Display and format a warning messages, gives file, line, position and
324extra parameters.</P
325><P
326></P
327><DIV
328CLASS="INFORMALTABLE"
329><P
330></P
331><TABLE
332BORDER="0"
333WIDTH="100%"
334BGCOLOR="#FFD0D0"
335CELLSPACING="0"
336CELLPADDING="4"
337CLASS="CALSTABLE"
338><TR
339><TD
340WIDTH="20%"
341ALIGN="RIGHT"
342VALIGN="TOP"
343><TT
344CLASS="PARAMETER"
345><I
346>ctx</I
347></TT
348>&nbsp;:</TD
349><TD
350WIDTH="80%"
351ALIGN="LEFT"
352VALIGN="TOP"
353> an XML parser context</TD
354></TR
355><TR
356><TD
357WIDTH="20%"
358ALIGN="RIGHT"
359VALIGN="TOP"
360><TT
361CLASS="PARAMETER"
362><I
363>msg</I
364></TT
365>&nbsp;:</TD
366><TD
367WIDTH="80%"
368ALIGN="LEFT"
369VALIGN="TOP"
370> the message to display/transmit</TD
371></TR
372><TR
373><TD
374WIDTH="20%"
375ALIGN="RIGHT"
376VALIGN="TOP"
377><TT
378CLASS="PARAMETER"
379><I
380>...</I
381></TT
382>&nbsp;:</TD
383><TD
384WIDTH="80%"
385ALIGN="LEFT"
386VALIGN="TOP"
387> extra parameters for the message display</TD
388></TR
389></TABLE
390><P
391></P
392></DIV
393></DIV
394><HR><DIV
395CLASS="REFSECT2"
396><A
397NAME="AEN5891"
398></A
399><H3
400><A
401NAME="XMLPARSERVALIDITYERROR"
402></A
403>xmlParserValidityError ()</H3
404><TABLE
405BORDER="0"
406BGCOLOR="#D6E8FF"
407WIDTH="100%"
408CELLPADDING="6"
409><TR
410><TD
411><PRE
412CLASS="PROGRAMLISTING"
413>void xmlParserValidityError (void *ctx,
414 const char *msg,
415 ...);</PRE
416></TD
417></TR
418></TABLE
419><P
420>Display and format an validity error messages, gives file,
421line, position and extra parameters.</P
422><P
423></P
424><DIV
425CLASS="INFORMALTABLE"
426><P
427></P
428><TABLE
429BORDER="0"
430WIDTH="100%"
431BGCOLOR="#FFD0D0"
432CELLSPACING="0"
433CELLPADDING="4"
434CLASS="CALSTABLE"
435><TR
436><TD
437WIDTH="20%"
438ALIGN="RIGHT"
439VALIGN="TOP"
440><TT
441CLASS="PARAMETER"
442><I
443>ctx</I
444></TT
445>&nbsp;:</TD
446><TD
447WIDTH="80%"
448ALIGN="LEFT"
449VALIGN="TOP"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000450>&nbsp;</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000451></TR
452><TR
453><TD
454WIDTH="20%"
455ALIGN="RIGHT"
456VALIGN="TOP"
457><TT
458CLASS="PARAMETER"
459><I
460>msg</I
461></TT
462>&nbsp;:</TD
463><TD
464WIDTH="80%"
465ALIGN="LEFT"
466VALIGN="TOP"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000467>&nbsp;</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000468></TR
469><TR
470><TD
471WIDTH="20%"
472ALIGN="RIGHT"
473VALIGN="TOP"
474><TT
475CLASS="PARAMETER"
476><I
477>...</I
478></TT
479>&nbsp;:</TD
480><TD
481WIDTH="80%"
482ALIGN="LEFT"
483VALIGN="TOP"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000484>&nbsp;</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000485></TR
486></TABLE
487><P
488></P
489></DIV
490></DIV
491><HR><DIV
492CLASS="REFSECT2"
493><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000494NAME="AEN5914"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000495></A
496><H3
497><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000498NAME="XMLPARSERVALIDITYWARNING"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000499></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000500>xmlParserValidityWarning ()</H3
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000501><TABLE
502BORDER="0"
503BGCOLOR="#D6E8FF"
504WIDTH="100%"
505CELLPADDING="6"
506><TR
507><TD
508><PRE
509CLASS="PROGRAMLISTING"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000510>void xmlParserValidityWarning (void *ctx,
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000511 const char *msg,
512 ...);</PRE
513></TD
514></TR
515></TABLE
516><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000517>Display and format a validity warning messages, gives file, line,
518position and extra parameters.</P
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000519><P
520></P
521><DIV
522CLASS="INFORMALTABLE"
523><P
524></P
525><TABLE
526BORDER="0"
527WIDTH="100%"
528BGCOLOR="#FFD0D0"
529CELLSPACING="0"
530CELLPADDING="4"
531CLASS="CALSTABLE"
532><TR
533><TD
534WIDTH="20%"
535ALIGN="RIGHT"
536VALIGN="TOP"
537><TT
538CLASS="PARAMETER"
539><I
540>ctx</I
541></TT
542>&nbsp;:</TD
543><TD
544WIDTH="80%"
545ALIGN="LEFT"
546VALIGN="TOP"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000547>&nbsp;</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000548></TR
549><TR
550><TD
551WIDTH="20%"
552ALIGN="RIGHT"
553VALIGN="TOP"
554><TT
555CLASS="PARAMETER"
556><I
557>msg</I
558></TT
559>&nbsp;:</TD
560><TD
561WIDTH="80%"
562ALIGN="LEFT"
563VALIGN="TOP"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000564>&nbsp;</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000565></TR
566><TR
567><TD
568WIDTH="20%"
569ALIGN="RIGHT"
570VALIGN="TOP"
571><TT
572CLASS="PARAMETER"
573><I
574>...</I
575></TT
576>&nbsp;:</TD
577><TD
578WIDTH="80%"
579ALIGN="LEFT"
580VALIGN="TOP"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000581>&nbsp;</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000582></TR
583></TABLE
584><P
585></P
586></DIV
587></DIV
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000588><HR><DIV
589CLASS="REFSECT2"
590><A
591NAME="AEN5937"
592></A
593><H3
594><A
595NAME="XMLPARSERPRINTFILEINFO"
596></A
597>xmlParserPrintFileInfo ()</H3
598><TABLE
599BORDER="0"
600BGCOLOR="#D6E8FF"
601WIDTH="100%"
602CELLPADDING="6"
603><TR
604><TD
605><PRE
606CLASS="PROGRAMLISTING"
607>void xmlParserPrintFileInfo (<A
608HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
609>xmlParserInputPtr</A
610> input);</PRE
611></TD
612></TR
613></TABLE
614><P
615>Displays the associated file and line informations for the current input</P
616><P
617></P
618><DIV
619CLASS="INFORMALTABLE"
620><P
621></P
622><TABLE
623BORDER="0"
624WIDTH="100%"
625BGCOLOR="#FFD0D0"
626CELLSPACING="0"
627CELLPADDING="4"
628CLASS="CALSTABLE"
629><TR
630><TD
631WIDTH="20%"
632ALIGN="RIGHT"
633VALIGN="TOP"
634><TT
635CLASS="PARAMETER"
636><I
637>input</I
638></TT
639>&nbsp;:</TD
640><TD
641WIDTH="80%"
642ALIGN="LEFT"
643VALIGN="TOP"
644> an xmlParserInputPtr input</TD
645></TR
646></TABLE
647><P
648></P
649></DIV
650></DIV
651><HR><DIV
652CLASS="REFSECT2"
653><A
654NAME="AEN5953"
655></A
656><H3
657><A
658NAME="XMLPARSERPRINTFILECONTEXT"
659></A
660>xmlParserPrintFileContext ()</H3
661><TABLE
662BORDER="0"
663BGCOLOR="#D6E8FF"
664WIDTH="100%"
665CELLPADDING="6"
666><TR
667><TD
668><PRE
669CLASS="PROGRAMLISTING"
670>void xmlParserPrintFileContext (<A
671HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
672>xmlParserInputPtr</A
673> input);</PRE
674></TD
675></TR
676></TABLE
677><P
678>Displays current context within the input content for error tracking</P
679><P
680></P
681><DIV
682CLASS="INFORMALTABLE"
683><P
684></P
685><TABLE
686BORDER="0"
687WIDTH="100%"
688BGCOLOR="#FFD0D0"
689CELLSPACING="0"
690CELLPADDING="4"
691CLASS="CALSTABLE"
692><TR
693><TD
694WIDTH="20%"
695ALIGN="RIGHT"
696VALIGN="TOP"
697><TT
698CLASS="PARAMETER"
699><I
700>input</I
701></TT
702>&nbsp;:</TD
703><TD
704WIDTH="80%"
705ALIGN="LEFT"
706VALIGN="TOP"
707> an xmlParserInputPtr input</TD
708></TR
709></TABLE
710><P
711></P
712></DIV
713></DIV
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000714></DIV
715><DIV
716CLASS="NAVFOOTER"
717><BR><BR><TABLE
718WIDTH="100%"
719BORDER="0"
720BGCOLOR="#000000"
721CELLPADDING="1"
722CELLSPACING="0"
723><TR
724><TD
725WIDTH="25%"
726BGCOLOR="#C00000"
727ALIGN="left"
728><A
729HREF="gnome-xml-valid.html"
730><FONT
731COLOR="#FFFFFF"
732SIZE="3"
733><B
734>&#60;&#60;&#60; Previous Page</B
735></FONT
736></A
737></TD
738><TD
739WIDTH="25%"
740BGCOLOR="#0000C0"
741ALIGN="center"
742><FONT
743COLOR="#FFFFFF"
744SIZE="3"
745><B
746><A
747HREF="book1.html"
748><FONT
749COLOR="#FFFFFF"
750SIZE="3"
751><B
752>Home</B
753></FONT
754></A
755></B
756></FONT
757></TD
758><TD
759WIDTH="25%"
760BGCOLOR="#00C000"
761ALIGN="center"
762><FONT
763COLOR="#FFFFFF"
764SIZE="3"
765><B
766><A
767HREF="libxml.html"
768><FONT
769COLOR="#FFFFFF"
770SIZE="3"
771><B
772>Up</B
773></FONT
774></A
775></B
776></FONT
777></TD
778><TD
779WIDTH="25%"
780BGCOLOR="#C00000"
781ALIGN="right"
782><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000783HREF="gnome-xml-htmlparser.html"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000784><FONT
785COLOR="#FFFFFF"
786SIZE="3"
787><B
788>Next Page &#62;&#62;&#62;</B
789></FONT
790></A
791></TD
792></TR
793><TR
794><TD
795COLSPAN="2"
796ALIGN="left"
797><FONT
798COLOR="#FFFFFF"
799SIZE="3"
800><B
801>valid</B
802></FONT
803></TD
804><TD
805COLSPAN="2"
806ALIGN="right"
807><FONT
808COLOR="#FFFFFF"
809SIZE="3"
810><B
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000811>HTMLparser</B
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000812></FONT
813></TD
814></TR
815></TABLE
816></DIV
817></BODY
818></HTML
819>