Re: [xml] RFE: Schema-validation API



On Wed, Oct 29, 2003 at 11:25:38PM +1100, Steve Ball wrote:
Hi Daniel,

Please find attached a patch to add a new API as discussed
below.  The API has been tested via my own project,
but if you would like an additional patch for testschemas.c
let me know.

  Nahh, this looks simple enough, there is little room for errors,
except maybe the allocation strategy. Ideally freeing the context 
should not free the document since the document was provided by the
user. I don't know if this is worth noting or taking care of.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]