Re: [xml] XML DTD validation for push parsers?
- From: Daniel Veillard <veillard redhat com>
- To: mayur k <mayur_ruk yahoo com>
- Cc: xml gnome org
- Subject: Re: [xml] XML DTD validation for push parsers?
- Date: Fri, 12 Oct 2007 05:27:29 -0400
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]