OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Error and Fatal Error

On 20/07/2011 22:24, Mike Sokolov wrote:
> Your posting seemed to have generated a lot of heat, but very little 
> light.  I think a few folks commented on the original question, but it 
> was hard to filter out of the other discussion.  My experience is 
> exactly yours: although the XML spec seems to leave open the 
> possibility of handling nonfatal errors, in practice most XML parsers 
> simply reject non-XML documents as soon as they encounter an error of 
> any sort.  I'm not sure I can think of even a single example of a 
> non-fatal error generated by any real XML parser.  Did I miss one in 
> all the foregoing comments?

To repeat what I've said several times on this thread, the job of an XML 
parser is to parse XML. If you want to repair non-XML, look for a tool 
that does that. Googling for "xml repair tool" finds lots of products; 
none of them call themselves XML parsers, because their very strength is 
their ability to handle stuff that isn't XML.

Michael Kay

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS