[Home] [By Thread] [By Date] [Recent Entries]

  • From: Michael Kay <mike@s...>
  • To: xml-dev@l...
  • Date: Wed, 20 Jul 2011 22:47:51 +0100

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
Saxonica


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


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member