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

John Cowan cowan at locke.ccil.org
Fri Nov 6 14:55:01 GMT 1998


david at 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 at 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)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list