Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - XML Errors >Thread Next - Re: XML Errors Re: XML ErrorsTo: NULL Date: 7/2/2004 1:55:00 PM We deliberately fail to load any non-well-formed XML into the Microsoft XML components (MSXML or System.Xml) for the important reason that mission critical data processing would then become unpredictable, resulting in possible data loss, or even data corruption. I would strongly encourage your XML source to fix their XML, since it will probably be rejected from all XML processing components across the industry, for the same reason. "Tim Fitzgerald" <tjfitz68@y...> wrote in message news:%23tGAXn6XEHA.3044@T...... > Hello everyone, > > I have an XML file, which I have no control over, that contains an error > towards the end of the document. Prior to this problem, I was processing the > XML file using a XSL template with no problems. > > The section of the XML file that I need is intact and correct .. Since there > is an error, it will not completely process. How do I ignore that and still > be able to pull the information from the section I need? > > Quick example of the XML layout: > > <root> > <section1> > <info>Blah Blah</info> > </section1> > <section2> > <info>Blah Blah</info> > <section2> > </root> > > There would be a section3, section4, etc, etc.. Let's say section2 is intact > but section99 is missing some info. When I say missing some info, I mean > that it's missing some info that my XSL template expects.. so it fails. > > Hopefully I'm making sense. > > Thanks, > > Tim | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
