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

Re: To continue parsing after a fatal error.

  • From: Jeff Greif <jgreif@a...>
  • To: Joshua Allen <joshuaa@m...>,Anoop A V <anoop_scorpio@h...>, xml-dev@l...
  • Date: Tue, 23 Oct 2001 14:03:54 -0700

xml illegal fatal continue parsing
If the spec says it should be fatal, I agree, it should be treated as such.
It's also pretty easy to stream the text through an illegal-character filter
(on Unix or with cygwin installed on Win32, use the tr program) on the way
into the XML parser,
Jeff
----- Original Message -----
From: "Joshua Allen" <joshuaa@m...>
To: "Jeff Greif" <jgreif@a...>; "Anoop A V"
<anoop_scorpio@h...>; <xml-dev@l...>
Sent: Tuesday, October 23, 2001 1:17 PM
Subject: RE:  To continue parsing after a fatal error.


Actually, the invalid character error is per the XML 1.0 spec fatal.  If
Microsoft were to deviate from the W3C spec and make this ignorable, we
would deserve the roasting we would get at the merciless hands of
xml-dev list members.  The reasoning behind the rule is that it prevents
the spread of malformed XML, and thereby preserves interoperability.
This is a good and necessary reason, although it is not much consolation
when you are stuck trying to clean up bad XML.  We should have some
tools to make this easier..



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.