Re: [xml] XML DTD validation for push parsers?



On Fri, Oct 12, 2007 at 12:55:49AM -0700, mayur k wrote:
Okay,so I added the right option to load and validate the DTD but still the problem persists. 
This is how I set it: 
xmlCtxtUseOptions(m_context, XML_PARSE_DTDLOAD | XML_PARSE_DTDVALID); 
--eminemence. 

  That works for xmllint. We can't magically guess what you did wrong.
xmllint.c code works. it's available, in source, fully, you can even
run it and debug it, if you can't get your code to work copy the
code from xmllint !

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
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]