Re: Full Disclosure: What The XML Processor Must Tell The XML Application

John Cowan (cowan@locke.ccil.org)
Fri, 06 Nov 1998 09:55:57 -0500


david@megginson.com wrote:

> > 10. An XML processor (necessarily a non-validating one) that does
> > not include the replacement text of an external parsed entity
> > in place of an entity reference must notify the application that
> > it recognized but did not read the entity (4.4.3) [SAX does not
> > provide for this]
>
> SAX offloads this responsibility to the application using the
> EntityResolver interface.

But there's no way for the application to tell the parser
"Don't read this entity." Returning an InputSource on the null
string is similar, but not identical, in effect.

-- 
John Cowan	http://www.ccil.org/~cowan		cowan@ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)