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); 

  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 !


Red Hat Virtualization group
Daniel Veillard      | virtualization library
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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