[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Error and Fatal Error

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

Re:  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
Saxonica


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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.