[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Additional syntactic restrictions






Chris Lilley wrote:


On Wednesday, June 19, 2002, 3:21:09 AM, Martin wrote:


MD> At 20:20 02/06/17 -0700, Tim Bray wrote:




Martin Duerst wrote:

<snip>

MD> and
MD> you may be able to tell a parser, but then you can't distinguish
MD> between a forbidden encoding and broken syntax.

Its as simple as looking for the encoding pseudo-attribute on the xml
declaration.

I do not know of anything within the XML recommendation which requires the application to pass a XML declaration through, meaning an XML parser does not neccessarily provide this encoding information to the application.

-David Waite