Re: [xml] DTD Validating



On Sat, May 29, 2010 at 01:07:34AM +0200, mr.trent wrote:
hi,
it is possible to use DTD Validating with ChunkParisng?
How do i set the DTD explizit to a xmlParserCtxt?

  No, DTD validation is defined only as an operation on document wide
scope, and libxml2 doesn't try to expose limited validation of smaller
chunk. In general libxml2 chunks also mean arbitrary range of characters
on the document, that doesn't even match structural ranges in the
document so in that case it really doesn'[t make sense to validate at
that level.

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]