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

2007-10-12 Thread Daniel Veillard
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.

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

2007-10-12 Thread Daniel Veillard
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

Re: [xml] Line numbers stored by libxml2

2007-10-12 Thread Daniel Veillard
On Thu, Oct 11, 2007 at 07:53:08PM +0200, Mike Hommey wrote: > On Wed, Oct 10, 2007 at 11:33:00AM +0200, Mike Hommey wrote: > > On Wed, Oct 10, 2007 at 04:57:46AM -0400, Daniel Veillard <[EMAIL > > PROTECTED]> wrote: > > > On Tue, Oct 09, 2007 at 07:43:36PM +0200, Mike Hommey wrote: > > > > Hi, >

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

2007-10-12 Thread mayur k
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. - Original Message From: Stefan Behnel <[EMAIL PROTECTED]> To: mayur k <[EMAIL PRO