List Info

Thread: schema: useful error infoemation?




schema: useful error infoemation?
user name
2006-07-21 13:36:54
>   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 ;)
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xmlgnome.org
http://mai
l.gnome.org/mailman/listinfo/xml
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )