AElfred and External Entities (was Re: Partial XML Processors)

David Megginson (ak117@freenet.carleton.ca)
Sat, 17 Jan 1998 07:27:33 -0500


Peter Murray-Rust writes:

> Note that Lark and AElfred both throw errors for
> <!DOCTYPE FOO SYSTEM "bar.dtd">
> if bar.dtd cannot be found. This is reasonable (though frustrating) since
> bar.dtd can alter the information in the document.

Actually, AElfred gives you a hook for this: if you set the
resolveEntity handler to return null for "bar.dtd", AElfred will not
attempt to resolve the URL.

All the best,

David

-- 
David Megginson                 ak117@freenet.carleton.ca
Microstar Software Ltd.         dmeggins@microstar.com
      http://home.sprynet.com/sprynet/dmeggins/

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