SAX2: Proposed alternative DTD interface

David Megginson david at megginson.com
Sat Mar 27 20:11:41 GMT 1999


MikeDacon at aol.com writes:

 > Although most DTDs will be short, it seems that the event-based
 > interface will still be beneficial for large DTDs and
 > small-footprint applications that cannot afford the memory of
 > receiving the entire DTD implementation object.

It's worthwhile, perhaps, to ask whether there will be many XML
applications that

a) require a small footprint;
b) need DTD information; and
c) can use the information in a streaming format.

Any kind of DTD-driven editing tool needs to store the DTD in some
kind of a persistent structure, and I imagine that most XML processing 
on small clients will not worry much about DTDs at all.

To continue playing devil's advocate (since I don't really know which
alternative I prefer), I'll also point out that even the largest DTDs, 
like TEI or DocBook, would measure their memory requirements in
kilobytes rather than megabytes; and even-based API makes sense for
the document itself because there is not known limit to an XML
document's size.


All the best,


David

-- 
David Megginson                 david at megginson.com
           http://www.megginson.com/

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/ and on CD-ROM/ISBN 981-02-3594-1
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