blob: d64092c9a2830f13e7e19ac59f846d9efaee24f0 [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"
Daniel Veillard35008381999-10-25 13:15:52 +000012TITLE="Libxml Library Reference"
13HREF="libxml-lib.html"><LINK
Daniel Veillard1566d3a1999-07-15 14:24:29 +000014REL="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
Daniel Veillard35008381999-10-25 13:15:52 +000085HREF="libxml-lib.html"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000086><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 Veillard294cbca1999-12-03 13:19:09 +0000118NAME="AEN7293"
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 Veillard294cbca1999-12-03 13:19:09 +0000126NAME="AEN7296"
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
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000141enum <A
142HREF="gnome-xml-xml-error.html#XMLPARSERERRORS"
143>xmlParserErrors</A
144>;
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000145void <A
146HREF="gnome-xml-xml-error.html#XMLPARSERERROR"
147>xmlParserError</A
148> (void *ctx,
149 const char *msg,
150 ...);
151void <A
152HREF="gnome-xml-xml-error.html#XMLPARSERWARNING"
153>xmlParserWarning</A
154> (void *ctx,
155 const char *msg,
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000156 ...);
157void <A
Daniel Veillard00fdf371999-10-08 09:40:39 +0000158HREF="gnome-xml-xml-error.html#XMLPARSERVALIDITYERROR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000159>xmlParserValidityError</A
160> (void *ctx,
161 const char *msg,
162 ...);
163void <A
Daniel Veillard00fdf371999-10-08 09:40:39 +0000164HREF="gnome-xml-xml-error.html#XMLPARSERVALIDITYWARNING"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000165>xmlParserValidityWarning</A
166> (void *ctx,
167 const char *msg,
168 ...);
169void <A
170HREF="gnome-xml-xml-error.html#XMLPARSERPRINTFILEINFO"
171>xmlParserPrintFileInfo</A
172> (<A
173HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
174>xmlParserInputPtr</A
175> input);
176void <A
177HREF="gnome-xml-xml-error.html#XMLPARSERPRINTFILECONTEXT"
178>xmlParserPrintFileContext</A
179> (<A
180HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
181>xmlParserInputPtr</A
182> input);</PRE
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000183></TD
184></TR
185></TABLE
186></DIV
187><DIV
188CLASS="REFSECT1"
189><A
Daniel Veillard294cbca1999-12-03 13:19:09 +0000190NAME="AEN7308"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000191></A
192><H2
193>Description</H2
194><P
195></P
196></DIV
197><DIV
198CLASS="REFSECT1"
199><A
Daniel Veillard294cbca1999-12-03 13:19:09 +0000200NAME="AEN7311"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000201></A
202><H2
203>Details</H2
204><DIV
205CLASS="REFSECT2"
206><A
Daniel Veillard294cbca1999-12-03 13:19:09 +0000207NAME="AEN7313"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000208></A
209><H3
210><A
211NAME="XMLPARSERERRORS"
212></A
213>enum xmlParserErrors</H3
214><TABLE
215BORDER="0"
216BGCOLOR="#D6E8FF"
217WIDTH="100%"
218CELLPADDING="6"
219><TR
220><TD
221><PRE
222CLASS="PROGRAMLISTING"
223>typedef enum {
224 XML_ERR_OK = 0,
225 XML_ERR_INTERNAL_ERROR,
226 XML_ERR_NO_MEMORY,
227
Daniel Veillardad219441999-09-27 08:17:49 +0000228 XML_ERR_DOCUMENT_START, /* 3 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000229 XML_ERR_DOCUMENT_EMPTY,
230 XML_ERR_DOCUMENT_END,
231
Daniel Veillardad219441999-09-27 08:17:49 +0000232 XML_ERR_INVALID_HEX_CHARREF, /* 6 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000233 XML_ERR_INVALID_DEC_CHARREF,
234 XML_ERR_INVALID_CHARREF,
235 XML_ERR_INVALID_CHAR,
236
Daniel Veillardad219441999-09-27 08:17:49 +0000237 XML_ERR_CHARREF_AT_EOF, /* 10 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000238 XML_ERR_CHARREF_IN_PROLOG,
239 XML_ERR_CHARREF_IN_EPILOG,
240 XML_ERR_CHARREF_IN_DTD,
241 XML_ERR_ENTITYREF_AT_EOF,
242 XML_ERR_ENTITYREF_IN_PROLOG,
243 XML_ERR_ENTITYREF_IN_EPILOG,
244 XML_ERR_ENTITYREF_IN_DTD,
245 XML_ERR_PEREF_AT_EOF,
246 XML_ERR_PEREF_IN_PROLOG,
247 XML_ERR_PEREF_IN_EPILOG,
248 XML_ERR_PEREF_IN_INT_SUBSET,
249
Daniel Veillardad219441999-09-27 08:17:49 +0000250 XML_ERR_ENTITYREF_NO_NAME, /* 22 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000251 XML_ERR_ENTITYREF_SEMICOL_MISSING,
252
Daniel Veillardad219441999-09-27 08:17:49 +0000253 XML_ERR_PEREF_NO_NAME, /* 24 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000254 XML_ERR_PEREF_SEMICOL_MISSING,
255
Daniel Veillardad219441999-09-27 08:17:49 +0000256 XML_ERR_UNDECLARED_ENTITY, /* 26 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000257 XML_WAR_UNDECLARED_ENTITY,
258 XML_ERR_UNPARSED_ENTITY,
259 XML_ERR_ENTITY_IS_EXTERNAL,
260 XML_ERR_ENTITY_IS_PARAMETER,
261
Daniel Veillardad219441999-09-27 08:17:49 +0000262 XML_ERR_UNKNOWN_ENCODING, /* 31 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000263 XML_ERR_UNSUPPORTED_ENCODING,
264
Daniel Veillardad219441999-09-27 08:17:49 +0000265 XML_ERR_STRING_NOT_STARTED, /* 33 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000266 XML_ERR_STRING_NOT_CLOSED,
267 XML_ERR_NS_DECL_ERROR,
268
Daniel Veillardad219441999-09-27 08:17:49 +0000269 XML_ERR_ENTITY_NOT_STARTED, /* 36 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000270 XML_ERR_ENTITY_NOT_FINISHED,
271
Daniel Veillardad219441999-09-27 08:17:49 +0000272 XML_ERR_LT_IN_ATTRIBUTE, /* 38 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000273 XML_ERR_ATTRIBUTE_NOT_STARTED,
274 XML_ERR_ATTRIBUTE_NOT_FINISHED,
275 XML_ERR_ATTRIBUTE_WITHOUT_VALUE,
276 XML_ERR_ATTRIBUTE_REDEFINED,
277
Daniel Veillardad219441999-09-27 08:17:49 +0000278 XML_ERR_LITERAL_NOT_STARTED, /* 43 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000279 XML_ERR_LITERAL_NOT_FINISHED,
280
Daniel Veillardad219441999-09-27 08:17:49 +0000281 XML_ERR_COMMENT_NOT_FINISHED, /* 45 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000282
Daniel Veillardad219441999-09-27 08:17:49 +0000283 XML_ERR_PI_NOT_STARTED, /* 47 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000284 XML_ERR_PI_NOT_FINISHED,
285
Daniel Veillardad219441999-09-27 08:17:49 +0000286 XML_ERR_NOTATION_NOT_STARTED, /* 49 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000287 XML_ERR_NOTATION_NOT_FINISHED,
288
Daniel Veillardad219441999-09-27 08:17:49 +0000289 XML_ERR_ATTLIST_NOT_STARTED, /* 51 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000290 XML_ERR_ATTLIST_NOT_FINISHED,
291
Daniel Veillardad219441999-09-27 08:17:49 +0000292 XML_ERR_MIXED_NOT_STARTED, /* 53 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000293 XML_ERR_MIXED_NOT_FINISHED,
294
Daniel Veillardad219441999-09-27 08:17:49 +0000295 XML_ERR_ELEMCONTENT_NOT_STARTED, /* 55 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000296 XML_ERR_ELEMCONTENT_NOT_FINISHED,
297
Daniel Veillardad219441999-09-27 08:17:49 +0000298 XML_ERR_XMLDECL_NOT_STARTED, /* 57 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000299 XML_ERR_XMLDECL_NOT_FINISHED,
300
Daniel Veillardad219441999-09-27 08:17:49 +0000301 XML_ERR_CONDSEC_NOT_STARTED, /* 59 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000302 XML_ERR_CONDSEC_NOT_FINISHED,
303
Daniel Veillardad219441999-09-27 08:17:49 +0000304 XML_ERR_EXT_SUBSET_NOT_FINISHED, /* 61 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000305
Daniel Veillardad219441999-09-27 08:17:49 +0000306 XML_ERR_DOCTYPE_NOT_FINISHED, /* 62 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000307
Daniel Veillardad219441999-09-27 08:17:49 +0000308 XML_ERR_MISPLACED_CDATA_END, /* 63 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000309 XML_ERR_CDATA_NOT_FINISHED,
310
Daniel Veillardad219441999-09-27 08:17:49 +0000311 XML_ERR_RESERVED_XML_NAME, /* 65 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000312
Daniel Veillardad219441999-09-27 08:17:49 +0000313 XML_ERR_SPACE_REQUIRED, /* 66 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000314 XML_ERR_SEPARATOR_REQUIRED,
315 XML_ERR_NMTOKEN_REQUIRED,
316 XML_ERR_NAME_REQUIRED,
317 XML_ERR_PCDATA_REQUIRED,
318 XML_ERR_URI_REQUIRED,
319 XML_ERR_PUBID_REQUIRED,
320 XML_ERR_LT_REQUIRED,
321 XML_ERR_GT_REQUIRED,
322 XML_ERR_LTSLASH_REQUIRED,
323 XML_ERR_EQUAL_REQUIRED,
324
Daniel Veillardad219441999-09-27 08:17:49 +0000325 XML_ERR_TAG_NAME_MISMATCH, /* 77 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000326 XML_ERR_TAG_NOT_FINISED,
327
Daniel Veillardad219441999-09-27 08:17:49 +0000328 XML_ERR_STANDALONE_VALUE, /* 79 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000329
Daniel Veillardad219441999-09-27 08:17:49 +0000330 XML_ERR_ENCODING_NAME, /* 80 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000331
Daniel Veillardad219441999-09-27 08:17:49 +0000332 XML_ERR_HYPHEN_IN_COMMENT /* 81 */
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000333
334}xmlParserErrors;</PRE
335></TD
336></TR
337></TABLE
338><P
339></P
340></DIV
341><HR><DIV
342CLASS="REFSECT2"
343><A
Daniel Veillard294cbca1999-12-03 13:19:09 +0000344NAME="AEN7318"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000345></A
346><H3
347><A
348NAME="XMLPARSERERROR"
349></A
350>xmlParserError ()</H3
351><TABLE
352BORDER="0"
353BGCOLOR="#D6E8FF"
354WIDTH="100%"
355CELLPADDING="6"
356><TR
357><TD
358><PRE
359CLASS="PROGRAMLISTING"
360>void xmlParserError (void *ctx,
361 const char *msg,
362 ...);</PRE
363></TD
364></TR
365></TABLE
366><P
367>Display and format an error messages, gives file, line, position and
368extra parameters.</P
369><P
370></P
371><DIV
372CLASS="INFORMALTABLE"
373><P
374></P
375><TABLE
376BORDER="0"
377WIDTH="100%"
378BGCOLOR="#FFD0D0"
379CELLSPACING="0"
380CELLPADDING="4"
381CLASS="CALSTABLE"
382><TR
383><TD
384WIDTH="20%"
385ALIGN="RIGHT"
386VALIGN="TOP"
387><TT
388CLASS="PARAMETER"
389><I
390>ctx</I
391></TT
392>&nbsp;:</TD
393><TD
394WIDTH="80%"
395ALIGN="LEFT"
396VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +0000397> an XML parser context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000398></TR
399><TR
400><TD
401WIDTH="20%"
402ALIGN="RIGHT"
403VALIGN="TOP"
404><TT
405CLASS="PARAMETER"
406><I
407>msg</I
408></TT
409>&nbsp;:</TD
410><TD
411WIDTH="80%"
412ALIGN="LEFT"
413VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +0000414> the message to display/transmit</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000415></TR
416><TR
417><TD
418WIDTH="20%"
419ALIGN="RIGHT"
420VALIGN="TOP"
421><TT
422CLASS="PARAMETER"
423><I
424>...</I
425></TT
426>&nbsp;:</TD
427><TD
428WIDTH="80%"
429ALIGN="LEFT"
430VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +0000431> extra parameters for the message display</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000432></TR
433></TABLE
434><P
435></P
436></DIV
437></DIV
438><HR><DIV
439CLASS="REFSECT2"
440><A
Daniel Veillard294cbca1999-12-03 13:19:09 +0000441NAME="AEN7341"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000442></A
443><H3
444><A
445NAME="XMLPARSERWARNING"
446></A
447>xmlParserWarning ()</H3
448><TABLE
449BORDER="0"
450BGCOLOR="#D6E8FF"
451WIDTH="100%"
452CELLPADDING="6"
453><TR
454><TD
455><PRE
456CLASS="PROGRAMLISTING"
457>void xmlParserWarning (void *ctx,
458 const char *msg,
459 ...);</PRE
460></TD
461></TR
462></TABLE
463><P
464>Display and format a warning messages, gives file, line, position and
465extra parameters.</P
466><P
467></P
468><DIV
469CLASS="INFORMALTABLE"
470><P
471></P
472><TABLE
473BORDER="0"
474WIDTH="100%"
475BGCOLOR="#FFD0D0"
476CELLSPACING="0"
477CELLPADDING="4"
478CLASS="CALSTABLE"
479><TR
480><TD
481WIDTH="20%"
482ALIGN="RIGHT"
483VALIGN="TOP"
484><TT
485CLASS="PARAMETER"
486><I
487>ctx</I
488></TT
489>&nbsp;:</TD
490><TD
491WIDTH="80%"
492ALIGN="LEFT"
493VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +0000494> an XML parser context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000495></TR
496><TR
497><TD
498WIDTH="20%"
499ALIGN="RIGHT"
500VALIGN="TOP"
501><TT
502CLASS="PARAMETER"
503><I
504>msg</I
505></TT
506>&nbsp;:</TD
507><TD
508WIDTH="80%"
509ALIGN="LEFT"
510VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +0000511> the message to display/transmit</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000512></TR
513><TR
514><TD
515WIDTH="20%"
516ALIGN="RIGHT"
517VALIGN="TOP"
518><TT
519CLASS="PARAMETER"
520><I
521>...</I
522></TT
523>&nbsp;:</TD
524><TD
525WIDTH="80%"
526ALIGN="LEFT"
527VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +0000528> extra parameters for the message display</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000529></TR
530></TABLE
531><P
532></P
533></DIV
534></DIV
535><HR><DIV
536CLASS="REFSECT2"
537><A
Daniel Veillard294cbca1999-12-03 13:19:09 +0000538NAME="AEN7364"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000539></A
540><H3
541><A
542NAME="XMLPARSERVALIDITYERROR"
543></A
544>xmlParserValidityError ()</H3
545><TABLE
546BORDER="0"
547BGCOLOR="#D6E8FF"
548WIDTH="100%"
549CELLPADDING="6"
550><TR
551><TD
552><PRE
553CLASS="PROGRAMLISTING"
554>void xmlParserValidityError (void *ctx,
555 const char *msg,
556 ...);</PRE
557></TD
558></TR
559></TABLE
560><P
561>Display and format an validity error messages, gives file,
562line, position and extra parameters.</P
563><P
564></P
565><DIV
566CLASS="INFORMALTABLE"
567><P
568></P
569><TABLE
570BORDER="0"
571WIDTH="100%"
572BGCOLOR="#FFD0D0"
573CELLSPACING="0"
574CELLPADDING="4"
575CLASS="CALSTABLE"
576><TR
577><TD
578WIDTH="20%"
579ALIGN="RIGHT"
580VALIGN="TOP"
581><TT
582CLASS="PARAMETER"
583><I
584>ctx</I
585></TT
586>&nbsp;:</TD
587><TD
588WIDTH="80%"
589ALIGN="LEFT"
590VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +0000591> an XML parser context</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000592></TR
593><TR
594><TD
595WIDTH="20%"
596ALIGN="RIGHT"
597VALIGN="TOP"
598><TT
599CLASS="PARAMETER"
600><I
601>msg</I
602></TT
603>&nbsp;:</TD
604><TD
605WIDTH="80%"
606ALIGN="LEFT"
607VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +0000608> the message to display/transmit</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000609></TR
610><TR
611><TD
612WIDTH="20%"
613ALIGN="RIGHT"
614VALIGN="TOP"
615><TT
616CLASS="PARAMETER"
617><I
618>...</I
619></TT
620>&nbsp;:</TD
621><TD
622WIDTH="80%"
623ALIGN="LEFT"
624VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +0000625> extra parameters for the message display</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000626></TR
627></TABLE
628><P
629></P
630></DIV
631></DIV
632><HR><DIV
633CLASS="REFSECT2"
634><A
Daniel Veillard294cbca1999-12-03 13:19:09 +0000635NAME="AEN7387"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000636></A
637><H3
638><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000639NAME="XMLPARSERVALIDITYWARNING"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000640></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000641>xmlParserValidityWarning ()</H3
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000642><TABLE
643BORDER="0"
644BGCOLOR="#D6E8FF"
645WIDTH="100%"
646CELLPADDING="6"
647><TR
648><TD
649><PRE
650CLASS="PROGRAMLISTING"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000651>void xmlParserValidityWarning (void *ctx,
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000652 const char *msg,
653 ...);</PRE
654></TD
655></TR
656></TABLE
657><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000658>Display and format a validity warning messages, gives file, line,
659position and extra parameters.</P
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000660><P
661></P
662><DIV
663CLASS="INFORMALTABLE"
664><P
665></P
666><TABLE
667BORDER="0"
668WIDTH="100%"
669BGCOLOR="#FFD0D0"
670CELLSPACING="0"
671CELLPADDING="4"
672CLASS="CALSTABLE"
673><TR
674><TD
675WIDTH="20%"
676ALIGN="RIGHT"
677VALIGN="TOP"
678><TT
679CLASS="PARAMETER"
680><I
681>ctx</I
682></TT
683>&nbsp;:</TD
684><TD
685WIDTH="80%"
686ALIGN="LEFT"
687VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +0000688> an XML parser context</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000689></TR
690><TR
691><TD
692WIDTH="20%"
693ALIGN="RIGHT"
694VALIGN="TOP"
695><TT
696CLASS="PARAMETER"
697><I
698>msg</I
699></TT
700>&nbsp;:</TD
701><TD
702WIDTH="80%"
703ALIGN="LEFT"
704VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +0000705> the message to display/transmit</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000706></TR
707><TR
708><TD
709WIDTH="20%"
710ALIGN="RIGHT"
711VALIGN="TOP"
712><TT
713CLASS="PARAMETER"
714><I
715>...</I
716></TT
717>&nbsp;:</TD
718><TD
719WIDTH="80%"
720ALIGN="LEFT"
721VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +0000722> extra parameters for the message display</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000723></TR
724></TABLE
725><P
726></P
727></DIV
728></DIV
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000729><HR><DIV
730CLASS="REFSECT2"
731><A
Daniel Veillard294cbca1999-12-03 13:19:09 +0000732NAME="AEN7410"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000733></A
734><H3
735><A
736NAME="XMLPARSERPRINTFILEINFO"
737></A
738>xmlParserPrintFileInfo ()</H3
739><TABLE
740BORDER="0"
741BGCOLOR="#D6E8FF"
742WIDTH="100%"
743CELLPADDING="6"
744><TR
745><TD
746><PRE
747CLASS="PROGRAMLISTING"
748>void xmlParserPrintFileInfo (<A
749HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
750>xmlParserInputPtr</A
751> input);</PRE
752></TD
753></TR
754></TABLE
755><P
756>Displays the associated file and line informations for the current input</P
757><P
758></P
759><DIV
760CLASS="INFORMALTABLE"
761><P
762></P
763><TABLE
764BORDER="0"
765WIDTH="100%"
766BGCOLOR="#FFD0D0"
767CELLSPACING="0"
768CELLPADDING="4"
769CLASS="CALSTABLE"
770><TR
771><TD
772WIDTH="20%"
773ALIGN="RIGHT"
774VALIGN="TOP"
775><TT
776CLASS="PARAMETER"
777><I
778>input</I
779></TT
780>&nbsp;:</TD
781><TD
782WIDTH="80%"
783ALIGN="LEFT"
784VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +0000785> an xmlParserInputPtr input</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000786></TR
787></TABLE
788><P
789></P
790></DIV
791></DIV
792><HR><DIV
793CLASS="REFSECT2"
794><A
Daniel Veillard294cbca1999-12-03 13:19:09 +0000795NAME="AEN7426"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000796></A
797><H3
798><A
799NAME="XMLPARSERPRINTFILECONTEXT"
800></A
801>xmlParserPrintFileContext ()</H3
802><TABLE
803BORDER="0"
804BGCOLOR="#D6E8FF"
805WIDTH="100%"
806CELLPADDING="6"
807><TR
808><TD
809><PRE
810CLASS="PROGRAMLISTING"
811>void xmlParserPrintFileContext (<A
812HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
813>xmlParserInputPtr</A
814> input);</PRE
815></TD
816></TR
817></TABLE
818><P
819>Displays current context within the input content for error tracking</P
820><P
821></P
822><DIV
823CLASS="INFORMALTABLE"
824><P
825></P
826><TABLE
827BORDER="0"
828WIDTH="100%"
829BGCOLOR="#FFD0D0"
830CELLSPACING="0"
831CELLPADDING="4"
832CLASS="CALSTABLE"
833><TR
834><TD
835WIDTH="20%"
836ALIGN="RIGHT"
837VALIGN="TOP"
838><TT
839CLASS="PARAMETER"
840><I
841>input</I
842></TT
843>&nbsp;:</TD
844><TD
845WIDTH="80%"
846ALIGN="LEFT"
847VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +0000848> an xmlParserInputPtr input</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000849></TR
850></TABLE
851><P
852></P
853></DIV
854></DIV
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000855></DIV
856><DIV
857CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +0000858><BR
859CLEAR="all"><BR><TABLE
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000860WIDTH="100%"
861BORDER="0"
862BGCOLOR="#000000"
863CELLPADDING="1"
864CELLSPACING="0"
865><TR
866><TD
867WIDTH="25%"
868BGCOLOR="#C00000"
869ALIGN="left"
870><A
871HREF="gnome-xml-valid.html"
872><FONT
873COLOR="#FFFFFF"
874SIZE="3"
875><B
876>&#60;&#60;&#60; Previous Page</B
877></FONT
878></A
879></TD
880><TD
881WIDTH="25%"
882BGCOLOR="#0000C0"
883ALIGN="center"
884><FONT
885COLOR="#FFFFFF"
886SIZE="3"
887><B
888><A
889HREF="book1.html"
890><FONT
891COLOR="#FFFFFF"
892SIZE="3"
893><B
894>Home</B
895></FONT
896></A
897></B
898></FONT
899></TD
900><TD
901WIDTH="25%"
902BGCOLOR="#00C000"
903ALIGN="center"
904><FONT
905COLOR="#FFFFFF"
906SIZE="3"
907><B
908><A
Daniel Veillard35008381999-10-25 13:15:52 +0000909HREF="libxml-lib.html"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000910><FONT
911COLOR="#FFFFFF"
912SIZE="3"
913><B
914>Up</B
915></FONT
916></A
917></B
918></FONT
919></TD
920><TD
921WIDTH="25%"
922BGCOLOR="#C00000"
923ALIGN="right"
924><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000925HREF="gnome-xml-htmlparser.html"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000926><FONT
927COLOR="#FFFFFF"
928SIZE="3"
929><B
930>Next Page &#62;&#62;&#62;</B
931></FONT
932></A
933></TD
934></TR
935><TR
936><TD
937COLSPAN="2"
938ALIGN="left"
939><FONT
940COLOR="#FFFFFF"
941SIZE="3"
942><B
943>valid</B
944></FONT
945></TD
946><TD
947COLSPAN="2"
948ALIGN="right"
949><FONT
950COLOR="#FFFFFF"
951SIZE="3"
952><B
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000953>HTMLparser</B
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000954></FONT
955></TD
956></TR
957></TABLE
958></DIV
959></BODY
960></HTML
961>