Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Resolving entities using MSXML [Thread Next] Re: Resolving entities using MSXMLTo: NULL Date: 5/5/2009 7:51:00 PM mikeidge@g... wrote: > The XML document I'm reading is completely valid, so I don't expect > any errors to be reported by the parser. Indeed, this is the case if I > let the parser go online to get the DTD files by leaving the pvarInput > VARIANT pointer NULL in the resolveEntity(...) callback. However, as > soon as I try to supply the parser with the text of the identical DTDs/ > MODs sourced from my local disk, I get the following error: "incorrect > document syntax", which, apparently, occurs on the first line of the > XML file. This doesn't happen for all of the DTD files though; in the > case I'm trying to debug, the first DTD it asks for works with no > problems, but I get the error as soon as it tries to use the second > MOD file it asks for. What's a "MOD file" exactly? Are you sure MSXML supports that file format? As for using MSXML with C++, I am afraid I can't help with that. You might want to try http://social.msdn.microsoft.com/Forums/en-US/msxml/threads/ instead as some people are around there helping with MSXML and C++ issues. -- Martin Honnen --- MVP XML http://msmvps.com/blogs/martin_honnen/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
