Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Loading XML [Thread Next] Re: Loading XMLTo: NULL Date: 2/24/2009 9:26:00 AM "JG" <jgeissman@s...> wrote in message news:MPG.240d1c9256d18b5b98968b@n...... > I'm updating a C++ app from VS2003, using MSXML6. XML isn't one of my > primary languages, so I'm having trouble with what is probably a very > simple matter. > > I get XML replies from a web service that begin with <?xml ... ?> and > then <! DOCTYPE ... > before we get to the root. As long as those two > are present, it refuses to load. I can remove them from the string > easily enough and then it loads, but I can't believe there isn't some > parameter I could set that would cause them to be ignored. Is there? > > I'm embarrassed to ask such a simple question. It refuses to load? Because it throws an error? It doesn't parse properly (check parseError property)? Its just empty for no apparent reason at all? If you remove the DOCTYPE alone does it load then? Is there whitespace preceeding the ?xml declaration? Does the ?xml declaration contain an encoding attribute? What is its value? -- Anthony Jones - MVP ASP/ASP.NET | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
