Re: [xml] schema: useful error infoemation?
- From: Stefan Weigert <Stefan Weigert mailbox tu-dresden de>
- To: xml gnome org
- Subject: Re: [xml] schema: useful error infoemation?
- Date: Fri, 21 Jul 2006 15:36:54 +0200
At the time of the validation, only the line number associated to node
are available, column informations can't be provided and probably don't
make a lot of sense.
Daniel
ok. you are right ;) but where do i get the line number from? there is nothing
said about it - neither in the doc nor in the tests...
the 1866 i mentioned was the return value of "xmlSchemaValidateDoc(...)" and
this cannot be the line number.
the (const char *msg) parameter of my error-function, set through
"xmlSchemaSetValidErrors(...)", doesn't seem to contain anything - at least i
can't print it using "printf("%s",msg)". the print-out is always "%s" which is
strange and makes me wonder if i use it right...
well. thanks for your response and patience (with me) in advance ;)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]