Re: SAX: XML Declaration
James Clark (jjc@jclark.com)
Sun, 19 Apr 1998 11:48:33 +0700
David Megginson wrote:
>
> Here's another last-minute SAX question.
>
> I have avoided providing information about the XML declaration,
> considering it strictly a lexical matter; however, since we are
> allowing applications to do their own entity resolution, should they
> have access to the value of the 'standalone' pseudo-attribute (if
> specified)?
Definitely not. In my view the whole idea of having resolveEntity
return null to prevent inclusion of entities is a bad one. There needs
to be better control over entity inclusion in SAX, but this is not an
effective way to provide it.
James