SDD bogus

James Clark jjc at jclark.com
Sat May 9 06:48:41 BST 1998


David Megginson wrote:
 
> As many XML parser writers have shown, resolving external entities is
> one of the easiest parts of XML

It depends what sort of API your parser has.  If it has an API like SAX
(or Aelfred or XP) where the parser makes calls to get input, it is
indeed easy.  But that sort of API is not what is needed for convenient
integration in Web browsers (at least not for Netscape). They need an
API like expat's where the parser never blocks waiting for input, but
instead the browser makes calls on the parser giving it input as it
becomes available.  Expat doesn't support parsing of external entities
at all at the moment.  I suspect it would be possible to make it support
external general entities, and I'll probably do that at some point. It
wouldn't be practical to support external parameter entities or external
DTD subsets without switching to a different kind of API which be less
convenient for Web browser integration.

James



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