On Thu, Oct 11, 2007 at 10:13:50PM -0700, mayur k wrote: > > Hi, > Thanks for the reply. > I have set the option like this: > xmlCtxtUseOptions(m_context, XML_PARSE_DTDLOAD);
Could you take the time to look at the options documentation ? http://xmlsoft.org/html/libxml-parser.html#xmlParserOption Loading the DTD does not imply validating ! BTW this documentationis not hidden ! I got to that place as the very first hit when using XML_PARSE_DTDLOAD in the xmlsoft.org search. Daniel -- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel Veillard | virtualization library http://libvirt.org/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml