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.
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-parse
lt;[EMAIL PROTECTED]>
Cc: xml@gnome.org
Sent: Friday, October 12, 2007 11:50:59 AM
Subject: Re: [xml] XML DTD validation for push parsers?
mayur k wrote:
> I have set the option like this:
> xmlCtxtUseOptions(m_context, XML_PARSE_DTDLOAD);
> But the parser does not seem to com
mayur k wrote:
> I have set the option like this:
> xmlCtxtUseOptions(m_context, XML_PARSE_DTDLOAD);
> But the parser does not seem to complain about junk tags & wrong sequence of
> tags at all and says that the document is valid.
"loading a DTD" != "validating".
Check the parse options.
S
niel Veillard <[EMAIL PROTECTED]>
To: mayur k <[EMAIL PROTECTED]>
Cc: xml@gnome.org
Sent: Thursday, October 11, 2007 8:16:06 PM
Subject: Re: [xml] XML DTD validation for push parsers?
On Thu, Oct 11, 2007 at 05:42:31AM -0700, mayur k wrote:
>
>Hi All,
>I would like to k
On Thu, Oct 11, 2007 at 05:42:31AM -0700, mayur k wrote:
>
>Hi All,
>I would like to know if DTD validation for push parsers is disabled by
>default.
validation is never enabled by default you have to request it.
>I have tried passing a complete xml buffer and then setting opti
Hi All,
I would like to know if DTD validation for push parsers is disabled by default.
I have tried passing a complete xml buffer and then setting options to load dtd
and validate the document.
But the parser does not seem to validate the document and is parsing even a
document which has non-con