Re: [xml] XML DTD validation for push parsers?
- From: mayur k <mayur_ruk yahoo com>
- To: Stefan Behnel <stefan_ml behnel de>
- Cc: xml gnome org
- Subject: Re: [xml] XML DTD validation for push parsers?
- Date: Fri, 12 Oct 2007 00:55:49 -0700 (PDT)
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 <stefan_ml behnel de>
To: mayur k <mayur_ruk yahoo com>
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 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.
Stefan
____________________________________________________________________________________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
http://mobile.yahoo.com/go?refer=1GNXIC
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]