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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]