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

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to