Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XML Errors

From: "Chris Lovett" <clovett@---------.---.--_---->
To: 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




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent