Saturday, August 25, 2007, 5:15:01 AM, Jim Hinds wrote:

> I have tried to use the XML editor on several more or less
> arbitrary samples of xml.? Unfortunatly, there always seems to be
> some snafu or other that prevents loading or opening the xml file.

I don't know what projects or companies are you are working for, but
it's sad if they are unable to maintain their XML-s valid. Surely its
a tradition to write invalid or even not-well-formed *HTML-s*, but not
so with XML-s, fortunately. Because nearly all application that uses
XML-s simply can't open non-well-formed XML-s (because XML parsers
stop with error with them), and has no "heuristics" to interpret
well-formed but invalid XML either. This is unlike with HTML browser,
which are written to cope with whatever wild "tag soup"-s. So, if your
XML-s are not valid, then it's definitely time to fix them and switch
to a tool that help the guys keep them so. Until the XML is not even
well-formed, surely you will have to use VI or JEdit or some other
plain-text editor to fix that.

> It is impossible to get a 'value' reading from using the editor
> since it fails in the real-world examples.

Well, there are such issues, i.e., that some XML-s has to be made with
XXE in mind to be displayed correctly in XXE, but that has nothing to
do with non-well-formed (or invalid) XML-s that you seem to have
problems with right now.

-- 
Best regards,
 Daniel Dekany


Reply via email to