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

  • From: Mike Sokolov <sokolov@i...>
  • To: Joe Fawcett <joefawcett@h...>
  • Date: Wed, 20 Jul 2011 17:24:51 -0400

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?

-Mike

On 07/16/2011 11:47 AM, Joe Fawcett wrote:
> Dear List Members
>
> I'm writing a short introduction to XML and would like to have a good 
> example of each of the above that doesn't require too much background 
> knowledge. So far I've covered the basics of a well-formed document, 
> creating elements and attributes. I've shied away from the intricacies 
> of DTDs as they are covered in a separate article. Namespaces are also 
> to be covered later so any examples would preferably be unrelated to 
> either of these two areas.
>
> According to the XML specification a processor may recover from an 
> error that's not described as fatal although in my experience most 
> parsers don't try to do this, would I be wrong here? - and if so what 
> would an example be for something like Saxon or one of the netter 
> known parsers?
>
> Thanks
>
> Joe
>
>


[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