Re: [xml] Schema caching



On Mon, Oct 19, 2009 at 05:13:50PM +0200, Hotmail wrote:
Hello,

Does libxml2 have XML Schema/grammar  caching? For example: load 1.xsd once
and from now on test incoming XML instances against the cached and parsed
schema.

  an xmlSchemaPtr can be reused as many time as you need. Somehow it
seems you didn't looked at the API, schema compilation and use are
clearly distinct operations.

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/



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