- From: John Cowan <cowan@ccil.org>
- Date: Tue, 17 Nov 2009 14:23:48 -0500
- To: Boris Zbarsky <bzbarsky@MIT.EDU>
- Cc: Liam Quin <liam@w3.org>, public-html@w3.org, public-xml-core-wg@w3.org
Boris Zbarsky scripsit: > On 11/17/09 1:56 PM, Liam Quin wrote: > >To amplify a little... the XML Spec says (in essence) > >that software that takes something (anything at all) > >that is not well-formed XML, can turn it into XML, but, > >if it does, it must not claim that the original input > >was XML. > > > >If a document is not well-formed, the XML specification > >does not apply to it - it's not XML. > > It applies to the extent that something that claims to be an XML > processor Clearly, the kind of software Liam is speaking of wouldn't claim to be an XML parser. > must report an error to the application and abort processing, Technically it doesn't have to simply abort: it can return unprocessed information to the application. In practice, all libraries I know of do simply abort. -- You let them out again, Old Man Willow! John Cowan What you be a-thinking of? You should not be waking! cowan@ccil.org Eat earth! Dig deep! Drink water! Go to sleep! Bombadil is talking. http://ccil.org/~cowan
Received on Tuesday, 17 November 2009 19:24:23 UTC