Microsoft's MSXML will validate against a DTD. But you have to use DOM. Their SAX parser only validates against XMLSchema's.
Joe
>
> From: Eliasen Jan <>
> Date: 2004/01/09 Fri AM 06:24:39 EST
> To: "''" <>
> Subject: [xml-dev] c++ validating parser for xml
>
> Hi
>
> I need to write a C++ program that takes an xml-document as input, and
> checks that it is valid xml and also validates the xml against a DTD.
>
> Does anyone have any ideas where to search? I have searched Google
> (naturally) and found xercesc, but that seems to be quite a package, and
> definately a lot more than I need, I suppose? Most others I have found claim
> to be non-validating. There will not be a DOCTYPE-declaration in my
> xml-files.
>
> Any help is appriciated.
>
> Thanks
>
> Jan Eliasen
>
>