Re: [xml] bug in valid.c

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@imag.fr)
Date: Wed Feb 07 2001 - 13:21:48 EST


> I've found what I think is a bug in the xmlValidateOneAttribute
> function. When checking for validity the routine does not detect that an
> error has been flagged for a duplicate ID or non existent ref without
> this patch. Thus invalid documents, although reported as such by the
> error and warning functions, are not reported as invalid by the
> xmlValidateDocument (etc... ) routines.

  Good catch !
Right the error message is not sufficient :-\

  thanks, patched, will commit !

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard@redhat.com  | libxml Gnome XML toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Feb 07 2001 - 14:46:04 EST